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-07-27T01:15:42.843Z",
  "id": "ca7fdcc1-8810-40ed-bc6e-3afc18729071",
  "is_valid": false,
  "label": "cE",
  "token": "znLJEBw9",
  "updated_at": "2024-07-27T01:15:42.843Z",
  "user_id": "8469fa55-1d81-44fa-98ac-3aa02f163c88"
}