Skip to main content
Register a webhook, receive one message.received event, and send one reply.

Before you start

Verify the token

Receive and reply

1

Register the receiver

Store the returned signing_secret. The list and retrieve responses do not return its plaintext.
2

Verify and persist the event

Relay signs the raw request body with Standard Webhooks headers. Verify before parsing, insert event_id under a unique constraint, and return 2xx before model or tool work.
The body is Linq’s v3 shape:
3

Mark Read and show typing

4

Send the reply

Mint the reply’s message_id before the first attempt and reuse it on retry.
Stop typing after send, failure, or cancellation.

Failure and retry behavior

Next steps