Agoralia docs
Reference

API Key Scopes

Every Agoralia API key scope and exactly what it allows. Scope each key to only what your integration needs.

API Key Scopes

An Agoralia API key carries a set of scopes. Each endpoint requires one specific scope; a request whose key lacks the scope returns 403 Missing scope: <scope>.

Scopes are chosen when you create a key in the dashboard at app.agoralia.app → API Keys. Grant the minimum a given integration needs — read-only keys for dashboards, write keys for automation.

There are 20 scopes, grouped by resource.

Workspace

ScopeAllows
me:readRead workspace info, billing plan/limits, and the key's own scopes (GET /me).

Agents

ScopeAllows
agents:readList and read voice agents.
agents:writeCreate, update, publish, and delete (deactivate) agents.

Campaigns

ScopeAllows
campaigns:readList and read campaigns.
campaigns:writeCreate, update, and cancel campaigns.
campaigns:startStart and pause campaigns. Separated from campaigns:write so a key can manage campaigns without being able to launch calls.

Leads

ScopeAllows
leads:readList leads in a campaign.
leads:writeAdd/upsert and delete leads.

Calls

ScopeAllows
calls:readList calls and read full call detail (transcript, summary, analysis, recording URL).
calls:writePlace single outbound calls.

Results

ScopeAllows
results:readRead campaign call results (GET /campaigns/{id}/results).

Phone numbers

ScopeAllows
numbers:readList and read phone numbers.
numbers:writeLink BYO numbers, configure inbound, and release numbers.

Billing

ScopeAllows
billing:readRead usage and plan limits (GET /billing/usage).

Compliance / DNC

ScopeAllows
compliance:readList and check do-not-call (DNC) entries.
compliance:writeAdd and remove DNC entries.

SMS

ScopeAllows
sms:readReserved for reading SMS / conversation data.
sms:writeSend outbound SMS (POST /sms).

Webhooks

ScopeAllows
webhooks:readRead the event-webhook configuration (GET /webhooks).
webhooks:writeSet the webhook URL, subscribed events, and rotate the signing secret (PUT /webhooks).