Skip to main content

List RCS campaigns

GET 

/api/partner-gateway/campaigns

Returns the campaigns of your account, one page at a time, newest first by creation date.

  • Confirmed campaigns by default: without a status filter only confirmed campaigns are listed (PRE_BILLED onwards). Drafts are left out.
  • Status filters: isDraft, isProgrammed and readyToSend choose the stage to list. readyToSend wins over the other two, and isDraft=true wins over isProgrammed.
  • RCS campaigns only: send sendingMode=RCS, or sendingMode=RCS,RCS_SMS to include those with an SMS fallback. Without sendingMode the list holds the campaigns of every channel. Each mode is matched exactly, so RCS does not include RCS_SMS.
  • Agent: channel=RCS and channelId go together, and keep the campaigns of one RCS agent: channelId is the agent ID.
  • Search: search is a case-insensitive partial match on the campaign name, on the RCS template content and, on RCS_SMS campaigns, on the SMS text. The description is never searched.
  • Date window: startDate and endDate (yyyy-MM-dd) keep the campaigns scheduled in that window, or created in it when they have no scheduledDate. endDate includes the whole day.
  • Keys scoped by channel: a key without CAMPAIGNS lists only the campaigns whose channels it holds (SMS, RCS, WHATSAPP). A sendingMode filter with a channel the key lacks answers 401.
What each status filter lists
FilterCampaigns listed
isDraft=trueNot yet confirmed, including those marked ready to send, which come back with status DRAFT and readyToSend true.
isDraft=falseSame as leaving it out: confirmed campaigns only.
isProgrammed=trueConfirmed and not yet fully sent (PRE_BILLED through STARTED), whether scheduled for later or sending now.
isProgrammed=falseSent, ended or archived.
readyToSend=trueDrafts marked ready to send.
readyToSend=falseThe other drafts.

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

Request​

Responses​

The campaigns that match the filters, one page at a time.