API

AgentixCRM API authentication

Create, store, and rotate AgentixCRM API keys.

  1. 1

    Create a key

    In AgentixCRM, open Settings, then API keys and create a key.

  2. 2

    Choose the required access

    Use read access for retrieval. Use write access only for integrations that call documented write endpoints.

  3. 3

    Store it as a secret

    Save the key in your secret manager as AGENTIX_API_KEY, never in source code.

    bash
    export AGENTIX_API_BASE="https://api.agentixcrm.com"
    export AGENTIX_API_KEY="your_key"
  4. 4

    Send it on every request

    Use the Authorization: Bearer header.

Rotation

Create the new key, deploy it, verify the integration, then revoke the old key.

ResponseMeaning
401Missing, invalid, or revoked key
403The key does not have access to the requested operation or record

Was this page helpful?