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-30T19:21:29.610Z",
  "id": "0dc661e4-3167-43e7-802f-6b959d18aa1a",
  "is_valid": false,
  "label": "v3OQ7GPidEc46T",
  "token": "afgNkzC6Pqrllhr9",
  "updated_at": "2025-06-30T19:21:29.610Z",
  "user_id": "f51598d3-4d2a-403b-8d4d-79c98348f0d8"
}