Webhooks
Send a test delivery
/v1/webhooks/{webhookId}/testSend a signed test delivery with the event "ping", even if the webhook is inactive. A webhook with a posting spec gets a made-up lead in the buyer's format instead. Check the result in the delivery log.
Path parameters
webhookIdstringrequiredThe webhook's
id.
Response
idstringrequiredThe delivery's id.
webhookIdstringrequiredThe webhook it was sent to.
submissionIdstring or nullrequiredThe response it carries. Null for a test delivery.
eventstringrequiredThe event. It is
"submission.completed"or"submission.abandoned", or"ping"for a test.statusenumrequiredpendingwhile it is being sent or retried,succeededonce the endpoint accepted it, andfailedafter the last attempt failed.One of
"pending","succeeded","failed"attemptsnumberrequiredAttempts made so far.
lastStatusnumber or nullrequiredThe HTTP status of the last attempt. Null before the first attempt, or when the endpoint didn't answer.
lastErrorstring or nullrequiredWhat went wrong on the last attempt. Null when nothing did.
nextAttemptAtnumber or nullrequiredWhen the next retry is due, in milliseconds since the epoch. Null when none is due.
createdAtnumberrequiredWhen the delivery was made, in milliseconds since the epoch.
payloadanyrequiredThe
datafield of the request body.postedone of 2requiredThe body the test posted, a sample lead in the buyer's format. Null when the webhook has no posting spec.
Show 2 optionsHide 2 options
Option 1
contentTypestringrequiredbodystringrequired
null
Errors answer with a status and the error shape.