Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Update a mailing

Update information of a mailing, such as name, subject or content.

Path Params
int64
required

Client ID

int64
required

Confirmation mailing ID

Form Data
string

This parameter is deprecated. Use "payload.[name]" instead.

string
enum

Media type of the mailing (required only for creation)

Allowed:
string

Subject for a specific target group. Set "subject.[targetGroupId]" in request data (only email).

Does not work with the "Try it out" feature.

string

Reply-to address (only email)

boolean

Toggle whether a mailing can be archived or not

string

Icon meta data. Configure "icon.[attribute]".

Does not work with the "Try it out" feature.

string
enum

Period suggesting for how long a mailing should be archived

Allowed:
boolean

If true, the local part of the reply-to address is reset

boolean

If true, all target group subjects are deleted (only email)

string

Reply-to mailing name (only email)

boolean
boolean

If true, all payload parameters are deleted. All set parameters within this request remain (only Web Push mailings).

string

Mailing name

string

Mailing content (plain text)

string

Payload parameters for Mobile Push and Web Push. Set "payload.[name]" in request data.

Does not work with the "Try it out" feature.

string

Mailing description

string

Mailing sender name (only email)

string

Mailing subject

string

Media code (only email)

date-time

Expiry date (only push mailings, use ISO 8601 format without milliseconds, e.g. 2022-03-03T08:45:07+01:00)

string

Image for the Web Push message

string

Mailing sender address

string

Click action for the Web Push message

string
enum

Push type

Allowed:
string

Icon for the Web Push message

string

Predecessor node

string

Successor node

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/vnd.optivo.broadmail.v1+json