Ask about anything in DailyStory Developer Documentation

Type a question in your own words below. Answers are written from our published articles and cite the ones they came from.

Recently updated

    Dashboard
    Edit Article Logout

    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": {} }


    How helpful was this article?

    πŸ‘ or πŸ‘Ž

    Related Articles

    Markdown Version