Skip to main content
POST
https://api.telepie.com/v1/
/
rcs
Text with Variables
curl --request POST \
  --url https://api.telepie.com/v1/rcs \
  --header 'apikey: <api-key>'
This endpoint is for text templates with customizable parameters—simple integration, versatile customization.

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
content
array
required
To build a message content object for RCS, typically include various fields such as param, fileUrl( images, video, and other media).
params
string
required
If you have a registered template with placeholders and you need to submit parameter values in the same order as in the template, you can represent this as an array of values. Ensure that the values are not null, and if the template was registered without placeholders, you can submit an empty array.
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 '{
        "campaignName": "rcs-api-sms",
        "botId": "EXPOSE",
        "type": "PRETRANS",
        "number": "+91XXXXXXXXXX",
        "templateName": "text_with_variables",
        "content": [
            {
                "params": [
                    "Bussiness",
                    "API'\''s"
                ]
            }
        ]
    }