Skip to main content

Webhook

A Webhook sends HTTP POST notifications to a URL when document or recipient events occur. Webhooks belong to a User and can optionally be scoped to a specific Group.

Webhook payloads are signed with an HMAC secret available on the User type (webhookHmacSecret).

Fields

FieldTypeDescription
idID!Unique identifier
urlString!Destination URL
eventWEBHOOKEVENTSEvent type to listen for
createdAWSDateTimeWhen the webhook was created
groupIdIDLimit to events from a specific group
enabledBooleanWhether the webhook is active

WEBHOOKEVENTS

ValueDescription
DOCUMENTS_ALLAll document events
DOCUMENTS_CREATEDDocument created
DOCUMENTS_REJECTEDDocument rejected
DOCUMENTS_COMPLETEDDocument completed
RECIPIENTS_ALLAll recipient events
RECIPIENTS_EMAILEDRecipient emailed
RECIPIENTS_AUTOREMINDERAuto-reminder sent
RECIPIENTS_EMAILBOUNCEDEmail bounced
RECIPIENTS_VISITINGRecipient visiting document
RECIPIENTS_COMPLETEDRecipient completed
RECIPIENTS_REJECTEDRecipient rejected

Query

Webhooks are accessed as a field on User:

query GetMyWebhooks {
user {
webhooks {
id
url
event
enabled
groupId
}
webhookHmacSecret
}
}
  • Webhooks guide — full explanation of webhook concepts, payload schemas, verification, and debugging
  • User — webhooks belong to a user
  • Document — document events trigger webhooks
  • Recipient — recipient events trigger webhooks

Export This Article

Save a copy of this page as PDF or plain text.