Skip to content
dimmiDocs

Webhooks

Get a webhook delivery

GET/api/v1/webhook-deliveries/{delivery}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the webhooks:read ability

Path parameters

deliverystringrequired

Id of the webhook delivery, starting with whd_, such as whd_01jx2m8k4t. Find it with GET /webhook-endpoints/{endpoint}/deliveries.

Response 200

OK
dataobjectrequired
Show child attributes
attempt_countintegerrequired

How many times dimmi has tried to send this delivery.

Format: int32

attemptsobject[] | nullrequired

Every request made for this delivery, oldest first, each with how the endpoint answered.

Show child attributes
duration_msinteger | nullrequired

How long the request took, in milliseconds. Null when not measured.

Format: int32

error_codestring | nullrequired

Why the attempt failed, such as http_error, redirect_not_followed or a network failure class. Null when it succeeded.

error_messagestring | nullrequired

Details of the failure in words, up to 500 characters. Null when there are none.

hintstring

Advice for fixing the endpoint, given only when it answered 401 or 403 (check the signature against the raw body). Left out otherwise.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

numberintegerrequired

Which try of the delivery this was, counting from 1.

Format: int32

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

request_headersanyrequired

The HTTP headers dimmi sent with the request, as an object of name to value.

requested_atstringrequired

When the request was sent.

Format: date-time

response_bodystring | nullrequired

The body the endpoint answered with, as text. Null when it gave none or never answered.

response_headersanyrequired

The HTTP headers the endpoint answered with, as an object. Null when it never answered.

response_statusinteger | nullrequired

HTTP status the endpoint answered with, such as 200 or 500. Null when it never answered.

Format: int32

triggerstringrequired

What caused the attempt: auto (dimmi's own send or retry), manual (someone asked to resend) or test (a test send).

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

endpoint_idstringrequired

Id of the webhook endpoint the event is sent to, such as whk_.... Send it wherever a webhook endpoint is asked for.

event_idstringrequired

Id of the event being delivered, such as evt_.... The same event sent to several endpoints shares it.

event_typestringrequired

Dotted name of the event delivered, such as conversation.created or contact.updated; webhook.test for a plain test send.

idstringrequired

The 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 | nullrequired

When the newest attempt was made. Null before the first attempt.

Format: date-time

last_error_codestring | nullrequired

Error 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 | nullrequired

HTTP status the endpoint answered the newest attempt with, such as 200 or 500. Null when it never answered.

Format: int32

next_attempt_atstring | nullrequired

When the next attempt is due. Null when none is planned.

Format: date-time

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

payloadanyrequired

The exact JSON payload this delivery sends. Null when it is no longer stored.

payload_bytesintegerrequired

Size of the payload sent, in bytes.

Format: int32

sequenceintegerrequired

A number that only goes up across events; of two deliveries about the same object, the higher one carries the newer copy.

Format: int64

statusstringrequired

Where the delivery stands: pending, retrying, succeeded, failed or canceled.

succeeded_atstring | nullrequired

When the endpoint accepted the delivery. Null until it does.

Format: date-time

testbooleanrequired

True when this is a test send rather than a real event.

thinbooleanrequired

True when the full object was too large to send, so the payload carries only a reference to it and must be fetched.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.