Bulk Upload Campaign

Use Bulk Upload Campaign APIs to send RCS text or template messages to many recipients through a batch upload process.

Endpoint details

FieldValue
Endpoint URLhttps://apis.rmlconnect.net/rcs/v1/bulk_message
MethodPOST
Content-Typeapplication/json
Authentication RequiredYes

Authentication

Pass a valid access token in the Authorization header.

Request headers

HeaderRequiredDescription
AuthorizationYesValid access token for authentication.
Content-TypeYesMust be application/json.

Campaign types

Bulk text campaign

Send a text message campaign using a recipient or variable file URL.

Bulk template campaign

Send a template message campaign with variables using a batch upload process.

Request examples

Bulk Upload for a Text Message

Trigger a text message campaign through a chatbot. The payload includes campaign metadata, message content, and an optional file URL such as a CSV with dynamic variables or a recipient list.

Request body parameters

FieldTypeDescription
typestringMessage type. Use text.
country_codestringCountry code for the recipients.
campaign_namestringCampaign name.
file_urlstringPublic file URL, such as a CSV with variables or recipients.
bot_namestringRCS bot name.
textstringText message content.

Request body

{
  "type": "text",
  "country_code": "+32",
  "campaign_name": "PXSTest",
  "file_url": "https://node-media-uploader.s3.ap-south-1.amazonaws.com/17398887stestingvars.csv",
  "bot_name": "xxxxxxxx",
  "text": "Hello,testingfromRoute"
}

Response

The request has been received successfully.

Error response

No error response example is provided for this operation.

Bulk Upload for a Template Message

Send template messages to many recipients simultaneously using a batch upload process. Use this for personalized and interactive messages at scale.

Request body parameters

FieldTypeDescription
typestringMessage type. Use template.
country_codestringCountry code for the recipients.
campaign_namestringCampaign name.
file_urlstringPublic file URL, such as a CSV with variables or recipients.
bot_namestringRCS bot name.
templateobjectTemplate details including template name and variables.

Request body

{
  "type": "template",
  "country_code": "+91",
  "campaign_name": "PXSTest",
  "file_url": "https://node-media-uploader.s3.ap-south-1.amazonaws.com/1739888723705rcstestingvars.csv",
  "bot_name": "RouteOTP",
  "template": {
    "name": "valetst",
    "variables": {
      "name": "RouteMobile",
      "OTP": "6798",
      "urllabel": "VisitUs",
      "reply": "Excited",
      "postback1": "reply",
      "url": "products/enhanced-business-messaging/rcs-business-messaging",
      "dialerlabel": "CallUs",
      "postback2": "visits"
    }
  }
}

Response

{
  "message": "Message request has been created",
  "id": "9f8d32c0-1f60-11f0-8d0c-0a58a9fedgrc02"
}

Error response

No error response example is provided for this operation.



Did this page help you?