Approve a copilot proposal
Approves an action the Copilot, EVA, proposed for the creator.
EVVA first checks your application’s own rights against the action the proposal actually carries out:
send_fan_messageneedswrite:messagesandwrite:messages:automated.generate_voiceandgenerate_imageneedwrite:aiandwrite:ai:voice.read_creator_overview,read_content_engagementandread_link_trafficneedread:analytics.draft_postanddraft_fan_messageneed nothing more.read_account_balanceis never available to an application. It is refused with403 FORBIDDEN, and so is any action EVVA cannot classify.
Where the call uses AI, it spends the creator’s AI allowance, exactly as the creator’s own request does.
Sending a message
Approving a send_fan_message proposal sends a message, so the request body declares its authorship exactly as a send does (AI_AUTOMATED, or a person’s authorship with operatorRef). The send limits of every message your application sends
apply (rate limits). Over a limit, you receive 429 TOO_MANY_MESSAGES; if EVVA cannot
check the limits, 503 SERVICE_UNAVAILABLE. Both come with Retry-After, and the proposal stays undecided.
The message is coordinated like any send, but this call carries no fencingToken. If coordination refuses it, for
example because a lease on the conversation is live, you receive 422 TOOL_REFUSED and the proposal is recorded as
failed (conversation leases).
Agency policy
Your application’s call goes through action approval. It runs automatically within the daily count the agency’s own rule sets, or once an authorised person approves it. With no rule, you receive 202 with an ApprovalRequired body and nothing is done. After approval, send the same request again with Partner-Approval-Id.
Errors
400 AUTHORSHIP_REQUIRED/AUTHORSHIP_INVALID/OPERATOR_REF_REQUIRED— asend_fan_messageapproval whose body does not declare the message’sauthorship(withoperatorReffor a person’s authorship). Nothing is sent.403 FORBIDDEN— the action isread_account_balance, or EVVA cannot classify it.422 TOOL_REFUSED— the proposed message could not be sent. The proposal is recorded as failed.429 TOO_MANY_MESSAGES— a send limit is full.details.levelnames the level that refused.503 SERVICE_UNAVAILABLE— the send limits cannot be checked. Nothing was sent.
Required scopes: write:ai.
Approval: this operation runs through action approval for applications.
Authentication
OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.
write:aiPath parameters
The creator profile id — the ONLY source of the creator a request acts for.
Headers
Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.
Required on every AI write: 1..128 characters, otherwise 400 IDEMPOTENCY_KEY_REQUIRED. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (200) and never reserves the allowance twice. The key is never echoed.
The approvalId a previous 202 APPROVAL_REQUIRED returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.
The approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request’s Idempotency-Key (required) and becomes final when the operation succeeds:
- A refusal before the effect, a
4xxor429, hands it back for your next attempt. - A
5xx,503included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done. - The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise
409 APPROVAL_CONSUMEDwithdetails.replay: true: read the resource to see the result. - Another key is
409 APPROVAL_CONSUMED.
When the approval cannot be used, the request is refused with 403 (APPROVAL_INVALID, APPROVAL_MISMATCH or APPROVAL_DECLINED) or 409 (APPROVAL_PENDING, APPROVAL_EXPIRED or APPROVAL_CONSUMED). See action approval.
Request
Response
Decided. A proposal that was already decided also answers 200, with alreadyDecided: true.
