Skip to main content

AI API Authentication

All requests to Telex AI require an API key for secure access. This key should be included in the request headers of every API call.

Visit Authentication to learn how to get your API key.

Usage Format

All authenticated requests include this header:

Header:

X-AGENT-API-KEY : your-key

Example (using curl)

curl -X GET https://api.telex.im/api/v1/telexai/models \
-H "X-AGENT-API-KEY: 123xyz"
note

Never share your agent key in public code or frontend applications.

Common Authentication Errors

Status CodeMessageMeaningSuggested Fix
401invalid API keyMissing, incorrect, or inactive keyVerify your agent key and header formatting
403API key not foundAPI key was not provided or was not specified as X-AGENT-API-KEYVerify that the key is provided and specified as X-AGENT-API-KEY

🔗 What’s Next?

Now that you know how to authenticate your request:

Need Help?

If you're unsure about your agent key or have lost access, reach out to your integration lead or the Telex support team.