AI Gateway
Create gateway token key
Changed onCreate gateway token key within the authenticated Telnyx account. Foreign and unknown resource IDs return the same 404 response. The token secret is returned only on the original create response. A replay returns metadata without the secret. Provisioning is advisory; ready is not a guarantee of inference availability.
post/llm_token_gateway/token_keys
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/llm_token_gateway/token_keys
- Auth: HTTP bearer
Headers
Idempotency-Keystring required
24h, scoped by account+method+path. Same key/body returns same outcome; changed body 409; in-progress 409 with Retry-After. Token-create replay returns 200 metadata WITHOUT secret.
Request body
Response
Idempotency replay: metadata only; lost create response requires revoke/new create.
Changes
- info
endpoint added
- info