API → Meta → Get an API token for a user by their discord idhidden
hidden
Parameters
Name
Type
Req.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject 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-11-20T19:29:29.457Z",
"id": "905d67cf-502d-47e1-9f94-dbee83ffe8b3",
"is_valid": true,
"label": "z7l9JR0OU2zKBkVYegucI6",
"token": "E",
"updated_at": "2024-11-20T19:29:29.457Z",
"user_id": "d8e6f015-086f-4437-ad06-132c41cd6f41"
}