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-03-14T16:49:28.618Z",
  "id": "8061c040-af49-4d08-a5cf-b6ddc5119fe0",
  "is_valid": false,
  "label": "qKC9TZHSSDDgd8O",
  "token": "Oj",
  "updated_at": "2025-03-14T16:49:28.618Z",
  "user_id": "13931e00-e9a7-4f66-a457-21f1e3a63fcd"
}