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-12-06T17:02:16.080Z",
"id": "a919fc1c-1796-45ed-ada2-0b1aa39103d3",
"is_valid": false,
"label": "AhlNzehUq0rga2SXyb8TCjKUU",
"token": "",
"updated_at": "2024-12-06T17:02:16.080Z",
"user_id": "a96ca3d1-276e-4cff-9537-cc3789f849ca"
}