melonly logomelonly logo
melonly logo
Dashboard
Log in

Get a Roblox Account From Discord

Gets the Roblox account linked to a Discord user.

GET

/api/v1/verification/discord/{discordId}/roblox

Request

curl -X GET "https://api.melonly.com/api/v1/verification/discord/{discordId}/roblox" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

Success

{
  "data": {
    "createdAt": 1712000000000,
    "headShotImage": "https://tr.rbxcdn.com/avatar-headshot.png",
    "lastUpdatedAt": 1794000000000,
    "name": "Builderman",
    "nickname": "Builderman",
    "preferredUsername": "Builderman",
    "profile": "https://www.roblox.com/users/156/profile",
    "robloxCreatedAt": 1154000000,
    "robloxId": "156",
    "userId": "7308965405773533184"
  }
}

Authorization

Authorizationstringrequired
Your API token as Bearer YOUR_TOKEN. Create one in your server's dashboard settings.

Path parameters

discordIdstringrequired

Response

200 Success

createdAtintegerrequired
When the accounts were linked.
lastUpdatedAtintegerrequired
When the link was last refreshed.
robloxIdstringrequired
Roblox user ID.
userIdstringrequired
Melonly user ID.
headShotImagestring | null
Roblox avatar headshot URL.
namestring | null
Roblox username.
nicknamestring | null
Roblox display name.
preferredUsernamestring | null
Roblox preferred username.
profilestring | null
Roblox profile URL.
robloxCreatedAtinteger | null
When the Roblox account was created, in Unix seconds.

Errors

StatusMeaning
400Invalid request. validation_failed lists each invalid field in details.fields.
401Missing, invalid or expired token
404Not found
429Rate limited. See Retry-After and details.
500Internal server error