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-04T14:09:52.496Z",
  "id": "9a437ea6-164f-4167-9c52-0a69ca554db2",
  "is_valid": false,
  "label": "RY588x9V0gPTb1u1O",
  "token": "es4IDzwJ",
  "updated_at": "2025-07-04T14:09:52.496Z",
  "user_id": "f18c308e-7f15-411c-8eb7-d9fb9cd9afc0"
}