Skip to main content
PATCH
Update a workflow webhook
Send only what you want to change:
  • enabled: false turns it off, and its URL answers 404 and starts nothing. true turns it back on.
  • require_signature: true refuses any POST without a valid signature. See Signing.
Needs workflows:write, plus workflows:invoke to turn it on.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Path Parameters

slug
string
required

Body

application/json

Only what is sent changes.

enabled
boolean | null
require_signature
boolean | null

Response

Successful Response

id
string
required
workflow_id
string
required
enabled
boolean
required
url_preview
string
required

The URL with its secret part hidden.

require_signature
boolean
required

On: a delivery without a valid signature is refused (401).

rate_limit_per_minute
integer
required
created_by
string
required
workflow_slug
string | null
url
string | null

The full URL to POST to. Only for someone who may change the workflow; null otherwise (see url_preview).

signing_secret
string | null

HMAC-SHA256 key for X-Valendata-Signature. Only for someone who may change the workflow.

previous_secret_valid_until
string | null

After a secret rotation the old secret is still accepted until then.

max_body_bytes
integer
default:1048576
max_wait_seconds
integer
default:30
inputs
string[]

The workflow's inputs a field of the same name fills; everything sent also arrives as the input payload.

last_delivery_at
string | null
created_at
string | null
updated_at
string | null