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

Add attachments into a campaign message. Only applicable for campaign message of type email

Add attachments into a campaign message. With this operation you can add a single, or multiple attachments into a campaign message.

Path Params
int64
required

Client ID

int64
required

Campaign mailing ID

int64
required

Smart Campaign ID

Form Data
attachmentIds
array of int64s

A comma separated list of attachment ids to be added

attachmentIds
Responses
200

The attachments were successfully added into campaign message.

400

The "attachmentIds" parameter is either empty or invalid, or the campaign mailing is of type FAX.

404

The campaign mailing was not found.

405

The campaign message is not of type EMAIL.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!