Webhooks
Send a test webhook
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the webhooks:write ability
Path parameters
endpointstringrequiredId of the webhook endpoint, starting with whk_, such as whk_01jx2m8k4t. Find it with GET /webhook-endpoints.
Body
application/jsontypestringEvent type to send a sample of, from GET /webhook-event-types; webhook.test when left out.
Maximum length: 80
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
attemptobjectrequiredShow child attributesHide child attributes
duration_msinteger | nullrequiredHow long the request took, in milliseconds. Null when not measured.
Format: int32
error_codestring | nullrequiredWhy the attempt failed, such as http_error, redirect_not_followed or a network failure class. Null when it succeeded.
error_messagestring | nullrequiredDetails of the failure in words, up to 500 characters. Null when there are none.
hintstringAdvice for fixing the endpoint, given only when it answered 401 or 403 (check the signature against the raw body). Left out otherwise.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
numberintegerrequiredWhich try of the delivery this was, counting from 1.
Format: int32
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
request_headersanyrequiredThe HTTP headers dimmi sent with the request, as an object of name to value.
requested_atstringrequiredWhen the request was sent.
Format: date-time
response_bodystring | nullrequiredThe body the endpoint answered with, as text. Null when it gave none or never answered.
response_headersanyrequiredThe HTTP headers the endpoint answered with, as an object. Null when it never answered.
response_statusinteger | nullrequiredHTTP status the endpoint answered with, such as 200 or 500. Null when it never answered.
Format: int32
triggerstringrequiredWhat caused the attempt: auto (dimmi's own send or retry), manual (someone asked to resend) or test (a test send).
deliveryobjectrequiredShow child attributesHide child attributes
attempt_countintegerrequiredHow many times dimmi has tried to send this delivery.
Format: int32
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
endpoint_idstringrequiredId of the webhook endpoint the event is sent to, such as whk_.... Send it wherever a webhook endpoint is asked for.
event_idstringrequiredId of the event being delivered, such as evt_.... The same event sent to several endpoints shares it.
event_typestringrequiredDotted name of the event delivered, such as conversation.created or contact.updated; webhook.test for a plain test send.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
last_attempt_atstring | nullrequiredWhen the newest attempt was made. Null before the first attempt.
Format: date-time
last_error_codestring | nullrequiredError code of the newest failed attempt, such as http_error or redirect_not_followed, or a network failure class. Null when it did not fail.
last_response_statusinteger | nullrequiredHTTP status the endpoint answered the newest attempt with, such as 200 or 500. Null when it never answered.
Format: int32
next_attempt_atstring | nullrequiredWhen the next attempt is due. Null when none is planned.
Format: date-time
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
payload_bytesintegerrequiredSize of the payload sent, in bytes.
Format: int32
sequenceintegerrequiredA number that only goes up across events; of two deliveries about the same object, the higher one carries the newer copy.
Format: int64
statusstringrequiredWhere the delivery stands: pending, retrying, succeeded, failed or canceled.
succeeded_atstring | nullrequiredWhen the endpoint accepted the delivery. Null until it does.
Format: date-time
testbooleanrequiredTrue when this is a test send rather than a real event.
thinbooleanrequiredTrue when the full object was too large to send, so the payload carries only a reference to it and must be fetched.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.