Get an SMS 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:
statusnames the stage the campaign is in; the values are listed on the field. A campaign marked ready to send is reported asDRAFTwithreadyToSendtrue. - Configuration:
sendingMode, the message content (smsBody), the recipients (contactListIds,destinations) and thescheduledDate, if any. - Results:
totalDestinations,totalSuccess,totalFailedand the SMS counters.
GET /campaigns/{id} is one endpoint for SMS, RCS and WhatsApp: this page describes it for SMS. See it for RCS or WhatsApp.
Request
Responses
- 200
- 401
- 404
The campaign.
The API key is missing or invalid, or holds neither CAMPAIGNS nor the operation of every channel of the campaign's sendingMode.
No campaign with this ID in your account.