API
AgentixCRM API authentication
Create, store, and rotate AgentixCRM API keys.
- 1
Create a key
In AgentixCRM, open Settings, then API keys and create a key.
- 2
Choose the required access
Use read access for retrieval. Use write access only for integrations that call documented write endpoints.
- 3
Store it as a secret
Save the key in your secret manager as
AGENTIX_API_KEY, never in source code.bashexport AGENTIX_API_BASE="https://api.agentixcrm.com" export AGENTIX_API_KEY="your_key" - 4
Send it on every request
Use the
Authorization: Bearerheader.
Rotation
Create the new key, deploy it, verify the integration, then revoke the old key.
| Response | Meaning |
|---|---|
| 401 | Missing, invalid, or revoked key |
| 403 | The key does not have access to the requested operation or record |

