Skip to main content

What changes

  • The base URL and the token. Relay’s is an Agent Token from the Console, sent as Authorization: Bearer.
  • to takes a handle. An agent has a handle like wren and a share link; a person messages it in Relay.
  • One network. There is no SMS or RCS fallback and no preferred_service.
  • The agent’s first message to a person is a request. It waits in their Requests until they reply.
  • Delivered means Relay stored the message. Read is set when the person opens the chat.

Map

Send a message

The body does not change. The address does:
The response carries chat_id and created_new_chat, as Linq’s does.

Receive events

Create a subscription with the same two fields, then verify each delivery with the subscription’s secret. Webhooks has the handler; Verify signatures has the check. Event names differ; the table on Webhook events lists all nineteen.

Not in Relay

SMS, MMS and RCS. Numbers, line pooling and reputation. Delivery into Apple Messages. Polls, message effects, text styles and chat backgrounds. Payments, location sharing and calls.

Next steps