API Authentication

Generate API keys, manage scopes, and authenticate your requests securely.

3 min readAPI & Webhooks

Ayorax uses API keys for authentication. Keys can be scoped to specific resources and revoked at any time without affecting other integrations.

Creating an API key

1

Go to API Keys (Manager/Admin only).

2

Click New API Key.

3

Give the key a descriptive name (e.g. "Zapier integration").

4

Select scopes: Leads (read/write), Workflows (read/execute), Analytics (read), Webhooks (manage).

5

Click Create. Copy the key immediately — it is only shown once.

Using the API key

code

Key scopes

ScopeAccess
leads:readList and get leads
leads:writeCreate, update, delete leads
workflows:readList workflows
workflows:executeTrigger workflow runs
analytics:readRead analytics data
webhooks:manageRegister and delete webhooks

Never commit API keys to source code or expose them in frontend JavaScript. Use environment variables and server-side requests only.

Was this article helpful?