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 Publisher 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
Profileprofile:read (in use)None
Campaignscampaigns:read (in use)None
Callscalls:read (in use)None
Leadsleads:read (in use)None
Numbersnumbers:read (in use)None
Earnings and payoutsearnings:read (in use)None
Reportsreports:read (in use)None
Postbackswebhooks:read (in use)webhooks: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.