Delete a Webhook
DELETE/webhooks/:webhook_id
Deletes a webhook created for the account associated with the authenticated client.
Request
Path Parameters
DELETE /webhooks/:webhook_id parameter
Responses
- 200
- 400
DELETE /webhooks/:webhook_id Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Possible values: [1.0
]
The version of the response schema
Possible values: [deleted
]
Returns a single object of the webhook resource which was deleted.
Possible values: [webhook
]
Data contains the webhook resource.
data objectrequired
The resource data that was deleted.
The unique identifier of the webhook endpoint
The name of the webhook. This is only used to help you identify the webhook.
Possible values: [webhook
]
The URL of the webhook endpoint. Must be HTTPS.
The webhook secret. This is used tfor the HMAC signature of the webhook request, which is included in a header called x-zigned-request-signature
Possible values: [production
, development
]
The type of the webhook endpoint. Development webhooks will only receive events from agreements with test_mode set to true.
scope object required
The scope of the webhook notifications. If set to user, only events related to the agreements created by the scoped user will be sent. If set to global, all events will be sent.
Possible values: [user
]
The unique identifier of the user
Possible values: [global
]
Possible values: [active
, inactive
]
The status of the webhook. Only active webhooks will receive notifications.
Possible values: [agreement.draft.created
, agreement.draft.updated
, agreement.lifecycle.pending
, agreement.lifecycle.fulfilled
, agreement.lifecycle.finalized
, agreement.lifecycle.cancelled
, agreement.lifecycle.opened
, agreement.lifecycle.forwarded
, agreement.validation.started
, agreement.validation.completed
, agreement.validation.failed
, agreement.generation.restarted
, agreement.generation.started
, agreement.generation.completed
, agreement.generation.failed
, agreement.audit_trail_verification.started
, agreement.audit_trail_verification.completed
, agreement.audit_trail_verification.failed
, agreement.pdf_verification.started
, agreement.pdf_verification.completed
, agreement.pdf_verification.failed
, participant.draft.created
, participant.draft.updated
, participant.identity_enforcement.passed
, participant.identity_enforcement.failed
, participant.lifecycle.received_invitation
, participant.lifecycle.fulfilled
, sign_event.signing_room.entered
, sign_event.signing_room.left
, sign_event.sign.initiated_sign
, sign_event.sign.cancelled_sign
, sign_event.sign.completed_sign
, sign_event.sign.requested_otp
, sign_event.sign.received_otp
, sign_event.sign.failed_to_receive_otp
, sign_event.sign.confirm_otp_failed
, sign_event.sign.confirmed_otp
, sign_event.sign.changed_email_for_otp
, sign_event.sign.forwarded_link
, sign_event.approval.approved
, sign_event.approval.disapproved
, sign_event.document.began_scroll
, sign_event.document.scrolled_to_bottom
, sign_event.document.clicked_to_view
, sign_event.document.loaded
, sign_event.document.failed_to_load
, sign_event.document.downloaded
, sign_event.error.reset
, email_event.agreement_invitation.delivery_failed
, email_event.agreement_invitation.delivered
, email_event.agreement_invitation.all_delivered
, email_event.agreement_reminder.delivery_failed
, email_event.agreement_reminder.delivered
, email_event.agreement_reminder.all_delivered
, email_event.agreement_forwarded.delivery_failed
, email_event.agreement_forwarded.delivered
, email_event.agreement_forwarded.all_delivered
, email_event.agreement_finalized.delivery_failed
, email_event.agreement_finalized.delivered
, email_event.agreement_finalized.all_delivered
, email_event.agreement_cancelled.delivery_failed
, email_event.agreement_cancelled.delivered
, email_event.agreement_cancelled.all_delivered
, email_event.agreement_paused.delivery_failed
, email_event.agreement_paused.delivered
, email_event.agreement_paused.all_delivered
]
The events that the webhook is subscribed to.
UTC datetime ISO string
UTC datetime ISO string
{
"version": "1.0",
"result_type": "deleted",
"resource_type": "webhook",
"data": {
"id": "cmo4yu6knn1cs2mrrpcexample",
"name": "My webhook endpoint",
"resource_type": "webhook",
"url": "https://www.example.com",
"secret": "string",
"type": "production",
"scope": {},
"status": "active",
"subscriptions": [
"agreement.draft.created"
],
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
}
DELETE /webhooks/:webhook_id Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error
]
error objectrequired
Possible values: >= 400
and <= 599
{
"status": "error",
"error": {
"code": 0,
"message": "string",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}