Add attachments into a campaign message. Only applicable for campaign message of type email
1 min
POST
https://api.campaign.episerver.net/rest/{clientId}/confirmations/{confirmationMailId}/message/attachments
clientIdinteger<int64>Client ID
confirmationMailIdinteger<int64>Confirmation mailing ID
attachmentIdsarrayA comma separated list of attachment ids to be added
200The attachments were successfully added into campaign message.
400<p>The "attachmentIds" parameter is either empty or invalid, or the campaign mailing is of type FAX.</p>
404The campaign mailing was not found.
405The campaign message is not of type EMAIL.
curl --request POST \
--url https://api.campaign.episerver.net/rest/{clientId}/confirmations/{confirmationMailId}/message/attachments \
--header 'accept: application/json'