PUT /whatsappCampaigns/{campaignId}

Update a WhatsApp campaign

Servers

Path parameters

Name Type Required Description
campaignId Integer Yes

id of the campaign

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
recipients Object No

Segment ids and List ids to include/exclude from campaign

recipients.excludedListIds[] Array No

List ids to exclude from the campaign

recipients.listIds[] Array No

Mandatory if scheduledAt is not empty. List Ids to send the campaign to

recipients.segments[] Array No

Mandatory if listIds are not used. Segment ids to send the campaign to.

campaignName String No

Name of the campaign

rescheduleFor String No

Reschedule the sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of campaign. **Prefer to pass your timezone in date-time format for accurate result.For example: 2017-06-01T12:30:00+02:00 Use this field to update the scheduledAt of any existing draft or scheduled WhatsApp campaign.

campaignStatus String No

Status of the campaign

Valid values:

  • "suspended"
  • "scheduled"

Default value: "scheduled"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.