Create user link
curl --request POST \
--url https://api.duckybot.xyz/links \
--header 'Roblox-Code: <roblox-code>' \
--header 'Token: <token>'{
"code": 200,
"message": "Discord user '@troptopreal' successfully linked with Roblox user '@troptopreal'.",
"data": {
"discord": {
"username": "troptopreal",
"name": "Troptop",
"id": "598958193032560642",
"avatar": "https://cdn.discordapp.com/avatars/598958193032560642/b4a9105d349cc3e9c3d5c0d3b24adbb8.png"
},
"roblox": {
"name": "troptopreal",
"displayName": "Troptop",
"id": 1038671897,
"avatar": "https://t4.rbxcdn.com/30DAY-AvatarHeadshot-7E3036777BDD02D485E0A0CCC240BDCC-Png",
"description": "colombiano ☕💖",
"profile": "https://roblox.com/users/1038671897/profile",
"hyperlink": "[troptopreal](<https://roblox.com/users/1038671897/profile>)",
"verified": false,
"banned": false,
"created": 1555162890.283
}
}
}
Data Endpoints
Create user link
Create a new link between a Discord and Roblox user.
POST
/
links
Create user link
curl --request POST \
--url https://api.duckybot.xyz/links \
--header 'Roblox-Code: <roblox-code>' \
--header 'Token: <token>'{
"code": 200,
"message": "Discord user '@troptopreal' successfully linked with Roblox user '@troptopreal'.",
"data": {
"discord": {
"username": "troptopreal",
"name": "Troptop",
"id": "598958193032560642",
"avatar": "https://cdn.discordapp.com/avatars/598958193032560642/b4a9105d349cc3e9c3d5c0d3b24adbb8.png"
},
"roblox": {
"name": "troptopreal",
"displayName": "Troptop",
"id": 1038671897,
"avatar": "https://t4.rbxcdn.com/30DAY-AvatarHeadshot-7E3036777BDD02D485E0A0CCC240BDCC-Png",
"description": "colombiano ☕💖",
"profile": "https://roblox.com/users/1038671897/profile",
"hyperlink": "[troptopreal](<https://roblox.com/users/1038671897/profile>)",
"verified": false,
"banned": false,
"created": 1555162890.283
}
}
}
{
"code": 200,
"message": "Discord user '@troptopreal' successfully linked with Roblox user '@troptopreal'.",
"data": {
"discord": {
"username": "troptopreal",
"name": "Troptop",
"id": "598958193032560642",
"avatar": "https://cdn.discordapp.com/avatars/598958193032560642/b4a9105d349cc3e9c3d5c0d3b24adbb8.png"
},
"roblox": {
"name": "troptopreal",
"displayName": "Troptop",
"id": 1038671897,
"avatar": "https://t4.rbxcdn.com/30DAY-AvatarHeadshot-7E3036777BDD02D485E0A0CCC240BDCC-Png",
"description": "colombiano ☕💖",
"profile": "https://roblox.com/users/1038671897/profile",
"hyperlink": "[troptopreal](<https://roblox.com/users/1038671897/profile>)",
"verified": false,
"banned": false,
"created": 1555162890.283
}
}
}
Headers
The Ducky session token of the user.
The Roblox OAuth2 access code of the user.
Response Data
The Roblox player associated with this link.
Show properties
Show properties
The player’s username.
The player’s display name.
The player’s ID.
The player’s avatar URL.
The player’s description/bio.
A link to the player’s profile.
A hyperlink to the player’s profile, where the label is the player’s username.
Whether or not the player is verified on Roblox.
Whether or not the player is banned from Roblox.
An epoch timestamp (in seconds) representing when the player’s account was created.
⌘I