Create RCS Template API
Create RCS Template for SMSGatewayCenter APIs
Create RCS Template API
Use the Create RCS Template API to submit a new RCS template for a bot. This endpoint accepts POST with application/x-www-form-urlencoded and returns JSON.
API Endpoint
https://unify.smsgateway.center/RCSApi/template/create
Authentication
Send userid (your account username) and password in the request body. Do not publish live usernames or passwords.
| Parameter | Required | Description | Example/Value |
|---|---|---|---|
| userid | Yes | Your SMSGatewayCenter account username. | YourUsername |
| password | Yes | Your account password. | ********** |
| botId | Yes | RCS bot identifier that will own the template. | YOUR_BOT_ID |
| templateData | Yes | JSON string describing the template (name, type, category, content, and optional suggestions). | See sample request |
Sample Request (cURL)
curl --location --request POST 'https://unify.smsgateway.center/RCSApi/template/create' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'password={{PASSWORD}}' \
--data-urlencode 'userid=YourUsername' \
--data-urlencode 'botId={{botId}}' \
--data-urlencode 'templateData={
"name": "my_text_template",
"type": "text_message",
"templateState": "Create",
"fallbackText": "",
"category": "TRANSACTIONAL",
"textMessageContent": "Hello [name], your OTP is [otp].",
"suggestions": []
}'
Sample Success Response
{
"reason": "Accepted for processing.",
"templateName": "my_text_template",
"status": "success",
"statusCode": "200"
}
Notes
- Supported
typevalues includetext_message,rich_card, andcarousel. - Use placeholders such as
[name]and[otp]in template text where personalization is needed. - After create, list templates with the List RCS Templates API.
Testimonials

