Skip to main content
PATCH
/
orgs
/
webhooks
Update a webhook
curl --request PATCH \
  --url https://v2.prod.halliday.xyz/orgs/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "prod-workflows",
  "url": "https://api.yourapp.com/halliday/webhooks/v2"
}
'
{
  "errors": [
    {
      "code": "invalid_type",
      "expected": "string",
      "path": [
        "label"
      ],
      "message": "Invalid input: expected string, received undefined"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
label
string
required

Identifies the webhook to update. Cannot be changed.

Example:

"prod-workflows"

url
string<uri>

Optional. New receiver URL. Must be HTTPS on port 443.

Example:

"https://api.yourapp.com/halliday/webhooks/v2"

auth_header
object

Optional. Set or replace the custom delivery auth header, or pass null to remove an existing one.

Response

Webhook updated successfully (empty body)