Skip to main content

Live inbox events

GET 

/inbox/stream

A Server-Sent Events stream of what happens in the inbox: new message, message status, conversation updated, someone typing. Events say what changed, without the content — fetch the conversation or the messages afterwards.

The stream starts with event: ready and sends a : ping comment every 25 seconds. There is no replay: each event's id is a per-connection counter, and Last-Event-ID recovers nothing. On every (re)connection, read again what matters. The browser's EventSource does not send the Authorization header — use a client that does. At most 5 open streams per API key.

Responses

text/event-stream stream. Events: message.created, message.updated, conversation.updated and typing, each with conversationId and phoneNumberId in data.