CalryOTA Docs
Outgoing Webhooks

Update your webhook

Updates the caller’s outgoing webhook app: its URLs and events. Its signing secret stays the same.

PATCH
/api/v1/outgoing-webhooks

Authorization

x-calry-api-key
x-calry-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v1/outgoing-webhooks" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "workspaceID": "123e4567-e89b-12d3-a456-426614174000",
  "channelID": "5f6cf80d-6517-4ccd-a3b4-744f5e571201",
  "events": [
    "RESERVATION_CREATED"
  ],
  "urls": [
    "https://api.example.com/webhooks/onseason"
  ],
  "signature": {
    "header": "x-zepl-signature-webhook",
    "format": "t=<unix seconds>,v1=<signature>",
    "algorithm": "HMAC-SHA256",
    "signedContent": "<t>.<raw body>",
    "encoding": "hex",
    "toleranceSeconds": 86400,
    "secret": "string"
  },
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-02T00:00:00.000Z"
}
{
  "message": "Listing not found",
  "errorCode": "string",
  "details": [
    {
      "property": "checkInDate",
      "messages": [
        "checkInDate must be a valid ISO 8601 date string"
      ]
    }
  ],
  "timestamp": "2026-12-02T11:45:49.631Z",
  "path": "/api/v1/listing/abc"
}
{
  "message": "Listing not found",
  "errorCode": "string",
  "details": [
    {
      "property": "checkInDate",
      "messages": [
        "checkInDate must be a valid ISO 8601 date string"
      ]
    }
  ],
  "timestamp": "2026-12-02T11:45:49.631Z",
  "path": "/api/v1/listing/abc"
}