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
| Scope | Access |
|---|---|
| leads:read | List and get leads |
| leads:write | Create, update, delete leads |
| workflows:read | List workflows |
| workflows:execute | Trigger workflow runs |
| analytics:read | Read analytics data |
| webhooks:manage | Register and delete webhooks |
Never commit API keys to source code or expose them in frontend JavaScript. Use environment variables and server-side requests only.
Related articles
Was this article helpful?