Skip to main content
This reference documents every endpoint of the Flow Messaging HTTP API, generated from its OpenAPI 3.1 spec.

Basics

Errors

Errors share one shape. Switch on error.type, a closed list; never parse message.
Errors that clear by themselves carry retry_after in seconds; every error carries request_id; quote it when asking for help.

Pagination

Lists take limit (1 to 100, default 20) and after or before, set to the ID of an item you already have, and answer { "data": [...], "has_more": true }. The event log (GET /v1/events) is oldest first, so after moves forward in time; every other list is newest first.

Events

The reference lists GET /v1/events, the live stream (GET /v1/stream, a WebSocket) and the webhook delivery Flow sends to your endpoint. See Events and webhooks.