Skip to main content
POST
Set a personalized email version

Authorizations

Authorization
string
header
required

Personal Access Token or OAuth 2.1 access token, sent as a bearer credential. READ permission for GET, WRITE for POST/PATCH/DELETE.

Body

application/json
assetId
string
required

ID of the Personalized Email Asset. Copy it from the asset URL (…/assets/email/per-user/<ASSET_ID>/versions) or its How to add versions tab.

email
string<email>
required

The contact's email. Must match an existing contact.

subject
string
required

The personalized subject line.

preheader
string
required

The inbox preview text.

html
string
required

Full HTML of the personalized email. Must include the literal {{unsubscribe_url}} token; no other {{…}} tokens are allowed. Max 500 KB.

expiresAt
string<date-time>

Optional ISO-8601 expiry. After this moment the contact falls back to the default email. Omit for a version that never expires.

Response

Version stored.

data
object

Payload: object or array, shape depends on the endpoint.

pagination
object

Present only on paged list endpoints.

errors
object[]
meta
object