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-08-14T21:14:17.245Z",
  "id": "9439361f-6f64-4491-aee3-5c0af365ddad",
  "is_valid": true,
  "label": "q5UOjPBO0Ab2hH6tyLK1OYT4nWSnS",
  "token": "qmGUS0FmxWRMPzB0s6xRSMJ04",
  "updated_at": "2025-08-14T21:14:17.245Z",
  "user_id": "64f742ed-6a2e-4a85-a69e-c306487d14c4"
}