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-05-22T02:03:34.339Z",
  "id": "03b555e8-13d7-4d8c-a27a-228fd5f5110b",
  "is_valid": true,
  "label": "d1xa",
  "token": "nsyrOqTXBct49jU98mQ",
  "updated_at": "2025-05-22T02:03:34.339Z",
  "user_id": "525ad340-28a3-4991-997f-d28dd44d43d4"
}