melonly logomelonly logo
melonly logo
Dashboard
Log in

Get a Discord Account From Roblox

Gets the Discord account linked to a Roblox user. If several Melonly users have linked the same Roblox account, you get the one linked most recently.

GET

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

Request

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

Response

200

Success

{
  "data": {
    "providerAccountId": "1043254628961792060",
    "userId": "7308965405773533184"
  }
}

Authorization

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

Path parameters

robloxIdstringrequired

Response

200 Success

providerAccountIdstringrequired
Discord user ID.
userIdstring | null
Melonly user ID.

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