API → MetaGet 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-04-25T16:38:52.618Z",
  "id": "64f4222b-d30a-4875-a50a-b6a786ec4133",
  "is_valid": true,
  "label": "Rb8Vst",
  "token": "TiD2",
  "updated_at": "2025-04-25T16:38:52.619Z",
  "user_id": "3565682a-084a-4bbf-8c45-1f512b05a9a8"
}