Skip to Content
Developers

Scopes

What each scope lets a key read or change.

A scope says what a key may do with one kind of record. It is written resource:read or resource:write, for example buyers:read. A write scope includes read of the same resource.

A key without the scope a route needs gets scope_missing, and errors.scope names the scope. Every reference page lists the scope its route needs.

The scopes of the Account API

Scopes marked "in use" are needed by a route that exists today. The others are for routes in later releases; a key can hold them already.

ResourceReadWrite
Accountaccount:read (in use)None
Campaignscampaigns:read (in use)campaigns:write
Buyersbuyers:read (in use)buyers:write
Publisherspublishers:read (in use)publishers:write
Numbersnumbers:read (in use)numbers:write
Buying numbersnumbers-purchase:read (in use)numbers-purchase:write (high risk)
Callscalls:read (in use)calls:write
Leadsleads:read (in use)leads:write
Reportsreports:read (in use)None
Statements and payoutsmoney:read (in use)money:write (high risk)
Suppressionsuppression:read (in use)suppression:write
Webhookswebhooks:read (in use)webhooks:write
Eventsevents:read (in use)None
Audit logaudit:read (in use)None
Routingrouting:read (in use)routing:write
Lead deliverydelivery:readdelivery:write
Partner keyspartner-keys:read (in use)partner-keys:write (high risk)
Lead orders and walletsorders:read (in use)orders:write

Presets

When you make a key on the Developers page you pick a preset or tick scopes one by one.

  • Read only. Every read scope.
  • Full access. Every scope except the high-risk ones.
  • Custom. Only the scopes you tick.

High-risk scopes move money, buy numbers or issue keys. They are never part of a preset, each must be ticked on its own, and a key that holds one must have an IP allow-list.

Give each system only what it needs

A dashboard needs reports:read. A system that copies your calls needs calls:read. Neither needs write. Narrow keys limit what a leaked key can do.