Skip to main content

Database API Authentication

All requests to the Database API must be authenticated using an API key issued to the agent. Agents are typically issued a pre-shared key when they are added to an organization — this key is required for all API interactions.

How to Authenticate

Include the API key in your request header:

Header

X-AGENT-API-KEY: your-api-key-here

Example (using curl):

curl -X GET https://api.telex.im/api/v1/database/your-endpoint \
-H "X-AGENT-API-KEY: tlx-agent-abc123xyz"

Common Authentication Errors

Status CodeMessageMeaningSuggested Fix
401invalid API keyProvided key is incorrect or expiredVerify the API key and header format
401API key not found / missingNo API key provided in the request or the name does not match X-AGENT-API-KEYAdd X-AGENT-API-KEY header with key
403unauthorized accessKey is revoked or lacks required permissionsContact your admin or rotate your key

Need Help?

If you are unsure about your API key or have lost access, contact your integration lead or the Telex support team.