{
	"info": {
		"_postman_id": "rcs-api-collection",
		"name": "MultiChannel API - RCS",
		"description": "Complete RCS (Rich Communication Services) API collection for creating templates, sending rich messages, and managing campaigns.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "multichannel-rcs-api"
	},
	"item": [
		{
			"name": "Create RCS Template",
			"item": [
				{
					"name": "Plain Text Template",
					"item": [
						{
							"name": "Without Personalization",
							"item": [
								{
									"name": "Without CTA",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"welcome_message\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Welcome to our service! We're here to help you.\"\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a plain text RCS template without any CTA buttons. Simple text message only.\n\n**Note:** Suggestions are optional for plain text templates."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"welcome_message\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Welcome to our service! We're here to help you.\"\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 42\n}"
								}
							]
						},
						{
							"name": "With CTA Buttons",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"welcome_message_cta\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Welcome to our service! Click below to get started.\",\n      \"suggestions\": [\n        {\n          \"action\": {\n            \"plainText\": \"Visit Website\",\n            \"openUrl\": {\n              \"url\": \"https://example.com\"\n            }\n          }\n        },\n        {\n          \"reply\": {\n            \"plainText\": \"Get Help\",\n            \"postBack\": {\n              \"data\": \"help\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a plain text RCS template with CTA buttons. Maximum 4 CTA buttons allowed.\n\n**Suggestions:**\n- `action`: Interactive buttons (openUrl, dialerAction, createCalendarEvent, showLocation)\n- `reply`: Quick reply buttons"
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"welcome_message_cta\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Welcome to our service! Click below to get started.\",\n      \"suggestions\": [\n        {\n          \"action\": {\n            \"plainText\": \"Visit Website\",\n            \"openUrl\": {\n              \"url\": \"https://example.com\"\n            }\n          }\n        },\n        {\n          \"reply\": {\n            \"plainText\": \"Get Help\",\n            \"postBack\": {\n              \"data\": \"help\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 43\n}"
								}
							]
						}
							]
						},
						{
							"name": "With Personalization",
							"item": [
								{
									"name": "Without CTA",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Authorization",
												"value": "Bearer {{api_token}}",
												"type": "text"
											},
											{
												"key": "Content-Type",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"welcome_message_personalized\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Hello {{name}}, welcome to our service! Your phone number is {{phone}} and email is {{email}}.\"\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										},
										"description": "Creates a personalized plain text RCS template without CTA buttons. Uses variables like {{name}}, {{phone}}, {{email}} for personalization.\n\n**Note:** When sending messages, provide personalization data to replace these variables."
									},
									"response": [
										{
											"name": "Success Response",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n  \"template_name\": \"welcome_message_personalized\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Hello {{name}}, welcome to our service! Your phone number is {{phone}} and email is {{email}}.\"\n    }\n  }\n}",
													"options": {
														"raw": {
															"language": "json"
														}
													}
												},
												"url": {
													"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
													"host": ["{{base_url}}"],
													"path": ["api", "v1", "rcs", "storeTemplate"]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 44\n}"
										}
									]
								},
								{
									"name": "With CTA Buttons",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Authorization",
												"value": "Bearer {{api_token}}",
												"type": "text"
											},
											{
												"key": "Content-Type",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"welcome_message_personalized_cta\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Hello {{name}}, welcome to our service from {{place}}! Your phone number is {{number}}.\",\n      \"suggestions\": [\n        {\n          \"action\": {\n            \"plainText\": \"Visit Website\",\n            \"openUrl\": {\n              \"url\": \"https://example.com\"\n            }\n          }\n        },\n        {\n          \"reply\": {\n            \"plainText\": \"Get Help\",\n            \"postBack\": {\n              \"data\": \"help\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										},
										"description": "Creates a personalized plain text RCS template with CTA buttons. Uses variables like {{name}}, {{place}}, {{number}} for personalization.\n\n**Note:** When sending messages, provide personalization data to replace these variables."
									},
									"response": [
										{
											"name": "Success Response",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n  \"template_name\": \"welcome_message_personalized_cta\",\n  \"template_type\": \"plain_text\",\n  \"data\": {\n    \"content\": {\n      \"plainText\": \"Hello {{name}}, welcome to our service from {{place}}! Your phone number is {{number}}.\",\n      \"suggestions\": [\n        {\n          \"action\": {\n            \"plainText\": \"Visit Website\",\n            \"openUrl\": {\n              \"url\": \"https://example.com\"\n            }\n          }\n        },\n        {\n          \"reply\": {\n            \"plainText\": \"Get Help\",\n            \"postBack\": {\n              \"data\": \"help\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}",
													"options": {
														"raw": {
															"language": "json"
														}
													}
												},
												"url": {
													"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
													"host": ["{{base_url}}"],
													"path": ["api", "v1", "rcs", "storeTemplate"]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 45\n}"
										}
									]
								}
							]
						}
					]
				},
				{
					"name": "Standalone Card Template",
					"item": [
						{
							"name": "Without Personalization",
							"item": [
								{
									"name": "With URL Action",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"product_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"Special Offer\",\n            \"cardDescription\": \"Get 50% off on all products today!\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"visit_now_election24\"\n                  },\n                  \"openUrl\": {\n                    \"url\": \"https://elections24.eci.gov.in/\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a standalone rich card template with URL action button. Opens a URL when clicked.\n\n**Note:** Suggestions are required for standalone templates. Maximum 4 CTA buttons allowed per card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"product_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"Special Offer\",\n            \"cardDescription\": \"Get 50% off on all products today!\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"visit_now_election24\"\n                  },\n                  \"openUrl\": {\n                    \"url\": \"https://elections24.eci.gov.in/\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 43\n}"
								}
							]
						},
						{
							"name": "With Reply Suggestion",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"product_card_reply\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"Special Offer\",\n            \"cardDescription\": \"Get 50% off on all products today!\",\n            \"suggestions\": [\n              {\n                \"reply\": {\n                  \"plainText\": \"Yes, Absolutely\",\n                  \"postBack\": {\n                    \"data\": \"suggestion_1\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a standalone rich card template with reply suggestion button. Sends a quick reply message when clicked.\n\n**Note:** Suggestions are required for standalone templates. Maximum 4 CTA buttons allowed per card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"product_card_reply\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"Special Offer\",\n            \"cardDescription\": \"Get 50% off on all products today!\",\n            \"suggestions\": [\n              {\n                \"reply\": {\n                  \"plainText\": \"Yes, Absolutely\",\n                  \"postBack\": {\n                    \"data\": \"suggestion_1\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 44\n}"
								}
							]
						},
						{
							"name": "With Calendar Event Action",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"calendar_event_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"RCS Seminar\",\n            \"cardDescription\": \"Join us for an informative session\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Mark Your Calendar\",\n                  \"postBack\": {\n                    \"data\": \"SA1L1C1\"\n                  },\n                  \"createCalendarEvent\": {\n                    \"startTime\": \"2023-06-26T15:01:23Z\",\n                    \"endTime\": \"2023-06-26T18:01:23Z\",\n                    \"title\": \"RCS Seminar\",\n                    \"description\": \"Session 1 of 4\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a standalone rich card template with calendar event action. Adds an event to the user's calendar when clicked.\n\n**Note:** Suggestions are required for standalone templates. Maximum 4 CTA buttons allowed per card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"calendar_event_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"RCS Seminar\",\n            \"cardDescription\": \"Join us for an informative session\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Mark Your Calendar\",\n                  \"postBack\": {\n                    \"data\": \"SA1L1C1\"\n                  },\n                  \"createCalendarEvent\": {\n                    \"startTime\": \"2023-06-26T15:01:23Z\",\n                    \"endTime\": \"2023-06-26T18:01:23Z\",\n                    \"title\": \"RCS Seminar\",\n                    \"description\": \"Session 1 of 4\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 45\n}"
								}
							]
						},
						{
							"name": "With Location Action",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"location_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"Visit Our Store\",\n            \"cardDescription\": \"Find us at our location\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"SA1L1C1\"\n                  },\n                  \"showLocation\": {\n                    \"coordinAtes\": {\n                      \"latitude\": 21.5937,\n                      \"longitude\": 78.9629\n                    },\n                    \"label\": \"Label - Show Location\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a standalone rich card template with location action. Opens the location in maps when clicked.\n\n**Note:** Suggestions are required for standalone templates. Maximum 4 CTA buttons allowed per card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"location_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"Visit Our Store\",\n            \"cardDescription\": \"Find us at our location\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"SA1L1C1\"\n                  },\n                  \"showLocation\": {\n                    \"coordinAtes\": {\n                      \"latitude\": 21.5937,\n                      \"longitude\": 78.9629\n                    },\n                    \"label\": \"Label - Show Location\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 46\n}"
								}
							]
						},
						{
							"name": "With Dialer Action",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"dialer_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"Call Us Now\",\n            \"cardDescription\": \"Speak with our support team\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Dial Now\",\n                  \"postBack\": {\n                    \"data\": \"SA1L1C1\"\n                  },\n                  \"dialerAction\": {\n                    \"phoneNumber\": \"+918779619155\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a standalone rich card template with dialer action. Initiates a phone call when clicked.\n\n**Note:** Suggestions are required for standalone templates. Maximum 4 CTA buttons allowed per card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"dialer_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"Call Us Now\",\n            \"cardDescription\": \"Speak with our support team\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Dial Now\",\n                  \"postBack\": {\n                    \"data\": \"SA1L1C1\"\n                  },\n                  \"dialerAction\": {\n                    \"phoneNumber\": \"+918779619155\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 47\n}"
								}
							]
						},
						{
							"name": "With Multiple CTA Buttons (Max 4)",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"multi_cta_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"Special Offer\",\n            \"cardDescription\": \"Get 50% off on all products today!\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"visit_now\"\n                  },\n                  \"openUrl\": {\n                    \"url\": \"https://example.com/\"\n                  }\n                }\n              },\n              {\n                \"reply\": {\n                  \"plainText\": \"Yes, Absolutely\",\n                  \"postBack\": {\n                    \"data\": \"suggestion_1\"\n                  }\n                }\n              },\n              {\n                \"action\": {\n                  \"plainText\": \"Dial Now\",\n                  \"postBack\": {\n                    \"data\": \"dial_action\"\n                  },\n                  \"dialerAction\": {\n                    \"phoneNumber\": \"+918779619155\"\n                  }\n                }\n              },\n              {\n                \"action\": {\n                  \"plainText\": \"Show Location\",\n                  \"postBack\": {\n                    \"data\": \"location_action\"\n                  },\n                  \"showLocation\": {\n                    \"coordinAtes\": {\n                      \"latitude\": 21.5937,\n                      \"longitude\": 78.9629\n                    },\n                    \"label\": \"Our Store Location\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a standalone rich card template with multiple CTA buttons (maximum 4 allowed). This example shows a combination of URL action, reply, dialer, and location actions.\n\n**Note:** Suggestions are required for standalone templates. Maximum 4 CTA buttons allowed per card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"multi_cta_card\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"Special Offer\",\n            \"cardDescription\": \"Get 50% off on all products today!\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"visit_now\"\n                  },\n                  \"openUrl\": {\n                    \"url\": \"https://example.com/\"\n                  }\n                }\n              },\n              {\n                \"reply\": {\n                  \"plainText\": \"Yes, Absolutely\",\n                  \"postBack\": {\n                    \"data\": \"suggestion_1\"\n                  }\n                }\n              },\n              {\n                \"action\": {\n                  \"plainText\": \"Dial Now\",\n                  \"postBack\": {\n                    \"data\": \"dial_action\"\n                  },\n                  \"dialerAction\": {\n                    \"phoneNumber\": \"+918779619155\"\n                  }\n                }\n              },\n              {\n                \"action\": {\n                  \"plainText\": \"Show Location\",\n                  \"postBack\": {\n                    \"data\": \"location_action\"\n                  },\n                  \"showLocation\": {\n                    \"coordinAtes\": {\n                      \"latitude\": 21.5937,\n                      \"longitude\": 78.9629\n                    },\n                    \"label\": \"Our Store Location\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 48\n}"
								}
							]
						}
							]
						},
						{
							"name": "With Personalization",
							"item": [
								{
									"name": "With URL Action",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Authorization",
												"value": "Bearer {{api_token}}",
												"type": "text"
											},
											{
												"key": "Content-Type",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"product_card_personalized\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\",\n                \"forceRefresh\": false\n              }\n            },\n            \"cardTitle\": \"Special Offer for {{name}}\",\n            \"cardDescription\": \"Hello {{name}} from {{place}}, get 50% off! Your phone number is {{number}} and email is {{email}}.\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"visit_now\"\n                  },\n                  \"openUrl\": {\n                    \"url\": \"https://example.com/\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										},
										"description": "Creates a personalized standalone rich card template with URL action. Uses variables like {{name}}, {{place}}, {{number}}, {{email}} for personalization.\n\n**Note:** Suggestions are required for standalone templates. When sending messages, provide personalization data to replace these variables."
									},
									"response": [
										{
											"name": "Success Response",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n  \"template_name\": \"product_card_personalized\",\n  \"template_type\": \"standalone\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"standalone\": {\n          \"cardOrientation\": \"VERTICAL\",\n          \"content\": {\n            \"cardMedia\": {\n              \"mediaHeight\": \"MEDIUM\",\n              \"contentInfo\": {\n                \"fileUrl\": \"https://example.com/image.jpg\"\n              }\n            },\n            \"cardTitle\": \"Special Offer for {{name}}\",\n            \"cardDescription\": \"Hello {{name}} from {{place}}, get 50% off! Your phone number is {{number}} and email is {{email}}.\",\n            \"suggestions\": [\n              {\n                \"action\": {\n                  \"plainText\": \"Visit Now\",\n                  \"postBack\": {\n                    \"data\": \"visit_now\"\n                  },\n                  \"openUrl\": {\n                    \"url\": \"https://example.com/\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      }\n    }\n  }\n}",
													"options": {
														"raw": {
															"language": "json"
														}
													}
												},
												"url": {
													"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
													"host": ["{{base_url}}"],
													"path": ["api", "v1", "rcs", "storeTemplate"]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 52\n}"
										}
									]
								}
							]
						}
					]
				},
				{
					"name": "Carousel Template",
					"item": [
						{
							"name": "Without Personalization",
							"item": [
								{
									"name": "Basic Carousel with URL Actions",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"product_carousel\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 1\",\n              \"cardDescription\": \"Description for product 1\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 2\",\n              \"cardDescription\": \"Description for product 2\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a basic carousel template with URL action buttons. Each card can have up to 4 CTA buttons.\n\n**Note:** Suggestions are required for each carousel card. Maximum 8 cards allowed per carousel."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"product_carousel\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 1\",\n              \"cardDescription\": \"Description for product 1\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 2\",\n              \"cardDescription\": \"Description for product 2\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 49\n}"
								}
							]
						},
						{
							"name": "Carousel with Multiple CTA Buttons (Max 4 per card)",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"multi_cta_carousel\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Special Offer\",\n              \"cardDescription\": \"Get 50% off on all products today!\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/\"\n                    }\n                  }\n                },\n                {\n                  \"reply\": {\n                    \"plainText\": \"Yes, Absolutely\",\n                    \"postBack\": {\n                      \"data\": \"suggestion_1\"\n                    }\n                  }\n                },\n                {\n                  \"action\": {\n                    \"plainText\": \"Dial Now\",\n                    \"dialerAction\": {\n                      \"phoneNumber\": \"+918779619155\"\n                    }\n                  }\n                },\n                {\n                  \"action\": {\n                    \"plainText\": \"Show Location\",\n                    \"showLocation\": {\n                      \"coordinAtes\": {\n                        \"latitude\": 21.5937,\n                        \"longitude\": 78.9629\n                      },\n                      \"label\": \"Our Store Location\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a carousel template with multiple CTA buttons per card (maximum 4 allowed per card). This example shows URL, reply, dialer, and location actions.\n\n**Note:** Suggestions are required for each carousel card. Maximum 8 cards allowed per carousel."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"multi_cta_carousel\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Special Offer\",\n              \"cardDescription\": \"Get 50% off on all products today!\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/\"\n                    }\n                  }\n                },\n                {\n                  \"reply\": {\n                    \"plainText\": \"Yes, Absolutely\",\n                    \"postBack\": {\n                      \"data\": \"suggestion_1\"\n                    }\n                  }\n                },\n                {\n                  \"action\": {\n                    \"plainText\": \"Dial Now\",\n                    \"dialerAction\": {\n                      \"phoneNumber\": \"+918779619155\"\n                    }\n                  }\n                },\n                {\n                  \"action\": {\n                    \"plainText\": \"Show Location\",\n                    \"showLocation\": {\n                      \"coordinAtes\": {\n                        \"latitude\": 21.5937,\n                        \"longitude\": 78.9629\n                      },\n                      \"label\": \"Our Store Location\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 50\n}"
								}
							]
						},
						{
							"name": "Carousel with Maximum 8 Cards",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"template_name\": \"max_cards_carousel\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 1\",\n              \"cardDescription\": \"Description for product 1\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product1\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 2\",\n              \"cardDescription\": \"Description for product 2\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product2\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 3\",\n              \"cardDescription\": \"Description for product 3\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product3\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 4\",\n              \"cardDescription\": \"Description for product 4\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product4\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 5\",\n              \"cardDescription\": \"Description for product 5\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product5\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 6\",\n              \"cardDescription\": \"Description for product 6\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product6\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 7\",\n              \"cardDescription\": \"Description for product 7\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product7\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 8\",\n              \"cardDescription\": \"Description for product 8\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product8\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "storeTemplate"]
								},
								"description": "Creates a carousel template with maximum 8 cards. Each card must have suggestions (required). Maximum 4 CTA buttons allowed per card.\n\n**Note:** Carousel must have between 2 and 8 cards. Suggestions are required for each card."
							},
							"response": [
								{
									"name": "Success Response",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"max_cards_carousel\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 1\",\n              \"cardDescription\": \"Description for product 1\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"View Details\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com/product1\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 51\n}"
								}
							]
						}
							]
						},
						{
							"name": "With Personalization",
							"item": [
								{
									"name": "Basic Carousel with Personalization",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Authorization",
												"value": "Bearer {{api_token}}",
												"type": "text"
											},
											{
												"key": "Content-Type",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n  \"template_name\": \"product_carousel_personalized\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 1\",\n              \"cardDescription\": \"{{name}} form {{place}} and phone number is {{number}} with {{email}}\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 2\",\n              \"cardDescription\": \"{{phone}} Description {{name}} for {{product}} 2\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
											"host": ["{{base_url}}"],
											"path": ["api", "v1", "rcs", "storeTemplate"]
										},
										"description": "Creates a personalized carousel template with URL action buttons. Uses variables like {{name}}, {{place}}, {{number}}, {{email}}, {{phone}}, {{product}} for personalization.\n\n**Note:** Suggestions are required for each carousel card. Maximum 8 cards allowed per carousel. When sending messages, provide personalization data to replace these variables."
									},
									"response": [
										{
											"name": "Success Response",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n  \"template_name\": \"product_carousel_personalized\",\n  \"template_type\": \"carousel\",\n  \"data\": {\n    \"content\": {\n      \"richCardDetails\": {\n        \"carousel\": {\n          \"cardWidth\": \"MEDIUM_WIDTH\",\n          \"contents\": [\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 1\",\n              \"cardDescription\": \"{{name}} form {{place}} and phone number is {{number}} with {{email}}\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            },\n            {\n              \"cardMedia\": {\n                \"mediaHeight\": \"MEDIUM\",\n                \"contentInfo\": {\n                  \"fileUrl\": \"https://www.wikihow.com/images/2/22/Get-the-URL-for-Pictures-Step-30-Version-2.jpg\"\n                }\n              },\n              \"cardTitle\": \"Product 2\",\n              \"cardDescription\": \"{{phone}} Description {{name}} for {{product}} 2\",\n              \"suggestions\": [\n                {\n                  \"action\": {\n                    \"plainText\": \"Visit Now\",\n                    \"openUrl\": {\n                      \"url\": \"https://example.com\"\n                    }\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    }\n  }\n}",
													"options": {
														"raw": {
															"language": "json"
														}
													}
												},
												"url": {
													"raw": "{{base_url}}/api/v1/rcs/storeTemplate",
													"host": ["{{base_url}}"],
													"path": ["api", "v1", "rcs", "storeTemplate"]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"body": "{\n  \"success\": true,\n  \"message\": \"Template stored successfully\",\n  \"template_id\": 53\n}"
										}
									]
								}
							]
						}
					]
				}
			]
		},
		{
			"name": "Get RCS Templates",
			"item": [
				{
					"name": "Get All Templates",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{api_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/api/v1/rcs/templates",
							"host": ["{{base_url}}"],
							"path": ["api", "v1", "rcs", "templates"]
						},
						"description": "Retrieves all RCS templates for the authenticated user. Returns templates with their type, status, and full content structure."
					},
					"response": [
						{
							"name": "Success Response",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}"
									}
								],
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/templates",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "templates"]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"template_id\": 42,\n      \"template_name\": \"welcome_message\",\n      \"template_type\": \"plain_text\",\n      \"status\": \"approved\",\n      \"data\": {\n        \"content\": {\n          \"plainText\": \"Welcome to our service!\"\n        }\n      }\n    }\n  ]\n}"
						}
					]
				},
				{
					"name": "Get Single Template",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{api_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/api/v1/rcs/templates/:id",
							"host": ["{{base_url}}"],
							"path": ["api", "v1", "rcs", "templates", ":id"],
							"variable": [
								{
									"key": "id",
									"value": "42",
									"description": "Template ID for RCS template"
								}
							]
						},
						"description": "Retrieves a specific RCS template by ID with complete structure including all cards, suggestions, and actions."
					},
					"response": [
						{
							"name": "Success Response",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/templates/:id",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "templates", ":id"]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"body": "{\n  \"success\": true,\n  \"data\": {\n    \"template_id\": 42,\n    \"template_name\": \"welcome_message\",\n    \"template_type\": \"plain_text\",\n    \"status\": \"approved\",\n    \"data\": {\n      \"content\": {\n        \"plainText\": \"Welcome to our service!\",\n        \"suggestions\": []\n      }\n    }\n  }\n}"
						}
					]
				}
			]
		},
		{
			"name": "Send RCS Message",
			"item": [
				{
					"name": "Without Personalization",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{api_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"templateId\": 42,\n  \"contacts\": [\"9876543210\", \"9123456780\", \"9988776655\"]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/api/v1/rcs/sendMessage",
							"host": ["{{base_url}}"],
							"path": ["api", "v1", "rcs", "sendMessage"]
						},
						"description": "Sends RCS messages to multiple recipients using an approved template. Same message is sent to all recipients.\n\n**Parameters:**\n- `templateId`: ID of approved RCS template (must be approved, status=1)\n- `contacts`: Array of 10-digit phone numbers (max 50 when no personalization)\n\n**Note:** Template must be approved before use. Check template status via Get Templates endpoint."
					},
					"response": [
						{
							"name": "Success Response",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{api_token}}"
									},
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"templateId\": 42,\n  \"contacts\": [\"9876543210\", \"9123456780\"]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/sendMessage",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "sendMessage"]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"body": "{\n  \"status\": \"accepted\",\n  \"referenceId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
						},
						{
							"name": "Insufficient Balance",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"templateId\": 42,\n  \"contacts\": [\"9876543210\"]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/sendMessage",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "sendMessage"]
								}
							},
							"status": "Unprocessable Entity",
							"code": 422,
							"_postman_previewlanguage": "json",
							"body": "{\n  \"errors\": {\n    \"balance\": [\"Insufficient balance.\"]\n  }\n}"
						}
					]
				},
				{
					"name": "With Personalization",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{api_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"templateId\": 42,\n  \"contacts\": [\"9876543210\"],\n  \"personalization\": [\n    {\n      \"name\": \"John Doe\",\n      \"email\": \"john@example.com\",\n      \"otp\": \"123456\"\n    }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/api/v1/rcs/sendMessage",
							"host": ["{{base_url}}"],
							"path": ["api", "v1", "rcs", "sendMessage"]
						},
						"description": "Sends a personalized RCS message to a single recipient with custom data.\n\n**Parameters:**\n- `templateId`: ID of approved RCS template\n- `contacts`: Array with exactly 1 contact (10-digit number)\n- `personalization`: Array with exactly 1 object containing variables matching template placeholders (e.g., {{name}}, {{email}}, {{otp}})\n\n**Important:**\n- When personalization is provided, only 1 contact is allowed per request\n- Personalization array must contain exactly 1 object\n- Template must support the variables used in personalization"
					},
					"response": [
						{
							"name": "Success Response",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"templateId\": 42,\n  \"contacts\": [\"9876543210\"],\n  \"personalization\": [\n    {\n      \"name\": \"John Doe\",\n      \"email\": \"john@example.com\"\n    }\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/sendMessage",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "sendMessage"]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"body": "{\n  \"status\": \"accepted\",\n  \"referenceId\": \"550e8400-e29b-41d4-a716-446655440001\"\n}"
						},
						{
							"name": "Validation Error",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"templateId\": 42,\n  \"contacts\": [\"9876543210\", \"9123456780\"],\n  \"personalization\": [\n    {\n      \"name\": \"John\"\n    }\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/api/v1/rcs/sendMessage",
									"host": ["{{base_url}}"],
									"path": ["api", "v1", "rcs", "sendMessage"]
								}
							},
							"status": "Unprocessable Entity",
							"code": 422,
							"_postman_previewlanguage": "json",
							"body": "{\n  \"errors\": {\n    \"contacts\": [\"When personalization is provided, only 1 contact is allowed per request.\"]\n  }\n}"
						}
					]
				}
			]
		}
	],
	"variable": [
		{
			"key": "base_url",
			"value": "https://example.com",
			"type": "string",
			"description": "Base URL for the API. Update this with your actual domain."
		},
		{
			"key": "api_token",
			"value": "YOUR_API_TOKEN_HERE",
			"type": "string",
			"description": "Your API authentication token. Get this from the developer dashboard after generating an API key."
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{api_token}}",
				"type": "string"
			}
		]
	}
}

