PUT/v1/webhooks/{id}

Update webhooks

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Path parameters

idstringrequiredmin length 24max length 24

Request body application/json

idstringnullable
tenant_idstringnullable
created_atstring (date-time)
updated_atstring (date-time)
namestringrequiredmin length 1
typestringnullable
webhook_urlstring (uri)requiredmin length 1
payload_formatstringnullable
response_mappingstringnullable
trigger_actionsarray of stringrequired
signature_typestringnullable
emailNotifyobjectEmailNotify
enabledboolean
recipientsarray of stringnullable
descriptionstringnullable

Responses

No response body.

curl --request PUT \
  --url 'https://api.4comply.io/v1/webhooks/00000000-0000-0000-0000-' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "00000000-0000-0000-0000-000000000000",
  "tenant_id": "your-tenant-id",
  "created_at": "2026-09-07T12:00:00Z",
  "updated_at": "2026-09-07T12:00:00Z",
  "name": "Example name",
  "type": "string",
  "webhook_url": "https://example.com",
  "payload_format": "string",
  "response_mapping": "string",
  "trigger_actions": [
    "string"
  ],
  "signature_type": "string",
  "emailNotify": {
    "enabled": true,
    "recipients": [
      "string"
    ]
  },
  "description": "Example text"
}'