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-01-09T18:25:35.329Z",
  "id": "4753d749-f346-4ba6-ae03-bde94f721e85",
  "is_valid": false,
  "label": "FCer",
  "token": "ymnnG0jMU1iJIA01t2vduWqcDWyML5",
  "updated_at": "2025-01-09T18:25:35.329Z",
  "user_id": "84ace63e-1c72-4aaf-b236-59af23f67062"
}