{
  "item": [
    {
      "id": "7c7b6984-c6a1-4722-868c-7d4b2f9c2637",
      "name": "Templates",
      "description": {
        "content": "RCS template management (CRUD)",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "66fbf4c3-5234-48f1-b35d-0195becfd01b",
          "name": "List templates",
          "request": {
            "name": "List templates",
            "description": {
              "content": "Returns RCS templates with pagination, filters and sorting.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "rcs",
                "templates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "search",
                  "value": "string",
                  "description": "Full-text search on name and description"
                },
                {
                  "disabled": false,
                  "key": "id",
                  "value": "5604",
                  "description": "Filter by template ID"
                },
                {
                  "disabled": false,
                  "key": "name",
                  "value": "string",
                  "description": "Filter by template name"
                },
                {
                  "disabled": false,
                  "key": "description",
                  "value": "string",
                  "description": "Filter by description"
                },
                {
                  "disabled": false,
                  "key": "type",
                  "value": "CAROUSEL",
                  "description": "Filter by template type"
                },
                {
                  "disabled": false,
                  "key": "enabled",
                  "value": "0",
                  "description": "Filter by enabled status (0 = disabled, 1 = enabled)"
                },
                {
                  "disabled": false,
                  "key": "sortBy",
                  "value": "string",
                  "description": "Field to sort results by"
                },
                {
                  "disabled": false,
                  "key": "sortOrder",
                  "value": "asc",
                  "description": "Sort order"
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "10",
                  "description": "Maximum number of items per page"
                },
                {
                  "disabled": false,
                  "key": "page",
                  "value": "0",
                  "description": "Page number (0-based)"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "d70d3721-f07a-4c85-a900-0d5163943322",
              "name": "Template list",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "search",
                      "value": "string"
                    },
                    {
                      "key": "id",
                      "value": "5604"
                    },
                    {
                      "key": "name",
                      "value": "string"
                    },
                    {
                      "key": "description",
                      "value": "string"
                    },
                    {
                      "key": "type",
                      "value": "CAROUSEL"
                    },
                    {
                      "key": "enabled",
                      "value": "1"
                    },
                    {
                      "key": "sortBy",
                      "value": "string"
                    },
                    {
                      "key": "sortOrder",
                      "value": "asc"
                    },
                    {
                      "key": "limit",
                      "value": "10"
                    },
                    {
                      "key": "page",
                      "value": "0"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"rcs_welcome\",\n      \"description\": \"Template di benvenuto\",\n      \"type\": \"TEXT\",\n      \"enabled\": true,\n      \"body\": {\n        \"text\": \"Ciao {name}! Benvenuto.\",\n        \"fallbackSms\": {\n          \"sender\": \"AZIENDA\",\n          \"text\": \"Ciao {name}! Benvenuto.\"\n        }\n      }\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5acf2646-796d-4eb6-bece-b8a729b2f875",
              "name": "Invalid or missing credentials",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "search",
                      "value": "string"
                    },
                    {
                      "key": "id",
                      "value": "5604"
                    },
                    {
                      "key": "name",
                      "value": "string"
                    },
                    {
                      "key": "description",
                      "value": "string"
                    },
                    {
                      "key": "type",
                      "value": "CAROUSEL"
                    },
                    {
                      "key": "enabled",
                      "value": "1"
                    },
                    {
                      "key": "sortBy",
                      "value": "string"
                    },
                    {
                      "key": "sortOrder",
                      "value": "asc"
                    },
                    {
                      "key": "limit",
                      "value": "10"
                    },
                    {
                      "key": "page",
                      "value": "0"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {}\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "5add3b8d-a759-4ae8-96da-19190a89a472",
          "name": "Create template",
          "request": {
            "name": "Create template",
            "description": {
              "content": "Creates a new RCS template. The `body` field varies based on the specified `type`:\n\n- **TEXT**: plain text with optional suggestions\n- **CARD**: rich card with media, title and description\n- **CAROUSEL**: carousel of cards with media\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "rcs",
                "templates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"rcs_welcome\",\n  \"description\": \"Template di benvenuto\",\n  \"type\": \"TEXT\",\n  \"body\": {\n    \"text\": \"Ciao {name}! Benvenuto.\",\n    \"fallbackSms\": {\n      \"sender\": \"AZIENDA\",\n      \"text\": \"Ciao {name}! Benvenuto.\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "7b9c123d-dc8d-429c-89c9-1ede48b28156",
              "name": "Template created",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"rcs_welcome\",\n  \"description\": \"Template di benvenuto\",\n  \"type\": \"TEXT\",\n  \"body\": {\n    \"text\": \"Ciao {name}! Benvenuto.\",\n    \"fallbackSms\": {\n      \"sender\": \"AZIENDA\",\n      \"text\": \"Ciao {name}! Benvenuto.\"\n    }\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 5668,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"type\": \"CARD\",\n  \"enabled\": false,\n  \"body\": {\n    \"text\": \"string\",\n    \"suggestions\": [\n      {\n        \"type\": \"string\",\n        \"text\": \"string\",\n        \"reply\": {},\n        \"url\": {\n          \"url\": \"string\"\n        },\n        \"dial\": {\n          \"phoneNumber\": \"string\"\n        },\n        \"locationCoordinates\": {\n          \"latitude\": 62.5034258770274,\n          \"longitude\": 19.43777992911788,\n          \"label\": \"string\"\n        },\n        \"locationQuery\": {\n          \"query\": \"string\"\n        },\n        \"calendar\": {\n          \"startTime\": \"1995-12-26T09:49:57.195Z\",\n          \"endTime\": \"2003-03-13T23:52:12.633Z\",\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      },\n      {\n        \"type\": \"string\",\n        \"text\": \"string\",\n        \"reply\": {},\n        \"url\": {\n          \"url\": \"string\"\n        },\n        \"dial\": {\n          \"phoneNumber\": \"string\"\n        },\n        \"locationCoordinates\": {\n          \"latitude\": 4458.351936381539,\n          \"longitude\": 1125.524889134416,\n          \"label\": \"string\"\n        },\n        \"locationQuery\": {\n          \"query\": \"string\"\n        },\n        \"calendar\": {\n          \"startTime\": \"2011-05-18T15:18:21.024Z\",\n          \"endTime\": \"1974-10-11T10:50:45.562Z\",\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      }\n    ],\n    \"ttlSeconds\": 9226,\n    \"fallbackSms\": {\n      \"sender\": \"string\",\n      \"text\": \"string\"\n    },\n    \"fallbackWhatsApp\": {\n      \"phoneNumberId\": 7941,\n      \"body\": {},\n      \"template\": {}\n    }\n  },\n  \"createdAt\": \"2024-09-18T16:01:53.501Z\",\n  \"updatedAt\": \"2026-03-03T13:26:30.256Z\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b078ee89-2325-4860-ad47-c17c566224c5",
              "name": "Invalid request",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"rcs_welcome\",\n  \"description\": \"Template di benvenuto\",\n  \"type\": \"TEXT\",\n  \"body\": {\n    \"text\": \"Ciao {name}! Benvenuto.\",\n    \"fallbackSms\": {\n      \"sender\": \"AZIENDA\",\n      \"text\": \"Ciao {name}! Benvenuto.\"\n    }\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {\n    \"name\": \"'name' can't be blank\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b037cf8d-28ea-41df-9314-10301e4efd70",
              "name": "Invalid or missing credentials",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"rcs_welcome\",\n  \"description\": \"Template di benvenuto\",\n  \"type\": \"TEXT\",\n  \"body\": {\n    \"text\": \"Ciao {name}! Benvenuto.\",\n    \"fallbackSms\": {\n      \"sender\": \"AZIENDA\",\n      \"text\": \"Ciao {name}! Benvenuto.\"\n    }\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {}\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "619e2bd7-a87f-441e-9f08-9b3bdf0518c0",
          "name": "Template details",
          "request": {
            "name": "Template details",
            "description": {
              "content": "Returns the full details of an RCS template.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "rcs",
                "templates",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "5604",
                  "key": "id",
                  "description": "(Required) RCS template ID"
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "b9c50618-1840-476a-8a76-b6864fc8401f",
              "name": "Template details",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 5668,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"type\": \"CARD\",\n  \"enabled\": false,\n  \"body\": {\n    \"text\": \"string\",\n    \"suggestions\": [\n      {\n        \"type\": \"string\",\n        \"text\": \"string\",\n        \"reply\": {},\n        \"url\": {\n          \"url\": \"string\"\n        },\n        \"dial\": {\n          \"phoneNumber\": \"string\"\n        },\n        \"locationCoordinates\": {\n          \"latitude\": 62.5034258770274,\n          \"longitude\": 19.43777992911788,\n          \"label\": \"string\"\n        },\n        \"locationQuery\": {\n          \"query\": \"string\"\n        },\n        \"calendar\": {\n          \"startTime\": \"1995-12-26T09:49:57.195Z\",\n          \"endTime\": \"2003-03-13T23:52:12.633Z\",\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      },\n      {\n        \"type\": \"string\",\n        \"text\": \"string\",\n        \"reply\": {},\n        \"url\": {\n          \"url\": \"string\"\n        },\n        \"dial\": {\n          \"phoneNumber\": \"string\"\n        },\n        \"locationCoordinates\": {\n          \"latitude\": 4458.351936381539,\n          \"longitude\": 1125.524889134416,\n          \"label\": \"string\"\n        },\n        \"locationQuery\": {\n          \"query\": \"string\"\n        },\n        \"calendar\": {\n          \"startTime\": \"2011-05-18T15:18:21.024Z\",\n          \"endTime\": \"1974-10-11T10:50:45.562Z\",\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      }\n    ],\n    \"ttlSeconds\": 9226,\n    \"fallbackSms\": {\n      \"sender\": \"string\",\n      \"text\": \"string\"\n    },\n    \"fallbackWhatsApp\": {\n      \"phoneNumberId\": 7941,\n      \"body\": {},\n      \"template\": {}\n    }\n  },\n  \"createdAt\": \"2024-09-18T16:01:53.501Z\",\n  \"updatedAt\": \"2026-03-03T13:26:30.256Z\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "89b8ab72-e6e8-45eb-8c8f-72f3026377e4",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": \"Resource not found\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "7162ba13-8cf1-4beb-8b65-353f307a00e1",
          "name": "Update template",
          "request": {
            "name": "Update template",
            "description": {
              "content": "Updates an existing RCS template. All fields are optional; only the provided fields are updated.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "rcs",
                "templates",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "5604",
                  "key": "id",
                  "description": "(Required) RCS template ID"
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"rcs_welcome_v2\",\n  \"description\": \"Template di benvenuto aggiornato\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "208febb8-d823-4414-b01d-c476f8862c7f",
              "name": "Template updated",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"rcs_welcome_v2\",\n  \"description\": \"Template di benvenuto aggiornato\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 5668,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"type\": \"CARD\",\n  \"enabled\": false,\n  \"body\": {\n    \"text\": \"string\",\n    \"suggestions\": [\n      {\n        \"type\": \"string\",\n        \"text\": \"string\",\n        \"reply\": {},\n        \"url\": {\n          \"url\": \"string\"\n        },\n        \"dial\": {\n          \"phoneNumber\": \"string\"\n        },\n        \"locationCoordinates\": {\n          \"latitude\": 62.5034258770274,\n          \"longitude\": 19.43777992911788,\n          \"label\": \"string\"\n        },\n        \"locationQuery\": {\n          \"query\": \"string\"\n        },\n        \"calendar\": {\n          \"startTime\": \"1995-12-26T09:49:57.195Z\",\n          \"endTime\": \"2003-03-13T23:52:12.633Z\",\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      },\n      {\n        \"type\": \"string\",\n        \"text\": \"string\",\n        \"reply\": {},\n        \"url\": {\n          \"url\": \"string\"\n        },\n        \"dial\": {\n          \"phoneNumber\": \"string\"\n        },\n        \"locationCoordinates\": {\n          \"latitude\": 4458.351936381539,\n          \"longitude\": 1125.524889134416,\n          \"label\": \"string\"\n        },\n        \"locationQuery\": {\n          \"query\": \"string\"\n        },\n        \"calendar\": {\n          \"startTime\": \"2011-05-18T15:18:21.024Z\",\n          \"endTime\": \"1974-10-11T10:50:45.562Z\",\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      }\n    ],\n    \"ttlSeconds\": 9226,\n    \"fallbackSms\": {\n      \"sender\": \"string\",\n      \"text\": \"string\"\n    },\n    \"fallbackWhatsApp\": {\n      \"phoneNumberId\": 7941,\n      \"body\": {},\n      \"template\": {}\n    }\n  },\n  \"createdAt\": \"2024-09-18T16:01:53.501Z\",\n  \"updatedAt\": \"2026-03-03T13:26:30.256Z\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "670891a3-927e-464a-88d7-ebc7c9b28d4d",
              "name": "Invalid request",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"rcs_welcome_v2\",\n  \"description\": \"Template di benvenuto aggiornato\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {\n    \"name\": \"'name' can't be blank\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9fafc9e8-d43b-496a-bb09-29695dd5d953",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"rcs_welcome_v2\",\n  \"description\": \"Template di benvenuto aggiornato\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": \"Resource not found\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "cb9f5f09-835e-4799-b4d4-6b880ea1c9f1",
          "name": "Delete template",
          "request": {
            "name": "Delete template",
            "description": {
              "content": "Deletes an RCS template.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "rcs",
                "templates",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "5604",
                  "key": "id",
                  "description": "(Required) RCS template ID"
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "812b5904-974a-4b23-ba5c-3d9df5a3172b",
              "name": "Template deleted",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "90eaeb12-14f8-45d8-bf33-d6eb8425518d",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "rcs",
                    "templates",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "5604",
                      "key": "id",
                      "description": "(Required) RCS template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": \"Resource not found\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://lora-api.agiletelecom.com",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "YOUR_API_KEY",
      "type": "string"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-Api-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "info": {
    "_postman_id": "72eab99a-cf27-4ce1-a3d9-16f156ca7292",
    "name": "AgileTelecom RCS Template API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "REST API for RCS template management. Supports three template types: TEXT (plain text), CARD (rich card with media) and CAROUSEL (card carousel). Each template can include interactive suggestions and fallback configuration for WhatsApp and SMS.\n\nContact Support:\n Name: AgileTelecom",
      "type": "text/plain"
    }
  }
}
