Skip to main content
POST
https://api.telepie.com/v1/
/
rcs
Plain Text
curl --request POST \
  --url https://api.telepie.com/v1/rcs \
  --header 'apikey: <api-key>'
This endpoint is used to send an RCS (Rich Communication Services) message using a predefined campaign and template. The message is sent via a specified bot ID and can be targeted to a valid RCS-enabled phone number.

Request Body Parameters

number
string
required
Recipient’s phone number (must be RCS-enabled and in international format) For example, if the number is in the India, the format would be: +91XXXXXXXXXX
templateName
string
required
Name of the message template to be used
botId
string
required
Identifier of the RCS bot used to send the message
type
string
required
Type of message. Typically “PRETRANS” or another predefined type
campaignName
string
The RCS campaign name refers to the specific name or title given to a campaign conducted through RCS
curl -G - /v1/rcs\
-H 'apikey':'string'
-H "Content-Type: application/json" \
-d '{
    "number":"+91XXXXXXXXXX",
    "campaignName": "api-test",
    "botId": "EXPOSE",
    "type": "PRETRANS",
    "templateName""plane_text"
}