Skip to content

App scopes

API scope names are the ones the API checks on each route. What the person reads on the consent screen is the label in the “Label” column, and they can only release what they themselves can do on the site today. Legacy packages (posts:write, export and others) still exist, but each one is only a shortcut to a fixed set of fine scopes (section Legacy packages).

Column Meaning
Risk low, medium or high (9 of the 38 scopes are high risk). High risk only enters an app registration by a recorded operator decision, with a justification of 10 to 500 characters.
Partner Rule for apps of type parceiro (partner): S any partner; V only a partner with a recorded verification (verificado_em) and with OAUTH_PARCEIROS_ENABLED on; N never, not even through a package. High risk is never S. The rule does not apply to apps of type grupo (group).
Requires Extra condition beyond the site permission: owner = the person must own the company; team = only exists on a company token (site-creation route; see Create sites). Only sites:create has both.

The effective scopes of a call are the intersection of what the person released, what the app may request and what the person can do today on that site.

Scope Risk Label (consent screen) Partner Requires
openid low Identify you S -
profile low Your name and language S -
email low Your verified primary email S -
offline_access medium Stay connected when you are not using the app S -
Scope Risk Label (consent screen) Partner Requires
sites:read low See the site data and niche S -
post_types:read low See the content types S -
briefing:read low Read the site editorial briefing S -
briefing:write medium Edit the site editorial briefing S -
site:settings:read low See the site settings S -
site:settings:write high Change the site settings N -
sites:create high Create sites in the company N owner, team
Scope Risk Label (consent screen) Partner Requires
posts:read low Read published articles S -
posts:drafts:read medium Read drafts and scheduled articles S -
posts:create medium Create articles as drafts S -
posts:update medium Edit drafts and save pending edits S -
posts:update:live medium Change articles that are already live V -
posts:publish high Publish and schedule articles on your behalf V -
posts:unpublish medium Take articles offline V -
posts:delete high Delete articles (moved to trash) N -
posts:revisions:read low See article version history S -
posts:revisions:restore medium Restore previous article versions V -
Scope Risk Label (consent screen) Partner Requires
media:read low See the images S -
media:upload medium Upload images S -
media:delete medium Delete images V -
Scope Risk Label (consent screen) Partner Requires
seo:read low Read SEO analyses and backlog S -
seo:analyze low Request SEO analysis and recalculation S -
seo:write medium Change article SEO metadata S -
seo:site:write high Change the whole-site SEO N -
plan:read low See the content plan S -
plan:keywords:write medium Create, edit and delete plan keywords S -
plan:keywords:link medium Link articles to keywords S -
plan:pillars:write medium Create and organize plan pillars and links V -
Scope Risk Label (consent screen) Partner Requires
analytics:read medium See the site visit metrics S -
leads:read high See captured contacts (third-party personal data) V -
export:posts high Export all site articles N -
export:analytics medium Export site metrics V -
export:leads high Export captured contacts N -
import:posts high Bulk-import articles N -

The catalog’s chimpee set (conjuntos.chimpee in oauth-scopes.json) is what Chimpee (a grupo app) requests. It has 28 fine scopes, all from the catalog of 38:

openid, profile, email, offline_access, sites:read, post_types:read, briefing:read, briefing:write, sites:create, posts:read, posts:drafts:read, posts:create, posts:update, posts:update:live, posts:publish, posts:unpublish, posts:revisions:read, posts:revisions:restore, media:read, media:upload, seo:read, seo:analyze, seo:write, plan:read, plan:keywords:write, plan:keywords:link, plan:pillars:write, analytics:read

The set does not include posts:delete, media:delete, site:settings:read, site:settings:write, seo:site:write, leads:read, export:* or import:posts. The scopes posts:update:live, posts:publish, posts:unpublish, posts:revisions:restore, plan:pillars:write (all V) and sites:create (N) only fit this set because Chimpee is a grupo app: a partner would not receive them under these conditions.

The catalog also carries Chimpee’s previous set, conjuntos.chimpee_v1, with 12 scopes: openid, profile, email, offline_access, sites:read, post_types:read, posts:read, posts:write, media:read, media:write, seo:read and plan:read. And it records that, in the chimpee set, the high-risk scopes with a justification are posts:publish and sites:create (risco_alto_justificado_do_conjunto).

Package Expands to (frozen on 2026-10-24)
posts:write posts:drafts:read, posts:create, posts:update, posts:update:live, posts:publish, posts:unpublish, posts:delete
media:write media:upload, media:delete
seo:write seo:write, seo:site:write
plan:write plan:keywords:link
site:write briefing:write, site:settings:write
site:read site:settings:read
sites:read sites:read, briefing:read
seo:read seo:read, seo:analyze
export export:posts, export:analytics, export:leads
import import:posts

The names seo:read, seo:write and sites:read are both a fine scope and a package. For partners they count as the fine scope; the package expansion applies only to grupo apps and existing ck_ keys. A new route never enters an old package, because the expansion is frozen.

When resolving a token (internal call from the API to auth), with the flag on the grant package and the app package are expanded into fine scopes before the intersection, and each fine scope checks its own live permission. A posts:write grant for a person who only has site.content:create does not receive publish, edit or delete. The response carries scopes (the effective ones) and, only with the flag on, scopes_originais (the names as granted, packages included, without openid or offline_access). sites:create only reaches the company owner.

On the consent screen, a requested package is shown already expanded: the person sees what is actually granted, each item with its source package. High-risk items ask for confirmation. The decision may untick optional scopes (escopos_marcados, always a subset of the request); login scopes and offline_access cannot be unticked and a package can only be unticked as a whole.

The 10 packages share the same four dates. The table says what the auth code does at each one.

Date Field What happens
2026-11-15 deprecado_em Only displayed: the operator scope listing returns deprecated_at. No refusal, warning or behavior change.
2027-01-15 fora_de_apps_novos_em Registering a new app with a package in allowed_scopes is refused (422). Editing an existing app does not go through this check.
2027-01-15 fora_de_parceiros_em In a parceiro app, a package is refused (422), on registration and on edit.
2027-04-15 removido_em From this date the legacy package is refused on a new authorization (invalid_scope at authorize). Existing grants keep working, with the expansion frozen. Editing an app to add a legacy package after the date is not blocked; new apps and new partners are already barred on 2027-01-15.

Before that date, a partner can only use a package if every fine scope in the expansion is allowed to partners; in practice posts:write, export, import and site:write are never accepted for partners, and media:write requires verification.

A package name’s risk comes from its row in the catalog’s v1 table, which takes precedence over the fine catalog when the name is shared. It applies to app registration and to the operator listing; the consent screen shows the fine scopes of the expansion, each with its own risk.

Package Name’s risk
posts:write, media:write, seo:write, plan:write medium
site:write, export, import high
site:read, sites:read, seo:read low

The name’s risk does not add up the fine scopes’ risk: posts:write is medium as a name but expands to posts:publish and posts:delete, which are high, and seo:write is medium but expands to seo:site:write, which is high. On the screen the person sees those fine scopes with the high-risk badge and confirms each one. At registration, the high-risk justification rule looks at the risk of the scope name in allowed_scopes: with site:write, export or import the justification is required; with posts:write it is not.

What happens to each thing when OAUTH_ESCOPOS_V2_ENABLED is on

Section titled “What happens to each thing when OAUTH_ESCOPOS_V2_ENABLED is on”
Situation Behavior in the code
Old grant, stored with a package (posts:write) Keeps working. When resolving the token, auth expands the grant’s and the app’s package and checks each fine scope’s live permission. The API accepts the literal package through the frozen expansion.
Access token already issued Carries no scopes. On every call auth resolves them from the grant (cache of up to 10 seconds), so a flag change takes effect in seconds, with no reauthorization.
New routes (posts:revisions:*, plan:keywords:write, plan:pillars:write) In no package. A package grant does not reach them; it needs the literal fine scope.
Requesting a package at authorize authorize compares each requested scope, by literal name, with the app’s allowed_scopes. The package only passes if it is written in the registration; a fine scope only passes if it is itself written there. An app registered only with posts:write cannot request posts:publish, and one registered only with fine scopes cannot request posts:write (invalid_scope).
New grant, created with the flag on Consent expands the package and stores only the effective fine scopes: what the person can use on the sites they chose, within what the app may request. The package name is not stored (except seo:read, seo:write and sites:read, which are also fine). scopes_originais now lists fine scopes.
/oauth/token response (authorization_code) The scope field repeats what was requested, package name included. What counts is the stored grant, not that text.
refresh_token with scope The request’s scope must be a literal subset of what the grant stores. On a grant stored as fine scopes, scope=posts:write gives invalid_scope. Omit scope on refresh, or use fine scopes. The refresh response lists the stored scopes.
/oauth/introspect (access token) Returns the literal intersection between the scopes stored on the grant and the app’s allowed_scopes, without expanding packages.
Flag turned off after new grants exist The API goes back to requiring the literal v1 scope. A grant stored only with fine scopes stops passing on routes that had a v1 equivalent (for example, posts:create asks for posts:write again). Do not turn the flag off on a ring that already has fine-scope grants.
  1. Ask the Canverly team to add the fine scopes to the app’s allowed_scopes, keeping the packages while any flow or grant still uses them. A high-risk scope needs a justification; N scopes never go to a partner, and V scopes require a verified app.
  2. Start requesting the fine scopes at authorize on every new authorization. Do not depend on a package: on 2027-01-15 it stops being accepted in new-app registration and partner edits, and on 2027-04-15 authorize refuses it.
  3. Reauthorize old grants through the Updating permissions flow. Until then they keep working, but only with the expansion frozen on 2026-10-24.
  4. Stop sending scope on refresh, or send only stored fine scopes.
  5. Do not use the /oauth/token response to learn what was granted. Read the canverly block and the introspection intersection, or call the API and handle 403 insufficient_scope.

Validation runs on app registration and edit (internal operator API), in this order: non-empty list, scope exists in the catalog, partner rules, new-app packages, high-risk justification. Literal errors (messages are in Portuguese, as the service returns them):

Condition HTTP code Message
Empty list 422 VALIDATION_FAILED allowed_scopes: informe ao menos um escopo
Unknown scope 422 VALIDATION_FAILED allowed_scopes: escopo desconhecido ou não permitido a este app: <nome>
N scope on a partner 422 VALIDATION_FAILED allowed_scopes: escopo não permitido a app de parceiro: <fino>
Package on a partner, from 2027-01-15 422 VALIDATION_FAILED allowed_scopes: o pacote <nome> não é mais aceito em app de parceiro; use os escopos finos
Package with an N scope (or unverified V) in the expansion, partner 422 VALIDATION_FAILED allowed_scopes: o pacote <nome> inclui <fino>, que parceiro não pode usar; peça os finos permitidos
Package on a new app, from 2027-01-15 422 VALIDATION_FAILED allowed_scopes: o pacote <nome> não é mais aceito em app novo; use os escopos finos
V scope on an unverified partner 422 APP_RULE_VIOLATION parceiro com escopo de risco alto exige verificação registrada
High risk without justification 422 APP_RULE_VIOLATION escopo de risco alto exige justificativa (10 a 500 caracteres)
Justification over 500 characters 422 VALIDATION_FAILED justificativa: use até 500 caracteres
Partner apps switched off 403 PARTNERS_DISABLED apps de parceiro estão desligados (OAUTH_PARCEIROS_ENABLED)
sem_teto_absoluto on a partner 422 APP_RULE_VIOLATION sem_teto_absoluto é permitido só para app do tipo grupo

Without an injected clock the date checks do not run; auth registration and edit always pass today’s date.

Situation HTTP error.code error.message
ck_ key without the scope, flag on 403 forbidden scope `posts:publish` not granted (names the fine scope)
ck_ key without the scope, flag off 403 forbidden scope `posts:write` not granted (names the v1 scope)
cvt_ grant without the scope 403 insufficient_scope scope `<scope>` not granted
Grant’s person without the live permission 403 insufficient_scope you no longer have permission for `<scope>` on this site
Bearer with no access to the site 404 not_found site not found

The bearer also answers with WWW-Authenticate: Bearer error="insufficient_scope". There is no SCOPE_REQUIRED error code: the text SCOPE_REQUIRED:seo:read is only an item in warnings when ?include=focus_keyword is requested without seo:read, and the post read still returns 200. Creating an already published or scheduled post requires posts:publish (403 with the text in the table, before any effect). Route details in API v2.

  • sites:create only exists for a company token and requires the person to own the company. It creates at most 5 sites per grant; see Create sites.
  • Requesting a scope the app does not have in its registration is invalid_scope.
  • sites:read and site:settings:read are different scopes (site identity and settings).

Guides: Sign in with Canverly and Connect Canverly.