Create a personalized attachment
1 min
POST
https://api.campaign.episerver.net/rest/{clientId}/attachments/personalized
clientIdstringClient ID
acceptstringGenerated from available response content types
filestring<binary>file to be uploaded
namestringname of the attachment
200The attachment was created successfully.
400An erroneous request was sent.
406The uploaded file is empty.
500The request could not be processed successfully.
curl --request POST \
--url https://api.campaign.episerver.net/rest/{clientId}/attachments/personalized \
--header 'accept: application/json' \
--header 'content-type: multipart/form-data' \
--form 'file=@"/path/to/file"'