Create an agent in Relay and save the Agent Token shown once. Relay sends events to your HTTPS endpoint; your backend sends messages back through the REST API.
1

Register your webhook

Relay returns the signing secret exactly once:
Store the secret in your secret manager. It is not returned by list or update requests.
2

Receive and verify the signed event

Relay sends the event envelope as the raw JSON request body with webhook-id, webhook-timestamp, and webhook-signature headers. Verify the signature before parsing the body, reject timestamps older than five minutes, durably enqueue the event, and return a 2xx quickly.
Delivery is at least once. Deduplicate with event_id.
3

Reply

Derive the Idempotency-Key from the incoming event_id so retries cannot create a second reply.
Relay returns 202 Accepted with the canonical message.
Next, read Webhooks for verification, retries, rotation, and event filtering. Then connect the same handler your existing channels already use.

Next steps