Replace an unsent mass message
Replaces a mass message that has not started sending, that is a DRAFT or QUEUED campaign.
Request
This is a whole replacement, so send every settable field every time. An omitted price makes the campaign free, and
an unknown field is refused with 400. The same body sent twice leaves the same campaign, so the call is
idempotent by nature.
As on create, the body declares authorship; see message authorship. The call is not
blocked by restrictions on the creator’s account.
Price
A price needs write:paid_messages in your application’s effective scopes, which include the agency’s grant. A
DRAFT may be repriced, because it is counted against the agency’s limits only when it is queued. Sending back the
stored price is allowed.
Queued campaigns
A QUEUED campaign keeps its audience, its schedule and its price. Its price was approved per recipient at that
value.
Errors
400— the body has an unknown field.403 PRICE_NOT_PERMITTED— a price withoutwrite:paid_messages.409— the campaign has already started sending.409 QUEUED_AUDIENCE_LOCKED— the audience of a queued campaign cannot change.409 QUEUED_SCHEDULE_LOCKED— the schedule of a queued campaign cannot change.409 QUEUED_PRICE_LOCKED— the price of a queued campaign cannot change.
Required scopes: write:mass_messages.
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:mass_messagesPath 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.
Request
Alias of attachments.
As on create; price is accepted as an alias.
Alias of unlockPrice.
The external CRM’s opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only.
