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-04-21T20:01:13.608Z",
  "id": "e362fe59-4c68-41a9-b83d-74819821204e",
  "is_valid": false,
  "label": "qvI1VdeFnmg3Og3dhHPsK4IRWHa5qa",
  "token": "aOWQO8qjl82o",
  "updated_at": "2025-04-21T20:01:13.608Z",
  "user_id": "8e0a902d-6771-4b5b-aa16-b812fa9b7164"
}