{"info":{"_postman_id":"6952aad3-719e-4309-9938-610564a6f894","name":"RCS API Collection","description":"<html><head></head><body><p>Postman collection for Single, Bulk, Template, and Conversation Messaging API.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"41668878","collectionId":"6952aad3-719e-4309-9938-610564a6f894","publishedId":"2sBXitDnfN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-13T07:32:40.000Z"},"item":[{"name":"Single Messaging","id":"faf58c34-c04c-4381-93ac-45f053117e01","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"temp_name\",\n\"customParam\": {\n\"CUSTOM_PARAM\": \"para_value\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/send/{{MOBILE_NUMBER}}","urlObject":{"protocol":"https","path":["rcsapi","send","{{MOBILE_NUMBER}}"],"host":["{{DOMAIN}}"],"query":[{"disabled":true,"key":"messageId","value":"{{MESSAGE_ID}}"}],"variable":[]}},"response":[{"id":"daafae28-16b1-47a8-b162-fcff31bf09c9","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"temp_name\",\n\"customParam\": {\n\"CUSTOM_PARAM\": \"para_value\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/send/{{MOBILE_NUMBER}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"messageId\": \"msg_9f3a1b2c4d5e6f7a\",\n  \"to\": \"9199981xxxx\",\n  \"templateName\": \"temp_name\",\n  \"sentAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"8b96c672-32ce-4e08-a348-31f1ce0c2e97","name":"400 - Invalid Template","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"invalid_template\",\n\"customParam\": {\n\"CUSTOM_PARAM\": \"para_value\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/send/{{MOBILE_NUMBER}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"Template 'invalid_template' not found or inactive.\"\n}"},{"id":"f4221c37-1538-4e24-a76b-37d68039d6ae","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"invalid_key","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"temp_name\",\n\"customParam\": {\n\"CUSTOM_PARAM\": \"para_value\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/send/{{MOBILE_NUMBER}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 401,\n  \"message\": \"Invalid or missing API key.\"\n}"}],"_postman_id":"faf58c34-c04c-4381-93ac-45f053117e01"},{"name":"Bulk Messaging","id":"d9771f1b-5bef-4510-a671-09a77db40ede","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"mobiles\": [\n\"99981xxxxx\",\n\"99980xxxxx\"\n],\n\"template\": \"tem_name\",\n\"campName\": \"camp_name\"\n}"},"url":"https://{{DOMAIN}}/rcsapi/sendbulk","urlObject":{"protocol":"https","path":["rcsapi","sendbulk"],"host":["{{DOMAIN}}"],"query":[],"variable":[]}},"response":[{"id":"e0acbac9-b844-4288-ab4b-96fa98895ce0","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"mobiles\": [\n\"9199981xxxx\",\n\"9199980xxxx\"\n],\n\"template\": \"tem_name\",\n\"campName\": \"camp_name\"\n}"},"url":"https://{{DOMAIN}}/rcsapi/sendbulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"campaignId\": \"camp_7a8b9c0d1e2f\",\n  \"campaignName\": \"camp_name\",\n  \"templateName\": \"tem_name\",\n  \"totalRecipients\": 2,\n  \"queued\": 2,\n  \"failed\": 0,\n  \"submittedAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"7ce2d4cc-3fcb-4543-8463-e8ebb756623c","name":"207 - Partial Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"mobiles\": [\n\"9199981xxxxx\",\n\"invalidnumber\"\n],\n\"template\": \"tem_name\",\n\"campName\": \"camp_name\"\n}"},"url":"https://{{DOMAIN}}/rcsapi/sendbulk"},"status":"Multi-Status","code":207,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"partial_success\",\n  \"campaignId\": \"camp_7a8b9c0d1e2f\",\n  \"totalRecipients\": 2,\n  \"queued\": 1,\n  \"failed\": 1,\n  \"errors\": [\n    {\n      \"mobile\": \"invalidnumber\",\n      \"reason\": \"Invalid mobile number format\"\n    }\n  ]\n}"},{"id":"bf163195-adfa-409e-925f-4eb413348206","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"mobiles\": [],\n\"template\": \"tem_name\",\n\"campName\": \"camp_name\"\n}"},"url":"https://{{DOMAIN}}/rcsapi/sendbulk"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"'mobiles' array must contain at least one number.\"\n}"}],"_postman_id":"d9771f1b-5bef-4510-a671-09a77db40ede"},{"name":"Fetch Templates","id":"becbf136-3116-4b9d-a23a-15b0a9307f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{DOMAIN}}/rcsapi/fetchTemplates?apikey={{API_KEY}}","urlObject":{"protocol":"https","path":["rcsapi","fetchTemplates"],"host":["{{DOMAIN}}"],"query":[{"key":"apikey","value":"{{API_KEY}}"}],"variable":[]}},"response":[{"id":"10281344-84d3-484d-b991-381366e358cf","name":"200 - Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{DOMAIN}}/rcsapi/fetchTemplates?apikey={{API_KEY}}","protocol":"https","host":["{{DOMAIN}}"],"path":["rcsapi","fetchTemplates"],"query":[{"key":"apikey","value":"{{API_KEY}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"total\": 3,\n  \"templates\": [\n    {\n      \"templateName\": \"welcome_message\",\n      \"type\": \"text_message\",\n      \"status\": \"active\",\n      \"createdAt\": \"2025-01-10T08:00:00Z\"\n    },\n    {\n      \"templateName\": \"order_update\",\n      \"type\": \"text_message\",\n      \"status\": \"active\",\n      \"createdAt\": \"2025-01-11T09:15:00Z\"\n    },\n    {\n      \"templateName\": \"product_carousel\",\n      \"type\": \"carousel\",\n      \"status\": \"active\",\n      \"createdAt\": \"2025-01-12T11:30:00Z\"\n    }\n  ]\n}"},{"id":"71f5f848-f853-44d3-ac6e-fcdcfe926482","name":"200 - No Templates Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{DOMAIN}}/rcsapi/fetchTemplates?apikey={{API_KEY}}","protocol":"https","host":["{{DOMAIN}}"],"path":["rcsapi","fetchTemplates"],"query":[{"key":"apikey","value":"{{API_KEY}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"total\": 0,\n  \"templates\": []\n}"},{"id":"149f882a-3090-4938-8d10-43b6598eddf3","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{DOMAIN}}/rcsapi/fetchTemplates?apikey=invalid_key","protocol":"https","host":["{{DOMAIN}}"],"path":["rcsapi","fetchTemplates"],"query":[{"key":"apikey","value":"invalid_key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 401,\n  \"message\": \"Invalid or missing API key.\"\n}"}],"_postman_id":"becbf136-3116-4b9d-a23a-15b0a9307f36"},{"name":"Conversation API - Text Message","id":"48d02dd7-f6ee-4dd3-ac18-d903c4461270","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"key\": \"conversation_key\",\n  \"value\": {\n    \"content\": {\n      \"plainText\": \"Your message here\"\n    }\n  }\n}"},"url":"https://{{DOMAIN}}/rcsapi/conversation","urlObject":{"protocol":"https","path":["rcsapi","conversation"],"host":["{{DOMAIN}}"],"query":[],"variable":[]}},"response":[{"id":"7c41f290-3b77-4359-b638-93ead43dbfb4","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"key\": \"conversation_key\",\n  \"value\": {\n    \"content\": {\n      \"plainText\": \"Your message here\"\n    }\n  }\n}"},"url":"https://{{DOMAIN}}/rcsapi/conversation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"messageId\": \"conv_3c4d5e6f7a8b9c0d\",\n  \"conversationKey\": \"conversation_key\",\n  \"type\": \"text\",\n  \"sentAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"a4b88715-0544-439c-b1d6-54179e37a260","name":"400 - Missing Key","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"value\": {\n    \"content\": {\n      \"plainText\": \"Your message here\"\n    }\n  }\n}"},"url":"https://{{DOMAIN}}/rcsapi/conversation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"'key' is required for conversation API.\"\n}"}],"_postman_id":"48d02dd7-f6ee-4dd3-ac18-d903c4461270"},{"name":"Conversation API - With Suggestions","id":"f1c93453-906a-42e7-bf68-ccd3d65222d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"key\": \"conversation_key\",\n  \"value\": {\n    \"content\": {\n      \"plainText\": \"Your message here\",\n      \"suggestions\": [\n        {\n          \"reply\": {\n            \"plainText\": \"Suggestion 1\",\n            \"postBack\": {\n              \"data\": \"suggestion_1_data\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}"},"url":"https://{{DOMAIN}}/rcsapi/conversation","urlObject":{"protocol":"https","path":["rcsapi","conversation"],"host":["{{DOMAIN}}"],"query":[],"variable":[]}},"response":[{"id":"f90e8eff-f682-4785-abf7-65fdf3d834c6","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"key\": \"conversation_key\",\n  \"value\": {\n    \"content\": {\n      \"plainText\": \"Your message here\",\n      \"suggestions\": [\n        {\n          \"reply\": {\n            \"plainText\": \"Suggestion 1\",\n            \"postBack\": {\n              \"data\": \"suggestion_1_data\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}"},"url":"https://{{DOMAIN}}/rcsapi/conversation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"messageId\": \"conv_5e6f7a8b9c0d1e2f\",\n  \"conversationKey\": \"conversation_key\",\n  \"type\": \"text_with_suggestions\",\n  \"suggestionsCount\": 1,\n  \"sentAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"5318cc32-b79c-46d7-84c0-726164442527","name":"400 - Invalid Suggestion Format","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"key\": \"conversation_key\",\n  \"value\": {\n    \"content\": {\n      \"plainText\": \"Your message here\",\n      \"suggestions\": \"invalid\"\n    }\n  }\n}"},"url":"https://{{DOMAIN}}/rcsapi/conversation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"'suggestions' must be an array of suggestion objects.\"\n}"}],"_postman_id":"f1c93453-906a-42e7-bf68-ccd3d65222d7"},{"name":"send message - Custom Parameters","id":"63ebc7f4-6002-4b31-bc5b-f583a01b15ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"ff09d540-1169-11f1-92ed-00155d010b10"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"temp_name\",\n\"customParam\": {\n\"CUSTOM_PARAM0\": \"test\",\n\"CUSTOM_PARAM1\": \"hi\",\n\"CUSTOM_PARAM2\": \"te\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://rcs.alendei.io/rcsapi/send/9199981xxxxx","urlObject":{"protocol":"https","path":["rcsapi","send","9199981xxxxx"],"host":["rcs","alendei","io"],"query":[{"disabled":true,"key":"messageId","value":"1123"}],"variable":[]}},"response":[{"id":"95a21482-65ef-4c11-8d18-6081ec10539d","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"ff09d540-1169-11f1-92ed-00155d010b10"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"temp_name\",\n\"customParam\": {\n\"CUSTOM_PARAM0\": \"test\",\n\"CUSTOM_PARAM1\": \"hi\",\n\"CUSTOM_PARAM2\": \"te\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://rcs.alendei.io/rcsapi/send/9199981xxxxx"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"messageId\": \"msg_a1b2c3d4e5f6g7h8\",\n  \"to\": \"9199981xxxxx\",\n  \"templateName\": \"temp_name\",\n  \"customParams\": {\n    \"CUSTOM_PARAM0\": \"test\",\n    \"CUSTOM_PARAM1\": \"hi\",\n    \"CUSTOM_PARAM2\": \"te\"\n  },\n  \"sentAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"ea48e6d9-2230-43eb-953c-1fbad3c7d05a","name":"400 - Custom Param Mismatch","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"ff09d540-1169-11f1-92ed-00155d010b10"}],"body":{"mode":"raw","raw":"{\n  \"templateName\": \"temp_name\",\n\"customParam\": {\n\"CUSTOM_PARAM0\": \"test\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"https://rcs.alendei.io/rcsapi/send/9199981xxxxx"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"Custom parameter count mismatch. Template expects 3 parameters, but 1 provided.\"\n}"}],"_postman_id":"63ebc7f4-6002-4b31-bc5b-f583a01b15ba"},{"name":"CreateTemplate - Custom Parameters","id":"e6cc4c72-beec-41af-9639-5c760aaedcf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"\n{\n \"type\": \"text_message\",\n \"templateName\": \"temp_name\",\n \"textMessageContent\": \"Hello [NAME], your order [ORDER_ID] is ready!\",\n \"suggestions\": [{ \"suggestionType\": \"reply\", \"displayText\": \"Thanks [NAME]\" }]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation","urlObject":{"protocol":"https","path":["rcsapi","templateCreation"],"host":["{{DOMAIN}}"],"query":[],"variable":[]}},"response":[{"id":"281013e0-6d40-43ce-821d-fdf3e236a3de","name":"201 - Template Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"{\n \"type\": \"text_message\",\n \"templateName\": \"temp_name\",\n \"textMessageContent\": \"Hello [NAME], your order [ORDER_ID] is ready!\",\n \"suggestions\": [{ \"suggestionType\": \"reply\", \"displayText\": \"Thanks [NAME]\" }]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"templateName\": \"temp_name\",\n  \"type\": \"text_message\",\n  \"customParams\": [\"NAME\", \"ORDER_ID\"],\n  \"suggestionsCount\": 1,\n  \"createdAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"fe2cec73-636c-4de6-9618-3dab2d6a0fe4","name":"409 - Template Already Exists","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"{\n \"type\": \"text_message\",\n \"templateName\": \"temp_name\",\n \"textMessageContent\": \"Hello [NAME], your order [ORDER_ID] is ready!\",\n \"suggestions\": [{ \"suggestionType\": \"reply\", \"displayText\": \"Thanks [NAME]\" }]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 409,\n  \"message\": \"Template 'temp_name' already exists. Use a unique template name.\"\n}"},{"id":"983704a0-6258-4a76-9d94-09fedf00a262","name":"400 - Missing Required Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"{\n \"type\": \"text_message\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"'templateName' and 'textMessageContent' are required fields.\"\n}"}],"_postman_id":"e6cc4c72-beec-41af-9639-5c760aaedcf6"},{"name":"CreateTemplate - carousel","id":"c32a05c4-e053-46a4-a203-7a3560140056","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"\n{\n    \"type\": \"carousel\",\n    \"templateName\": \"test_23306\",\n    \"cardWidth\": \"MEDIUM_WIDTH\",\n    \"cards\": [\n        {\n            \"cardTitle\": \"Nike Air Max\",\n            \"cardDescription\": \"Lightweight shoes\",\n            \"mediaUrl\": \"https://res.cloudinary.com/dfahccaci/image/upload/v1758276970/cld-sample-5.jpg\",\n            \"mediaHeight\": \"MEDIUM\",\n            \"suggestions\": [\n                {\n                    \"suggestionType\": \"url_action\",\n                    \"displayText\": \"Buy\",\n                    \"url\": \"https://www.nike.in/\"\n                }\n            ]\n        },\n        {\n            \"cardTitle\": \"Adidas Ultraboost\",\n            \"cardDescription\": \"Premium sneakers\",\n            \"mediaUrl\": \"hhttps://res.cloudinary.com/dfahccaci/image/upload/v1758276970/cld-sample-3.jpg\",\n            \"mediaHeight\": \"MEDIUM\",\n            \"suggestions\": [\n                {\n                    \"suggestionType\": \"url_action\",\n                    \"displayText\": \"Buy\",\n                    \"url\": \"https://www.adidas.co.in/\"\n                }\n            ]\n        }\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation","urlObject":{"protocol":"https","path":["rcsapi","templateCreation"],"host":["{{DOMAIN}}"],"query":[],"variable":[]}},"response":[{"id":"6f107d20-7830-4a7b-869b-f78047ed6bbb","name":"201 - Carousel Template Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"carousel\",\n    \"templateName\": \"test_23306\",\n    \"cardWidth\": \"MEDIUM_WIDTH\",\n    \"cards\": [\n        {\n            \"cardTitle\": \"Nike Air Max\",\n            \"cardDescription\": \"Lightweight shoes\",\n            \"mediaUrl\": \"https://res.cloudinary.com/dfahccaci/image/upload/v1758276970/cld-sample-5.jpg\",\n            \"mediaHeight\": \"MEDIUM\",\n            \"suggestions\": [{ \"suggestionType\": \"url_action\", \"displayText\": \"Buy\", \"url\": \"https://www.nike.in/\" }]\n        },\n        {\n            \"cardTitle\": \"Adidas Ultraboost\",\n            \"cardDescription\": \"Premium sneakers\",\n            \"mediaUrl\": \"https://res.cloudinary.com/dfahccaci/image/upload/v1758276970/cld-sample-3.jpg\",\n            \"mediaHeight\": \"MEDIUM\",\n            \"suggestions\": [{ \"suggestionType\": \"url_action\", \"displayText\": \"Buy\", \"url\": \"https://www.adidas.co.in/\" }]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"templateName\": \"test_23306\",\n  \"type\": \"carousel\",\n  \"cardWidth\": \"MEDIUM_WIDTH\",\n  \"totalCards\": 2,\n  \"cards\": [\n    {\n      \"cardTitle\": \"Nike Air Max\",\n      \"suggestionsCount\": 1\n    },\n    {\n      \"cardTitle\": \"Adidas Ultraboost\",\n      \"suggestionsCount\": 1\n    }\n  ],\n  \"createdAt\": \"2025-01-15T10:30:00Z\"\n}"},{"id":"668b423e-9c5a-4987-8326-9bb0d7088bd4","name":"400 - Minimum Cards Not Met","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"carousel\",\n    \"templateName\": \"test_single_card\",\n    \"cardWidth\": \"MEDIUM_WIDTH\",\n    \"cards\": [\n        { \"cardTitle\": \"Nike Air Max\", \"cardDescription\": \"Lightweight shoes\" }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 400,\n  \"message\": \"Carousel template requires a minimum of 2 cards.\"\n}"},{"id":"1e6f2aa6-7af9-4a0b-9961-d5e7034b4219","name":"409 - Template Already Exists","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"carousel\",\n    \"templateName\": \"test_23306\",\n    \"cardWidth\": \"MEDIUM_WIDTH\",\n    \"cards\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://{{DOMAIN}}/rcsapi/templateCreation"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"code\": 409,\n  \"message\": \"Template 'test_23306' already exists. Use a unique template name.\"\n}"}],"_postman_id":"c32a05c4-e053-46a4-a203-7a3560140056"}]}