{
  "item": [
    {
      "id": "0748fbdf-c516-4deb-8f6c-1521534161c3",
      "name": "Phone Numbers",
      "description": {
        "content": "WhatsApp Business numbers associated with your account",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "8e65b531-f6c8-478c-b905-9132f843a50a",
          "name": "List WhatsApp Business numbers",
          "request": {
            "name": "List WhatsApp Business numbers",
            "description": {
              "content": "Returns all WhatsApp Business numbers associated with your account with pagination.\nFrom the response, use the `id` field of the number as the `phoneNumberId` in send requests.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "phone-numbers"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "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": "9b2fdda8-cc5d-4b99-90c9-32ee1c8b6ecb",
              "name": "List of numbers",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "phone-numbers"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "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\": 5,\n      \"phoneNumber\": \"+393209998877\",\n      \"displayName\": \"My Business\",\n      \"onboardingScope\": \"RECEIVE_AND_SEND\"\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3e1e2a97-c359-4484-b914-12c154cfbe4c",
              "name": "Invalid or missing credentials",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "phone-numbers"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "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": "6ee4afac-cdca-42a1-9af1-046fb6b38e3b",
          "name": "WhatsApp Business number details",
          "request": {
            "name": "WhatsApp Business number details",
            "description": {},
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "phone-numbers",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "7960",
                  "key": "id",
                  "description": "(Required) WhatsApp Business number ID"
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "14705ceb-a134-4e2f-a258-186c330b7f36",
              "name": "Number details",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "phone-numbers",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "id",
                      "description": "(Required) WhatsApp Business number ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 1780,\n  \"phoneNumber\": \"string\",\n  \"displayName\": \"string\",\n  \"onboardingScope\": \"RECEIVE_AND_SEND\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ff9131f9-d48d-4e85-8095-6adeac0b04bc",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "phone-numbers",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "id",
                      "description": "(Required) WhatsApp Business number 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
          }
        }
      ],
      "event": []
    },
    {
      "id": "a969155c-7b32-4c9d-971a-614e2026d4f0",
      "name": "Templates",
      "description": {
        "content": "WhatsApp template management (CRUD)",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "0dbf771e-d577-4aa1-b8b4-0e25b4765976",
          "name": "List WhatsApp templates",
          "request": {
            "name": "List WhatsApp templates",
            "description": {
              "content": "Returns templates with pagination and optional filters.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "templates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "10",
                  "description": "Maximum number of items per page"
                },
                {
                  "disabled": false,
                  "key": "page",
                  "value": "0",
                  "description": "Page number (0-based)"
                },
                {
                  "disabled": false,
                  "key": "category",
                  "value": "MARKETING",
                  "description": "Filter by category"
                },
                {
                  "disabled": false,
                  "key": "status",
                  "value": "PAUSED",
                  "description": "Filter by status"
                },
                {
                  "disabled": false,
                  "key": "phoneNumberId",
                  "value": "7960",
                  "description": "Filter by phone number"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "47992246-22c2-4585-b6b1-031f900b2d31",
              "name": "List of templates",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "10"
                    },
                    {
                      "key": "page",
                      "value": "0"
                    },
                    {
                      "key": "category",
                      "value": "MARKETING"
                    },
                    {
                      "key": "status",
                      "value": "PAUSED"
                    },
                    {
                      "key": "phoneNumberId",
                      "value": "7960"
                    }
                  ],
                  "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\": 704,\n      \"name\": \"string\",\n      \"lang\": \"string\",\n      \"category\": \"UTILITY\",\n      \"status\": \"REJECTED\"\n    },\n    {\n      \"id\": 7562,\n      \"name\": \"string\",\n      \"lang\": \"string\",\n      \"category\": \"AUTHENTICATION\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a7ebcb27-f93d-43f6-8184-9a907d42c7cf",
          "name": "Create WhatsApp template",
          "request": {
            "name": "Create WhatsApp template",
            "description": {
              "content": "Creates a new WhatsApp template. The template must be approved by Meta before it can be used for sending.\n\n**Supported variants:**\n- Simple text template\n- Template with buttons (URL, phone, quick reply)\n- Template with image/video/document header\n- Template with tracked links in the body\n- Template with tracked links in buttons\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "templates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "phoneNumberId",
                  "value": "7960",
                  "description": "(Required) WhatsApp Business number ID to associate the template with"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"marketing_Welcome\",\n  \"lang\": \"it\",\n  \"category\": \"MARKETING\",\n  \"headerText\": \"Welcome\",\n  \"body\": \"Ciao {firstName} siamo contentissimi di averti tra noi\",\n  \"footer\": \"Per info visita il sito\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "5f49770a-d197-4343-a08b-749963754cba",
              "name": "Template created",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "phoneNumberId",
                      "value": "7960"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"marketing_Welcome\",\n  \"lang\": \"it\",\n  \"category\": \"MARKETING\",\n  \"headerText\": \"Welcome\",\n  \"body\": \"Ciao {firstName} siamo contentissimi di averti tra noi\",\n  \"footer\": \"Per info visita il sito\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 6976,\n  \"name\": \"string\",\n  \"lang\": \"string\",\n  \"category\": \"UTILITY\",\n  \"status\": \"PAUSED\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "507511ff-8549-4cdd-b007-b1b4b8e854e6",
              "name": "Bad request",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "phoneNumberId",
                      "value": "7960"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"marketing_Welcome\",\n  \"lang\": \"it\",\n  \"category\": \"MARKETING\",\n  \"headerText\": \"Welcome\",\n  \"body\": \"Ciao {firstName} siamo contentissimi di averti tra noi\",\n  \"footer\": \"Per info visita il sito\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {\n    \"destination\": \"'destination' can't be blank\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "0851fc3c-2fac-40c8-ad29-5361ea6a4a2f",
          "name": "Template details",
          "request": {
            "name": "Template details",
            "description": {
              "content": "Returns the complete details of a template, including components (header, body, footer, buttons).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "templates",
                ":templateId"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "7960",
                  "key": "templateId",
                  "description": "(Required) Template ID"
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "2d0cb94e-354f-4fdc-999a-cd519c78f093",
              "name": "Template details",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates",
                    ":templateId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "templateId",
                      "description": "(Required) 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\": 6976,\n  \"name\": \"string\",\n  \"lang\": \"string\",\n  \"category\": \"UTILITY\",\n  \"status\": \"PAUSED\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "93152364-3881-4ea2-822c-9697db41d1c4",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates",
                    ":templateId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "templateId",
                      "description": "(Required) 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": "6e4e7c50-d85f-4ff7-ae74-1e828db3c9b4",
          "name": "Update template",
          "request": {
            "name": "Update template",
            "description": {
              "content": "Updates an existing template. Only the provided fields are modified.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "templates",
                ":templateId"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "7960",
                  "key": "templateId",
                  "description": "(Required) Template ID"
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"headerText\": \"Suuuper Welcome\",\n  \"body\": \"Ciao {firstName} siamo gasatissimi di averti tra noi\",\n  \"footer\": \"Sul nostro sito trovi tutte le info\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "82ee8b3a-d35a-4fdf-81e7-069a1e9831fd",
              "name": "Template updated",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates",
                    ":templateId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "templateId",
                      "description": "(Required) Template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"headerText\": \"Suuuper Welcome\",\n  \"body\": \"Ciao {firstName} siamo gasatissimi di averti tra noi\",\n  \"footer\": \"Sul nostro sito trovi tutte le info\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 6976,\n  \"name\": \"string\",\n  \"lang\": \"string\",\n  \"category\": \"UTILITY\",\n  \"status\": \"PAUSED\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b58cbafe-7163-4358-8115-565e85ecd8c6",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates",
                    ":templateId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "templateId",
                      "description": "(Required) Template ID"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"headerText\": \"Suuuper Welcome\",\n  \"body\": \"Ciao {firstName} siamo gasatissimi di averti tra noi\",\n  \"footer\": \"Sul nostro sito trovi tutte le info\"\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": "aa594f27-3c31-4da5-a236-b965097b23f4",
          "name": "Delete template",
          "request": {
            "name": "Delete template",
            "description": {},
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "templates",
                ":templateId"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "7960",
                  "key": "templateId",
                  "description": "(Required) Template ID"
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "bf809e35-e9c9-43c6-95bd-24cc84760a7d",
              "name": "Template deleted",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates",
                    ":templateId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "templateId",
                      "description": "(Required) Template ID"
                    }
                  ]
                },
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "id": "8a1262fe-ba95-46b1-a11d-894588a584b0",
              "name": "Resource not found",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "templates",
                    ":templateId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "7960",
                      "key": "templateId",
                      "description": "(Required) 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": []
    },
    {
      "id": "53f8f354-31da-43ca-839d-97410aa8d010",
      "name": "Send Messages",
      "description": {
        "content": "Send WhatsApp messages",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "99aabc86-39e8-4af7-9bef-4836e06d4fad",
          "name": "Send WhatsApp message",
          "request": {
            "name": "Send WhatsApp message",
            "description": {
              "content": "Sends a WhatsApp message. The content can be:\n- A Meta-**approved template** (`template`)\n- A **free-form message** (`body`) — only within the 24h window from the user's last message\n\nThe `template` and `body` fields are **mutually exclusive**: one of the two is required.\n\n**Fallback:** If the message cannot be delivered via WhatsApp, fallback to RCS and/or SMS can be configured.\n\n**Tracked links:** For templates with tracked links, insert the `shortLinkT1` placeholder in the `placeholders` map with the actual destination URL.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "message-server",
                "whatsapp",
                "send"
              ],
              "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  \"destination\": \"+393401234567\",\n  \"phoneNumberId\": 5,\n  \"template\": {\n    \"id\": 42\n  },\n  \"enableNotification\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "0b0e93d2-28d3-4bfa-be07-34319f2b08c2",
              "name": "Request processed. Check `results.whatsapp.accepted` to verify whether the message was accepted.\n\n**Note:** `accepted: true` means the message was accepted for sending, not that it was delivered. Delivery confirmation arrives via webhook.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"destination\": \"+393401234567\",\n  \"phoneNumberId\": 5,\n  \"template\": {\n    \"id\": 42\n  },\n  \"enableNotification\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"messageId\": \"e76614d1-4ac1-4d94-89f0-d07f1b5a190c\",\n  \"simulation\": false,\n  \"results\": {\n    \"whatsapp\": {\n      \"accepted\": true\n    },\n    \"rcs\": null,\n    \"sms\": null\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d0363c99-4777-498f-90d7-ce773c8b162c",
              "name": "Bad request",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"destination\": \"+393401234567\",\n  \"phoneNumberId\": 5,\n  \"template\": {\n    \"id\": 42\n  },\n  \"enableNotification\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {\n    \"destination\": \"'destination' can't be blank\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5caa99f6-e640-46f4-af2e-8be1c327c162",
              "name": "Invalid or missing credentials",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"destination\": \"+393401234567\",\n  \"phoneNumberId\": 5,\n  \"template\": {\n    \"id\": 42\n  },\n  \"enableNotification\": true\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"
            },
            {
              "id": "3c6ce4b8-5708-4e3f-9f17-ace9464495bc",
              "name": "IP not whitelisted or unauthorized resource",
              "originalRequest": {
                "url": {
                  "path": [
                    "message-server",
                    "whatsapp",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"destination\": \"+393401234567\",\n  \"phoneNumberId\": 5,\n  \"template\": {\n    \"id\": 42\n  },\n  \"enableNotification\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"fail\",\n  \"data\": {}\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "a1a82848-1df5-432e-84ce-5eeeed808f6b",
      "name": "Media",
      "description": {
        "content": "Download media files from inbound messages",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "03aff848-4ef8-44be-bed2-2d8697562de5",
          "name": "Download media file",
          "request": {
            "name": "Download media file",
            "description": {
              "content": "Returns a pre-signed (temporary) URL to download a media file received in an inbound message.\n\n**Flow:**\n1. Receive an inbound callback with `mediaKey`\n2. Call this endpoint with the received `mediaKey`\n3. From the response, use the `url` field to download the file\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "files",
                ":mediaKey"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "expireMinutes",
                  "value": "180",
                  "description": "Pre-signed URL validity duration in minutes"
                }
              ],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "b394ab72/efd4987c/39b4879f6fed01f0d622453be1488c93",
                  "key": "mediaKey",
                  "description": "(Required) Media file key (received in the inbound callback)"
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "d878cca6-2a96-471c-aa14-7f0f2aae0261",
              "name": "Pre-signed URL for download",
              "originalRequest": {
                "url": {
                  "path": [
                    "files",
                    ":mediaKey"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "expireMinutes",
                      "value": "180"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "b394ab72/efd4987c/39b4879f6fed01f0d622453be1488c93",
                      "key": "mediaKey",
                      "description": "(Required) Media file key (received in the inbound callback)"
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"key\": \"4d8f5607/830b788d/9c106b57985ab66cf5c96ca1e9cc95b8\",\n  \"url\": \"https://fs-lora-namespace-public.fsn1.your-objectstorage.com/4d8f5607/830b788d/9c106b57985ab66cf5c96ca1e9cc95b8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=10800&X-Amz-Signature=...\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "92bc4851-8895-47fd-a58a-8b8ba3af4956",
      "name": "Webhooks: Delivery & Inbound",
      "description": {
        "content": "HTTP POST callbacks sent by the system to your URL configured in the platform.\nThese are **not** endpoints to call, but describe the format of the data you will receive.\n",
        "type": "text/plain"
      },
      "item": [],
      "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": "07462ce9-a69a-433d-a787-ee29d089c868",
    "name": "AgileTelecom WhatsApp API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "REST API for sending WhatsApp Business messages, template management, and phone number management.\n\n## Authentication\n\nAll requests require **one** of the following methods:\n\n- **API Key** — Header `X-Api-Key: <api-key>`\n- **Basic Auth** — Header `Authorization: Basic <base64(username:password)>`\n\n## Main features\n\n- Send messages via Meta-approved templates or free-form content\n- Template management (create, update, delete)\n- Fallback chain: WhatsApp → RCS → SMS\n- Delivery, read, and inbound message notifications (webhook)\n- Media file download from inbound messages\n- Tracked links (short links) in the body or template buttons\n\n\nContact Support:\n Name: AgileTelecom",
      "type": "text/plain"
    }
  }
}
