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-06-13T18:05:58.029Z",
  "id": "be9d1813-c514-4c85-b7d9-fad6ca1521cf",
  "is_valid": true,
  "label": "Q",
  "token": "zNHi",
  "updated_at": "2025-06-13T18:05:58.029Z",
  "user_id": "f0c5601e-6778-431c-9b10-e9148f092c7d"
}