Events
Resend an event
Sends the same event again to one endpoint, or to every enabled endpoint subscribed to it. The event keeps its id; each attempt has a new Lelemon-Delivery-Id. Events are kept for 30 days; an older event answers 404.
Required scope: webhooks:write.
path Parameters
id^evt_[0-9A-Za-z]{22}… · requiredThe id of the event (evt_…).
Headers
Lelemon-Subaccount^sub_[0-9A-Za-z]{22}…The subaccount (sub_…) this request acts on. Only for the keys of a platform account; without it the request acts on the account itself.
Idempotency-KeyMakes the request safe to retry. Once it starts running, its final response (2xx, 4xx or 5xx) is kept for 24 hours and the same key gets it back, without repeating the effect. A request rejected before it runs leaves the key free. A replayed create omits the secret. The same key with a different request is rejected with 409 idempotency_key_reused.
Resend an event › Request Body optional
endpointIdSend only to this endpoint. Without it, to every enabled endpoint subscribed to the event.
Resend an event › Responses
objectidtypeThe event type, such as case.escalated. See GET /v2/event-types.
createdAtorganizationIdThe shape depends on type. See GET /v2/event-types.
customerIdThe subaccount the event belongs to, when there is one.
List the event types
Every event type with the JSON Schema of its data.
Required scope: webhooks:read.
query Parameters
limitcursorThe nextCursor of the previous page, with the same filters.
Headers
Lelemon-Subaccount^sub_[0-9A-Za-z]{22}…The subaccount (sub_…) this request acts on. Only for the keys of a platform account; without it the request acts on the account itself.
List the event types › Responses
objecthasMorenextCursor