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-07T20:43:12.928Z",
  "id": "6ef2775f-e900-4cca-9e3c-7ef30d0c1a42",
  "is_valid": false,
  "label": "QUo",
  "token": "",
  "updated_at": "2025-01-07T20:43:12.928Z",
  "user_id": "ba9f6011-8e5d-4371-9357-8922da8fa5b1"
}