Update Webhook Destination
Update a webhook destination. subscribed_events is REPLACED wholesale, not merged — fetch first, append, resend. Secret is not rotated.
Updating subscribed_events
When you send subscribed_events, provide the complete event list that should remain subscribed after the update. The array replaces the previous subscription set.
| Event | What it represents |
|---|---|
status.updated | User Verification (KYC) or Business Verification (KYB) session status changed. |
data.updated | Session verification data changed after creation. |
user.status.updated | User entity status changed. |
user.data.updated | User entity data changed. |
business.status.updated | Business entity status changed. |
business.data.updated | Business entity data changed. |
activity.created | Activity timeline entry created. |
transaction.created | Transaction created and initially evaluated. |
transaction.status.updated | Transaction status changed. |
Authorizations
Path Parameters
UUID of the destination to update.
Body
New human-readable name.
New target URL. Must be unique within the application.
Set to false to pause deliveries to this destination without deleting it.
New payload schema version for future deliveries.
v1, v2, v3 Event filter for this webhook destination. Didit delivers only webhooks whose event type exactly matches one of these values — there is no wildcard subscription. When sent, the list must contain at least one valid event (an explicit [] is rejected with 400); a destination whose list is empty (field omitted at create) receives nothing. On update the list is replaced wholesale, never merged.
1Supported webhook event name. Use these exact strings in subscribed_events; unsupported values are rejected.
status.updated, data.updated, user.status.updated, user.data.updated, business.status.updated, business.data.updated, activity.created, transaction.created, transaction.status.updated ["status.updated", "data.updated"]Response
Updated webhook destination. Body has the same shape as GET /v3/webhook/destinations/{destination_uuid}/.
v1, v2, v3 Event filter for this webhook destination. Didit delivers only webhooks whose event type exactly matches one of these values — there is no wildcard subscription. When sent, the list must contain at least one valid event (an explicit [] is rejected with 400); a destination whose list is empty (field omitted at create) receives nothing. On update the list is replaced wholesale, never merged.
1Supported webhook event name. Use these exact strings in subscribed_events; unsupported values are rejected.
status.updated, data.updated, user.status.updated, user.data.updated, business.status.updated, business.data.updated, activity.created, transaction.created, transaction.status.updated ["status.updated", "data.updated"]