Skip to main content

Get a WhatsApp campaign

GET 

/api/partner-gateway/campaigns/:id

Returns one campaign with its configuration, status and delivery counters. It works at every stage: draft, confirmed, sending or finished.

  • Status: status names the stage the campaign is in; the values are listed on the field. A campaign marked ready to send is reported as DRAFT with readyToSend true.
  • Configuration: sendingMode, the message content (the WhatsApp template in whatsappMessageBody, and smsBody for an SMS fallback), the recipients (contactListIds, destinations) and the scheduledDate, if any.
  • Results: totalDestinations, totalSuccess, totalFailed and the WhatsApp counters, plus the SMS ones for a fallback.

GET /campaigns/{id} is one endpoint for SMS, RCS and WhatsApp: this page describes it for WhatsApp. See it for SMS or RCS.

Request​

Responses​

The campaign.