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": "2024-10-18T02:48:16.532Z",
  "id": "48646435-083d-4a57-bd64-564dcce477f9",
  "is_valid": true,
  "label": "MKb",
  "token": "ynump8xh0uhh053qoWxU",
  "updated_at": "2024-10-18T02:48:16.532Z",
  "user_id": "cebfe02e-3126-4ea1-8379-6e909c3761e8"
}