Skip to navigation

Send a pay-per-view message

Sends one priced message in the conversation as the creator, under the same rules as the creator’s own composer.

Request

  • The same field allowlist as the creator’s composer: unknown fields are refused with 400.
  • The price is in USD, from 100 to 1000000 minor units.
  • At least one file, not all of them free samples, and every file the creator’s own.
  • The response carries the quote for the price sent. It is informational: the order economics frozen at unlock are authoritative.

The send follows the message send limits of a plain send and the recipient’s delivery policy. No creator account restriction applies: the creator’s own one-to-one send has none (DIRECT_MESSAGING is not a restricted action).

Authorship

Your application declares authorship within the creator’s consent (see message authorship). AI_AUTOMATED needs write:messages:automated, and the creator’s account must allow BULK_MESSAGING. An operator’s message (HUMAN_AUTHORED or AI_DRAFTED_HUMAN_SENT, with operatorRef) needs write:messages:operator. EVVA decides the source, and the fan sees an ordinary message from the creator.

Coordination

Exactly as for a plain send (POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages), and decided in the same step as the write. The body may carry expectedLastMessageId, fencingToken, takeover and automationRunId; automationRunId is only recorded for the agency’s audit trail. See conversation leases.

Idempotency

The Idempotency-Key header is required, and it is checked before anything is asked: without it, 400. The same key with the same terms returns 200 with the same messageRef. See idempotency.

Agency policy

An application’s priced send needs the agency’s explicit grant and its action policy, on top of write:paid_messages and write:messages:

  • Under AUTO_WITHIN_LIMITS, it is sent within the agency’s own limits per message and per day. EVVA sets no ceiling of its own; the limit is metered at the level of the agency’s rule, and the amount counted is the price.
  • Otherwise you get 202 APPROVAL_REQUIRED. Re-send with the Partner-Approval-Id header. The approval is claimed for the request’s Idempotency-Key and is final once the send succeeds: the same key replays it.

Errors

  • 400 — an unknown field, or no Idempotency-Key.
  • 403 APPROVAL_MISMATCH — the approval was given for another price, file set or conversation.
  • 404 — a file belongs to another account, or its id is unknown.
  • 409 MEDIA_NOT_READY — a file is not ready.
  • 409 PAID_PREVIEW_UNAVAILABLE — a file has no locked preview.
  • 409 ASSET_ALREADY_DELIVERED — a file was already given to this fan for free.
  • 409 ASSET_REACHABLE_ELSEWHERE — the lifetime refusal: a view-once or expiring send includes a file this fan can already open.
  • 409 IDEMPOTENCY_KEY_REUSED — the key was used with another price, body or attachment set.
  • 409 APPROVAL_CONSUMED — the approval was already claimed by another Idempotency-Key.
  • 409 LEASE_HELD (with Retry-After), 409 STALE_FENCING_TOKEN, 409 AUTOMATION_PAUSED, 409 CONVERSATION_ADVANCED — coordination refusals, as for a plain send.
  • 429 TOO_MANY_MESSAGES — a send limit is full, with Retry-After and details.level.
  • 503 — the send limits cannot be checked.

Required scopes: write:paid_messages, write:messages.

Approval: this operation runs through action approval for applications.

Authentication

AuthorizationBearer

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.

Required scopes:write:paid_messageswrite:messages

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

conversationIdstringRequired>=1 character

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Idempotency-KeystringRequiredformat: "^[A-Za-z0-9_-]+$"1-128 characters

Required on the PPV send: 1..128 characters of [A-Za-z0-9_-]. Missing, blank or malformed is 400 INVALID_REQUEST, before anything is read or written. The same key with the same terms answers 200 with the same messageRef; with other terms it is 409 IDEMPOTENCY_KEY_REUSED. The key is stored in your application’s own key space and never echoed.

Partner-Approval-IdstringOptionalformat: "^apr_[A-Za-z0-9]{24}$"

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 4xx or 429, hands it back for your next attempt.
  • A 5xx, 503 included, 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_CONSUMED with details.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

This endpoint expects an object.
priceobjectRequired
attachmentslist of objectsRequired

The creator’s own Vault files, in display order: at most the per-message attachment limit, 10 by default. At least one file must not be a free sample. Required on the send (400 without one); optional on the quotes (PaidMessageQuoteRequest).

bodystringOptional<=2000 characters
The pitch, shown unlocked.
blurPreviewbooleanOptionalDefaults to false
viewOncebooleanOptionalDefaults to false

On the send, as on sendMessage: needs write:messages:view_once (not in the default consent); 403 otherwise, nothing written.

expiresAtdatetime or nullOptional

On the send, the same permission as viewOnce.

expectedLastMessageIdstringOptionalformat: "^[A-Za-z0-9_-]{1,64}$"

Conditional send — 409 CONVERSATION_ADVANCED when the newest message is another.

fencingTokenstring or integerOptional

The current lease’s token; otherwise 409 STALE_FENCING_TOKEN. Required for an application while the lease is live (without it 409 LEASE_HELD).

automationRunIdstringOptionalformat: "^[A-Za-z0-9._:-]{1,64}$"

Audit metadata only; never shown to the buyer.

authorshipenumOptional

REQUIRED for an application: AI_AUTOMATED needs write:messages:automated; HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT need write:messages:operator and operatorRef.

Allowed values:
operatorRefstringOptional1-64 characters

The external CRM’s opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only.

Response

Idempotent replay — the message this key already sent; nothing new was written.

messageRefstring
The priced message. A replay answers the same reference.
paidobject
authorshipenum
quoteobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error