APIMetaGet an API token for a user by their discord id
hidden

Parameters

Name

Type

Req.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
get
/internal/discord/api-token/{discord_id}
$ curl "https://api.zoo.dev/internal/discord/api-token/{discord_id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "created_at": "2025-07-03T15:41:24.356Z",
  "id": "f1968ebe-717f-4275-9fa0-22b30d5eadee",
  "is_valid": false,
  "label": "yKD6pYX1pOIu25KHgUuGcf4U",
  "token": "VdQmu7XP4dH8RHKLF",
  "updated_at": "2025-07-03T15:41:24.356Z",
  "user_id": "96f2f9a1-f001-480a-b16d-8f4b02d33dba"
}