Get an RCS 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 (the RCS template inrcsTemplateBody, andsmsBodyfor an SMS fallback), the recipients (contactListIds,destinations) and thescheduledDate, if any. - Results:
totalDestinations,totalSuccess,totalFailedand the RCS counters, plus the SMS ones for a fallback.
GET /campaigns/{id} is one endpoint for SMS, RCS and WhatsApp: this page describes it for RCS. See it for SMS 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.