Skip to navigation

Scopes and grants

The scope vocabulary, how your agency grants an application to creators, and how to find out what the application may do right now.

A scope names one kind of access, such as read:messages or write:media. Four sets of scopes meet on every request, and the application gets only what all four share:

SetWho decidesWhere
Allowed scopesThe agency owner, when registering the application. The most the application can ever hold.Partner Hub, Integrations → Applications
GrantsThe agency owner, per creator or per creator group.The application’s Permissions & creators tab
ConsentThe creator, through their link to your agency.Made when the creator connects to your agency
Token scopesYour server, with the scope parameter. Defaults to every allowed scope.Requesting tokens

An operation runs only when every scope it requires is in all four sets for that creator. The authentication overview shows the whole rule.

The scope vocabulary

Each scope is an action and a resource (read:messages), sometimes with a qualifier (write:messages:automated). read: reads, write: changes, delete: removes something for good, and money: sets a price or makes a financial commitment.

AreaReadWriteSensitive
Profile and storefrontread:profilewrite:profilemoney:storefront, money:subscription, delete:storefront_link
Messages and conversationsread:messages, read:buyer_context, read:receiptswrite:messages, write:messages:automated, write:messages:operator, write:paid_messageswrite:messages:view_once, write:blocks, write:reports
Fansread:subscribers, read:noteswrite:subscribers, write:notesread:subscribers:spend, read:presence
Mass messages and automationsread:mass_messages, read:ice_breaker, read:automationswrite:mass_messages, write:ice_breaker, write:automationswrite:automations:enable
Contentread:contentwrite:contentdelete:content, delete:comments
Media vaultread:mediawrite:mediadelete:media, money:media
Analytics, revenue and linksread:analytics, read:revenue, read:linkswrite:links, write:goals—
Marketplaceread:marketplacewrite:marketplacemoney:marketplace
Ordersread:orderswrite:orderswrite:orders:fulfilment
AIread:ai—write:ai, write:ai:voice

A few scopes need a closer look:

ScopeWhat to know
write:messages:automatedRequired for every message an application sends or changes for a creator: with write:messages to send (singly or in bulk), edit a message, take a conversation lease or hand a conversation off; with write:mass_messages to create, edit or queue a mass message.
write:messages:operatorLets the application record a message as written by a live operator of your CRM rather than by automation. See Message authorship.
read:buyer_contextThe minimal, pseudonymous context about the fan in a conversation. See Buyer pseudonyms.
read:revenueEvery money figure — insights, the sales summary, economics terms, the earnings goal. read:analytics covers only analytics without money.
write:paid_messagesPricing a message: quoting a price, and sending a paid message.
money:storefrontSetting or changing the storefront’s support amounts. Other storefront changes need only write:profile; a price change without this scope is refused with 403 PRICE_NOT_PERMITTED.
write:aiAnything that spends the creator’s paid AI allowance. write:ai:voice is needed on top for anything that uses the creator’s own voice or likeness.

Each operation in the API reference lists the scopes it requires. Some scopes do not unlock any application operation yet; GET /partner/v1/app/capabilities shows exactly which operations each scope unlocks today.

Sensitive scopes and conditional operations

Operations that change a price or make a financial commitment, delete something, block or report, send a view-once message, confirm an order’s fulfilment, or spend the creator’s paid AI allowance are conditional. An application can call them only through an approval: a person in your agency approves the action, or it falls within an automatic limit your agency set. Capability discovery marks these operations with "conditional": true. See Approvals and automatic limits.

A creator’s link to your agency is their consent, and it caps every application of your agency. When a creator accepts your agency’s default connection request, the link carries these scopes:

read:profile write:profile read:messages write:messages write:paid_messages read:subscribers write:subscribers read:notes write:notes read:content write:content read:media write:media read:mass_messages write:mass_messages read:ice_breaker write:ice_breaker read:automations write:automations read:analytics read:revenue read:links write:links write:goals read:marketplace write:marketplace read:orders write:orders read:ai

Every scope in the Sensitive column above, and write:messages:operator, is left out of that default. A creator’s link carries such a scope only when the creator approved a connection request that names it. A creator can end the link at any time, and every application of your agency loses that creator from the next request.

Allowed scopes

The agency owner chooses the application’s allowed scopes when registering it — at least one, and as few as the integration needs. They are a ceiling, not access: the application reaches no creator until it is granted one.

  • Narrowing the allowed scopes is always possible, and takes effect on existing tokens from their next request.
  • A live application that has passed EVVA’s review cannot have scopes added to it. While it is still waiting for review, or in the sandbox, you can change them freely.

Granting creators

Nothing is granted automatically, not even for creators your agency manages. To let the application act for a creator, the agency owner grants it in the Partner Hub:

1

Open the application

Integrations → Applications → your application → Permissions & creators.

2

Grant access

Under Who, choose One creator or A creator group, then pick the creator or group.

3

Choose the scopes

Only scopes that are both allowed for the application and covered by the creator’s link can be chosen. Save with Grant.

The same tab shows Creators this application can act for now, with each creator’s effective scopes and the grant they come through. Team leads can see grants; only the agency owner can change them.

How grants behave:

  • One grant per creator or group. Granting again replaces that grant’s scopes. Revoking a grant takes effect from the next request.
  • An individual grant must fit the creator’s consent. A grant to one creator is refused if it names a scope the creator’s link does not cover; it is never trimmed silently.
  • A group grant follows the group’s current members. It reaches whoever is a member at the moment of each request. Add or remove a member and the application’s access changes on its next request — no new token, no restart.
  • Groups never widen consent. Each member gets only the scopes that are in the grant, in the allowed scopes and in that member’s own link.
  • Only linked creators count. A creator can join a group only while linked to your agency; if their link ends, the group stops reaching them even though they are still listed.
  • Deleting a group revokes every grant that names it, immediately.

Creator groups are managed under Integrations → Creator groups (New group). A group holds at most 1,000 creators.

Discovering what the application may do

Two calls tell you, at any moment, what the application can do. Both reflect the current grants, consent and token, so call them again after your agency changes access.

GET /partner/v1/accounts lists the creators the application can act for, each with the scopes it may exercise there now:

GET /partner/v1/accounts — 200
{
"items": [
{
"creatorId": "cre_123",
"handle": "example_creator",
"displayName": "Example Creator",
"scopes": ["read:messages", "read:subscribers", "write:messages", "write:messages:automated"]
}
]
}

GET /partner/v1/app/capabilities lists every operation open to applications with the scopes it requires and, per creator, the operations the application can call for them now:

GET /partner/v1/app/capabilities — 200 (shortened)
{
"apiVersion": "v1",
"principal": "application",
"operations": [
{
"operation": "sendMessage",
"method": "POST",
"path": "/partner/v1/accounts/:creatorId/conversations/:conversationId/messages",
"scopes": ["write:messages", "write:messages:automated"],
"creatorScoped": true,
"conditional": false
}
],
"creators": [
{
"creatorId": "cre_123",
"scopes": ["read:messages", "read:subscribers", "write:messages", "write:messages:automated"],
"operations": [
{
"operation": "listConversations",
"method": "GET",
"path": "/partner/v1/accounts/:creatorId/conversations",
"scopes": ["read:messages"],
"creatorScoped": true,
"conditional": false
}
]
}
],
"deprecations": [],
"authentication": {
"tokenEndpoint": "https://api.evvahub.com/partner/v1/oauth/token",
"grantTypes": ["client_credentials"],
"clientAuthMethods": ["client_secret_basic", "client_secret_post", "private_key_jwt"],
"assertionAlgorithms": ["RS256", "ES256"],
"accessTokenTtlSeconds": 900,
"refreshTokens": false
},
"limits": { "requestsPerWindow": 60, "windowSeconds": 60, "bucket": "application", "maxScopesPerToken": 64 }
}
FieldMeaning
operationsEvery operation an application may call, identified by the API reference’s operation ID. path uses :name for path parameters. Anything not listed is refused with 403 OPERATION_NOT_EXPOSED.
creators[].scopesWhat the application may exercise for that creator now: grants ∩ allowed scopes ∩ consent ∩ token scopes.
creators[].operationsThe operations whose required scopes are all in that set.
conditionaltrue when the operation runs only through an approval.

Capability discovery describes access, not the creator’s account status. An operation listed for a creator can still be refused with 403 CREATOR_SUSPENDED when the creator’s account may not perform that action at the moment.

When a scope or grant is missing

EVVA checks a request in the order below and answers with the code of the first check that fails. Every error body has the shape { "code", "error", "requestId" }.

StatuscodeMeaning
401INVALID_TOKENThe token is expired, revoked or unknown. Request a new one.
403APPLICATION_NOT_ACTIVEThe application is waiting for review, disabled or revoked.
403AGENCY_SUSPENDEDYour agency is suspended.
403OPERATION_NOT_EXPOSEDThe operation is not available to applications at all.
403AGENCY_CONTEXT_MISMATCHYou sent an X-Agency-Id that is not your application’s agency.
403CREATOR_INTEGRATIONS_HELDEVVA has paused integrations for this creator.
403INSUFFICIENT_SCOPEThe application is not allowed the scope, or the token does not carry it. The WWW-Authenticate header names the scopes the operation needs: Bearer realm="evva-partner", error="insufficient_scope", scope="…".
403GRANT_REVOKEDThe creator is not linked to your agency, or ended the link.
403OAUTH_SCOPE_MISSINGThe creator’s consent does not cover the scope.
403NOT_ASSIGNEDNo grant reaches this creator, or the grants that do reach them do not carry the scope.
403CREATOR_SUSPENDEDThe creator’s account may not perform this action at the moment.
503TEMPORARILY_UNAVAILABLEAccess could not be verified right now. Nothing was done. Retry after Retry-After (5 seconds).
403 Forbidden
{
"code": "OAUTH_SCOPE_MISSING",
"error": "The creator's consent does not cover this",
"requestId": "…"
}

The token is only one of the four sets. Check Permissions & creators in the Hub: the creator needs a grant — directly or through a group they are currently a member of — and that grant must carry the scope.

INSUFFICIENT_SCOPE covers both the application’s allowed scopes and the token. Compare the token’s scope (or scopes in GET /partner/v1/app/me) with application.allowedScopes in the same response.

No. Grants, group membership and consent are read on every request. A new token is needed only for a scope the current token does not carry.

Next steps