Add Segments to a Campaign
Adds segments to a campaign. Existing segment assignments are preserved β the posted list is merged with the current assignments (deduplicated). To remove segments, update the campaign via Create or Update a Campaign with a new segments array.
Path Parameters
campaignidnumberrequired
The id of the campaign to add segments to.
HTTP Request Examples
[
3,
19,
45
]
HTTP Request Parameters
(body)array
JSON array of segment ids (numbers) to add to the campaign. Duplicates and already-assigned segments are ignored.
HTTP Response Examples
200
{
"Status": true,
"Message": "",
"Response": {}
}