Skip to content
dimmiDocs

Webhooks

Add a webhook endpoint

POST/api/v1/webhook-endpoints

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the webhooks:write ability

Body

application/json
api_versionstring

Payload version; only the current one is accepted.

Maximum length: 20

descriptionstring

A note for the team, up to 255 characters.

Maximum length: 255

enabledboolean

false stops sending and cancels what is waiting; true starts again.

event_typesstring[]

Event types from GET /webhook-event-types, an area such as conversation.*, or * for every event.

Maximum items: 100

inbox_idsstring[]

Only conversations of these inboxes (inbox_...); an empty list means every inbox.

Maximum items: 100

include_notesboolean

Also send events about internal notes.

metadataobject

Up to 20 short labels for the developer's own use.

urlstring

The https URL to post to.

Maximum length: 2048

Response 201

Created
dataobjectrequired
Show child attributes
api_versionstringrequired

The API version the endpoint's payloads are shaped for, as a date such as 2026-11-01.

created_atstringrequired

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

Format: date-time

descriptionstringrequired

A note saying what the endpoint is for, up to 255 characters. Empty when none is set.

disabled_atstring | nullrequired

When the endpoint was turned off. Null while it is on.

Format: date-time

disabled_reasonstring | nullrequired

Why the endpoint is off: manual (someone turned it off), auto_failure (it kept failing) or gone (it answered 410). Null while it is on.

enabledbooleanrequired

True when dimmi sends events to the endpoint; false when it is turned off and nothing is sent.

event_typesstring[] | nullrequired

The events the endpoint subscribes to: exact names such as conversation.created, an area wildcard, or * for every event.

failing_sincestring | nullrequired

Since when the endpoint has answered nothing but failures. Null while it is healthy.

Format: date-time

healthstringrequired

Whether deliveries are getting through: healthy or failing.

idstringrequired

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

inbox_idsstring[] | nullrequired

Ids of the inboxes whose events the endpoint receives, such as inbox_.... Null means every inbox.

include_notesbooleanrequired

True when the endpoint also receives events about internal notes.

last_failure_atstring | nullrequired

When a delivery to the endpoint last failed. Null when none has.

Format: date-time

last_success_atstring | nullrequired

When a delivery to the endpoint last succeeded. Null when none has.

Format: date-time

metadataobjectrequired

The caller's own labels kept on the endpoint, as an object of text keys and text values. Empty when none are set.

objectstringrequired

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

previous_secret_expires_atstring | nullrequired

During a secret rotation, when the old signing secret stops being used. Null when no rotation is under way.

Format: date-time

updated_atstringrequired

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

Format: date-time

urlstringrequired

The web address dimmi sends events to.

metaobjectrequired
Show child attributes
secretstringrequired

The new webhook endpoint's signing secret. Shown only this once, in the answer that created the endpoint, so store it now.

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.