Skip to main content
GET
Look up Roblox by Discord ID
Use GET /v2/discord to look up a Roblox account linked to a Discord account.

Request

Authenticate from your backend with a Dock API key. Supply the Discord ID as a string in the discordId query parameter.
A different guildId does not grant access to another server. Follow the scope assigned to your key.

Response handling

Check the HTTP status. Successful v2 JSON responses contain status, data, meta, and timestamp. Treat Discord and Roblox IDs as strings. A missing link returns LINK_NOT_FOUND with HTTP 404. Invalid input, authentication failures, access restrictions, and rate limits are different failures; do not treat them as an unlinked account. Provider profile details can be cached or unavailable. A username or avatar refresh does not create or change an account link. See authentication and scope, key security, and the migration checklist.

Authorizations

Authorization
string
header
required

Dock API key. Send Authorization: Bearer <api key>.

Query Parameters

discordId
string
required

Discord user ID.

Pattern: ^\d+$
Example:

"123456789012345678"

guildId
string

Discord guild ID. Required for guild-scoped API keys.

Pattern: ^\d{5,32}$
Example:

"987654321098765432"

resolved
boolean
default:false

Return expanded Discord or Roblox profile data. Requires Premium when true.

Response

Linked Roblox account found.

status
integer
required
Example:

200

data
object
required

Endpoint-specific response payload.

meta
object
required
timestamp
string<date-time>
required