Lalexi
APIСправочникWebhook events

conversation.created

A conversation you may open was created.

Header Parameters

X-Lalexi-Event*string

The event name, the same as event in the body.

X-Lalexi-Delivery*string

The delivery's id, the same as id in the body. It stays the same across retries — deduplicate on it.

Formatuuid
X-Lalexi-Timestamp*string

When this attempt was signed, in Unix seconds. Part of the signed string.

X-Lalexi-Signature*string

sha256= followed by the hex HMAC-SHA256 of {X-Lalexi-Timestamp}.{raw body}, keyed with the endpoint's whole secret (whsec_…). Compute it over the raw bytes you received — not over re-serialised JSON — and compare in constant time.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/conversation.created