List RCS Templates API
List RCS Templates for SMSGatewayCenter APIs
List RCS Templates API
Use the List RCS Templates API to fetch templates for a bot. This endpoint accepts GET requests and returns JSON.
API Endpoint
https://unify.smsgateway.center/RCSApi/template/list
Authentication
Send userid (your account username) and password as query parameters. 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 whose templates you want to list. | YOUR_BOT_ID |
Sample Request (cURL)
curl --location --request GET 'https://unify.smsgateway.center/RCSApi/template/list?password={{PASSWORD}}&userid=YourUsername&botId={{botId}}'
Sample Success Response
{
"templates": [
{
"data": "{\"templateModel\":{\"name\":\"Flight_Booking\",\"type\":\"carousel\",\"height\":\"SHORT_HEIGHT\",\"width\":\"SMALL_WIDTH\",\"botId\":\"YOUR_BOT_ID\",\"carouselList\":[{\"cardTitle\":\"Your Trip is Confirmed\",\"cardDescription\":\"Mumbai to Dubai\",\"mediaUrl\":\"https://example.com/media/flight.jpg\",\"suggestions\":[{\"suggestionType\":\"reply\",\"displayText\":\"View QR\",\"postback\":\"View QR_[message_id]\",\"preference\":1}]}],\"createdViaApi\":true}}",
"creationTime": 1784978480698,
"botName": "YourBot",
"name": "Flight_Booking",
"updationTime": 1784978480698,
"category": "Promotional",
"type": "carousel",
"status": 1
},
{
"data": "{\"templateModel\":{\"name\":\"TestSoftware\",\"type\":\"rich_card\",\"orientation\":\"VERTICAL\",\"height\":\"MEDIUM_HEIGHT\",\"botId\":\"YOUR_BOT_ID\",\"standAlone\":{\"cardTitle\":\"Enterprise SMS Gateway Software\",\"cardDescription\":\"Deploy a scalable SMS platform.\",\"mediaUrl\":\"https://example.com/media/software.jpg\",\"suggestions\":[{\"suggestionType\":\"reply\",\"displayText\":\"Learn More\",\"postback\":\"Learn More_[message_id]\",\"preference\":1}]},\"createdViaApi\":true}}",
"creationTime": 1784977363605,
"botName": "YourBot",
"name": "TestSoftware",
"updationTime": 1784977363605,
"category": "Promotional",
"type": "rich_card",
"status": 1
}
]
}
Notes
datais a JSON string of the full template model. Parse it in your application.statusof1means the template is active.- Use the template
nameastemplateCodewhen sending RCS.
Testimonials

