POST
/v1/webhooksCreate a webhook endpoint
Registers an https endpoint (at most 20 per organisation) with the event subscription (types, families such as item.*, or *) and optional filters on Postflow, Postbatch and test mode. The response carries the signing secret once.
Scope
webhooks.manageBody
urlstringrequiredmax length 2000descriptionstringmax length 200eventsarray of stringrequiredmin items 1max items 60filtersobject4 fields
postflowIdstringmin length 1max length 40postbatchIdstringmin length 1max length 40isTestbooleanintegrationInstallationIdstringmin length 1max length 40activebooleanReturns
13 fields of the 201 answer
idstringrequiredurlstringrequireddescriptionstring or nullrequiredeventsarray of stringrequiredfiltersobjectrequired4 fields
postflowIdstringpostbatchIdstringisTestbooleanintegrationInstallationIdstringactivebooleanrequiredfailureStreakintegerrequireddisabledAtdate-time or nullrequiredlastDeliveryAtdate-time or nullrequiredlastStatusenum or nullrequiredSUCCEEDEDFAILEDEXHAUSTEDcreatedAtdate-timerequiredupdatedAtdate-timerequiredsecretstringrequiredResponses
201Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)