DocsAPI referenceClient
What the client token may still do
Its id, chain and expiry, the uploads its chain has created against its grant, and the jobs it may read.
GET /v1/client/token
Needs an API key: Authorization: Bearer $VIDEXO_API_KEY.
Request
bash
curl "$VIDEXO_API_URL/v1/client/token" \
-H "Authorization: Bearer $CLIENT_TOKEN"Copy failed. The text is selected; copy it with your keyboard.
JavaScript
const response = await fetch(`${process.env.VIDEXO_API_URL}/v1/client/token`, {
headers: { Authorization: `Bearer ${clientToken}` },
});
const token = await response.json();Copy failed. The text is selected; copy it with your keyboard.
Response
200 JSON
{
"id": "ct_4m8x2k9q0c3v7n1r5t6b2z8w",
"chain_id": "ct_4m8x2k9q0c3v7n1r5t6b2z8w",
"expires_at": "2026-11-04T12:15:00.000Z",
"uploads": {
"max_count": 1,
"max_size_bytes": 50000000,
"content_types": [
"video/*"
],
"used": 0
},
"jobs": {
"read": [
"job_3k9x0c2mfq8w1n7r5t4b6v2z"
]
}
}Copy failed. The text is selected; copy it with your keyboard.
Responses
| Status | Body | When |
|---|---|---|
| 200 | ClientTokenInfo | The token. |
| 401 | Problem | authentication_failed (missing_client_token, invalid_client_token, client_token_expired, client_token_superseded, client_token_revoked) |
| 403 | Problem | permission_denied (client_token_required, token_scope, origin_not_allowed, account_disabled) |
| 429 | Problem | rate_limited, with Retry-After in seconds |