Prepares new sending batch
1 min
POST
https://api.campaign.episerver.net/rest/{clientId}/sending/batches
clientIdnumberClient ID
acceptstringGenerated from available response content types
campaignstringCampaign definition based on the value of campaignAction
campaignActionstring<use | copy>Campaign action
tagstringTag reference
201The batch was prepared successfully.
400
409
curl --request POST \
--url https://api.campaign.episerver.net/rest/{clientId}/sending/batches \
--header 'accept: application/json' \
--header 'content-type: multipart/form-data' \
--form 'campaign="string"' \
--form 'campaignAction="use"'