Update project webhook
PATCH
Change the URL, the events, or whether the webhook is active. The webhook must already exist.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Body
application/json
urlstring<uri>eventsstring[]One ofinvitation.status_changedbroadcast.status_changeddomain.verifieddomain.failedLimitsmin items 1activeboolean
Responses
200Webhook updated. The secret is not returned.
webhookobjectrequiredThe project-level webhook. It receives project events such as
invitation.status_changedfor this project only: a parent project does not receive its sub-accounts' events, so configure one per sub-account with that sub-account's API key.4 properties
urlstring<uri>requiredeventsstring[]requiredOne ofinvitation.status_changedbroadcast.status_changeddomain.verifieddomain.failedsecretstringSigning secret for
X-Zavu-Signature. Returned only byPOST /v1/invitations/webhook.activebooleanrequired
400No project webhook is configured, or an invalid event was sent.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject