{
  "info": {
    "_postman_id": "a97cf2e2-ae7a-502a-a51d-d46b233d0418",
    "name": "Qlara API - Webhooks",
    "description": "The Webhooks section of API Reference in the Qlara documentation.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "id": "4e00fa78-fade-5bed-a616-4f9a41a48a43",
      "name": "Configure delivery-status webhook",
      "request": {
        "name": "Configure delivery-status webhook",
        "description": {
          "content": "Registers the HTTPS URL that receives your delivery-status events. One URL serves every channel.\n\n- **What produces events**: the messages sent through the SMS, RCS and WhatsApp send APIs, conversation replies included. Campaign messages produce no `DELIVERY` or `READ` event: follow a campaign with `GET /campaigns/{id}` and `GET /campaigns/stats`.\n- **One webhook per account**: if one is already configured, the call answers `409`. Change it with `PUT /webhooks/delivery-status` or remove it with `DELETE /webhooks/delivery-status`. A URL stored with notifications switched off on every channel does not count: this call replaces it.\n- **URL rules**: HTTPS on port 443 or 8443, no credentials, no fragment, and a host that resolves to public addresses only.\n- **Answer `2xx` within 5 seconds**. Otherwise the event is retried, up to 5 attempts in all, at least 5 minutes apart on SMS and at least 10 on RCS and WhatsApp, for messages sent in the last 10 days.\n\n> **Process events idempotently.** An event can arrive more than once.\n\n<details>\n<summary>Events and their fields</summary>\n\nEach event is a JSON object sent with `POST`: `eventType` says which kind it is. Fields without a value are left out.\n\n- **`DELIVERY`** (SMS, RCS, WhatsApp), when the delivery receipt arrives: `eventType`, `channel`, `messageId` (the `customerMessageId` of the send), `destination`, `eventDate`, `price`, `statusCode` and its `description`. An SMS event also carries `totalParts` and `numPart`: one event per message part.\n- **`READ`** (RCS, WhatsApp), when the recipient opens the message: `eventType`, `channel`, `messageId`, `destination`, `eventDate`.\n- **`INBOUND`** (RCS, WhatsApp), when the recipient writes to you: `eventType`, `channel`, `messageId` (the id of the message in the conversation), `source` (the recipient's number), `destination` (your WhatsApp number or RCS agent id), `receivedDate`, `messageType`, `text`, and `mediaKey` for media.\n\nA message still in flight (accepted on SMS, unknown on RCS and WhatsApp) has no receipt yet and produces no event.\n\n</details>\n\n<details>\n<summary>Status codes of a DELIVERY event</summary>\n\n| `statusCode` | `description` | Channels |\n|---|---|---|\n| `0` | unknown | All |\n| `2` | rejected | SMS |\n| `3` | delivered | All |\n| `4` | expired | SMS |\n| `5` | deleted | SMS |\n| `6` | undeliverable | SMS |\n| `9` | general error | RCS, WhatsApp |\n| `10` | disabled | RCS, WhatsApp |\n| `11` | unsupported | RCS, WhatsApp |\n| `12` | conversation closed | WhatsApp |\n\n- **`1` (accepted) is never sent**: an SMS event goes out only once its final receipt arrives.\n- **An RCS or WhatsApp message that expires produces no event**: its `EXPIRED` status shows only when you poll it, with `GET /messages/status`, `GET /rcs/messages/{messageId}`, `GET /whatsapp/messages/{messageId}` or `GET /messages/history`.\n- These are the codes of the Delivery Statuses table in the API overview, and the number the SMS platform's own delivery callback sends as `DELIVERY_STATUS`.\n\n</details>",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "partner-gateway",
            "webhooks",
            "delivery-status"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "method": "POST",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-Key"
            },
            {
              "key": "value",
              "value": "{{apiKey}}"
            },
            {
              "key": "in",
              "value": "header"
            }
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": [
        {
          "id": "1ce06e83-3dcb-50a8-a1ff-c7bce4cb889a",
          "name": "Webhook configured.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Created",
          "code": 201,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"companyId\": 1,\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "b8c385f1-3d38-55a5-af67-6a9868414503",
          "name": "Invalid body: `callbackUrl` is missing or malformed, is not HTTPS, uses a port other than 443 or 8443, or its host is not publicly reachable.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Bad Request",
          "code": 400,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "b63857e1-d059-501f-a3e3-6fa776eca74c",
          "name": "The API key is missing, invalid, or lacks the `WEBHOOKS` operation.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Unauthorized",
          "code": 401,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "5a251aa6-dfe0-5fd5-a078-25154567da90",
          "name": "A webhook is already configured. Change it with `PUT` or remove it with `DELETE`.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Conflict",
          "code": 409,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "c1215809-09ea-5010-a810-6435a9269232",
          "name": "Unexpected server error.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Internal Server Error",
          "code": 500,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        }
      ],
      "event": [],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      }
    },
    {
      "id": "e83d16a6-c293-59c8-add4-cf5ee071ae19",
      "name": "Get delivery-status webhook",
      "request": {
        "name": "Get delivery-status webhook",
        "description": {
          "content": "Returns the HTTPS callback URL that receives the delivery-status events of your account. One URL serves every channel.\n\n- **What it receives**: an HTTP `POST` for every delivery-status event of a message sent through the SMS, RCS or WhatsApp send APIs, conversation replies included. Campaign messages produce no `DELIVERY` or `READ` event.\n- **Changed from the web dashboard**: a webhook with some channels switched off, or with SMS set to another callback format, is still returned. `PUT /webhooks/delivery-status` restores the events described on `POST /webhooks/delivery-status` on every channel.\n- **`404`**: no webhook has been configured yet, or the stored URL has notifications switched off on every channel and so receives no events. Set one up with `POST /webhooks/delivery-status`.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "partner-gateway",
            "webhooks",
            "delivery-status"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "method": "GET",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-Key"
            },
            {
              "key": "value",
              "value": "{{apiKey}}"
            },
            {
              "key": "in",
              "value": "header"
            }
          ]
        }
      },
      "response": [
        {
          "id": "2a19124a-aff0-53b3-a215-13c4ed7b9279",
          "name": "The configured webhook.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {}
          },
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"companyId\": 1,\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status\"\n}",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "6eeb4f89-68f2-5fdd-ac79-8a5cf98ab87e",
          "name": "The API key is missing, invalid, or lacks the `WEBHOOKS` operation.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {}
          },
          "status": "Unauthorized",
          "code": 401,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "9c30b79f-dfd0-5492-adcd-6a8809c380b5",
          "name": "No webhook is configured, or its notifications are switched off on every channel.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {}
          },
          "status": "Not Found",
          "code": 404,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "ce039704-5ac9-5f16-a0f0-ddf787d9ae78",
          "name": "Unexpected server error.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {}
          },
          "status": "Internal Server Error",
          "code": 500,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        }
      ],
      "event": [],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      }
    },
    {
      "id": "814e0d0f-6352-52ba-ac11-67a08d2eae2e",
      "name": "Update delivery-status webhook",
      "request": {
        "name": "Update delivery-status webhook",
        "description": {
          "content": "Replaces the callback URL of the delivery-status webhook. Use it when your endpoint changes: the next events go to the new URL at once.\n\n- **It also switches every channel back on**: notifications are enabled for SMS, RCS and WhatsApp in the JSON format described on `POST /webhooks/delivery-status`. A webhook whose channels were switched off, or whose SMS callbacks were set to another format, from the web dashboard sends every documented event again.\n- **URL rules**: the same as on creation. HTTPS on port 443 or 8443, no credentials, no fragment, and a host that resolves to a publicly reachable address.\n- **It does not create a webhook**: if none is configured the call answers `404`. Create one with `POST /webhooks/delivery-status`. As for `GET /webhooks/delivery-status`, a URL stored with notifications switched off on every channel does not count as configured.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "partner-gateway",
            "webhooks",
            "delivery-status"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "method": "PUT",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-Key"
            },
            {
              "key": "value",
              "value": "{{apiKey}}"
            },
            {
              "key": "in",
              "value": "header"
            }
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": [
        {
          "id": "9dbc01b9-2e5d-58e8-a24c-79cc3875d920",
          "name": "Webhook updated.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"companyId\": 1,\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "8034f449-451d-5fa4-aaea-21da0fedc301",
          "name": "Invalid body: `callbackUrl` is missing or malformed, is not HTTPS, uses a port other than 443 or 8443, or its host is not publicly reachable.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Bad Request",
          "code": 400,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "0c631e04-8c42-5b48-acb5-790a42f6b117",
          "name": "The API key is missing, invalid, or lacks the `WEBHOOKS` operation.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Unauthorized",
          "code": 401,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "88504c3f-d9df-5414-a390-87949f6477e5",
          "name": "No webhook is configured. Create one with `POST /webhooks/delivery-status`.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Not Found",
          "code": 404,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "10d946a8-6a75-5a4a-a619-7d0832ebca4c",
          "name": "Unexpected server error.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callbackUrl\": \"https://your-server.example.com/webhooks/delivery-status-v2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "status": "Internal Server Error",
          "code": 500,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        }
      ],
      "event": [],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      }
    },
    {
      "id": "9516ea45-a13b-57e3-afa5-f246bd129876",
      "name": "Revoke delivery-status webhook",
      "request": {
        "name": "Revoke delivery-status webhook",
        "description": {
          "content": "Removes the delivery-status webhook, permanently. From then on no event is sent to the URL that was configured.\n\n- **Events already on their way** before the deletion can still reach the old URL. That is expected and is not an error.\n- **To receive events again**, create a new webhook with `POST /webhooks/delivery-status`.\n- **Switched-off webhooks too**: a URL stored with notifications switched off on every channel, which `GET /webhooks/delivery-status` does not report, is removed as well.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "partner-gateway",
            "webhooks",
            "delivery-status"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "method": "DELETE",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-Key"
            },
            {
              "key": "value",
              "value": "{{apiKey}}"
            },
            {
              "key": "in",
              "value": "header"
            }
          ]
        }
      },
      "response": [
        {
          "id": "cda9c053-d874-569b-acac-d0c47cd01c08",
          "name": "Webhook removed. No response body.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "body": {}
          },
          "status": "No Content",
          "code": 204,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "64e5f012-497e-57c5-a6a0-f803bd8f51c7",
          "name": "The API key is missing, invalid, or lacks the `WEBHOOKS` operation.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "body": {}
          },
          "status": "Unauthorized",
          "code": 401,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "4e21c93a-b1e0-5f43-acee-308a2e0b5bb4",
          "name": "No callback URL is stored for your account.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "body": {}
          },
          "status": "Not Found",
          "code": 404,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        },
        {
          "id": "e3d72d82-1983-59ce-a25d-4e812235ff2c",
          "name": "Unexpected server error.",
          "originalRequest": {
            "url": {
              "path": [
                "api",
                "partner-gateway",
                "webhooks",
                "delivery-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "body": {}
          },
          "status": "Internal Server Error",
          "code": 500,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "\"\"",
          "cookie": [],
          "_postman_previewlanguage": "json"
        }
      ],
      "event": [],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      }
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-Api-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.qlara.ai",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "YOUR_API_KEY",
      "type": "string"
    }
  ]
}
