Skip to main content
WEBHOOK

Headers

Timestamp sent by Clink for webhook signature verification.

Hex-encoded HMAC-SHA256 signature generated with the webhook signing secret over the string ${X-Clink-Timestamp}.${rawRequestBody}. Use the raw request body bytes/string exactly as received; do not parse and re-serialize the JSON before verifying.

Signature algorithm used to generate X-Clink-Signature. The current value is SHA256.

Available options:
SHA256

Body

application/json

Session event payload in json

id
string

Unique identifier for the event

type
enum<string>

Type of event that occurred

Available options:
session.complete,
session.expired
Example:

"session.complete"

object
string

Type of this json payload, 'event' if this is an event

Example:

"event"

created
integer<int64>

Unix timestamp in milliseconds when the event occurred

data
object

Response

200

Return a 200 status to indicate that the data was received successfully