Skip to Content
TurbineWhats.app
TurbineWhats.app
API schemaPricingWorkspaceOverview
QuickstartAuthenticationAPI referenceAgents and discovery
Getting started

API reference

The supported public endpoints, required scopes, response envelope, and format conventions.

Read as MarkdownOpenAPI specification

Base URL#

All requests use HTTPS. Send Bearer authentication for every endpoint. JSON requests require Content-Type: application/json; send operations also require Idempotency-Key. These are server-to-server APIs; do not expose keys in browser applications.

Production
https://turbinewhats.app/api/v1

Supported endpoints#

The catalog below describes the public v1 surface. Workspace-only configuration endpoints use browser authentication and are not presented as a public API.

GET/channelsread

List sessions owned by your account and allowed by this key.

Request and response details
POST/channelsmanage

Create a session and queue its preparation. An account-wide management key is required.

Request and response details
GET/channels/{id}/statusread

Refresh the session state from the gateway.

Request and response details
GET/channels/{id}/qrmanage

Retrieve the pairing QR code after session preparation.

Request and response details
POST/channels/{id}/startmanage

Start an existing session. Pairing may be required.

Request and response details
POST/channels/{id}/stopmanage

Queue a stop operation for the session.

Request and response details
POST/channels/{id}/deletemanage

Queue session deletion and logout. This does not cancel billing.

Request and response details
POST/messages/textsend

Queue a text message with an idempotency key.

Request and response details
POST/messages/imagesend · paid

Queue a JPEG or PNG provided as base64.

Request and response details
POST/messages/documentsend · paid

Queue a PDF document provided as base64.

Request and response details
GET/messages/{id}read

Read a message state using its TurbineWhats.app message ID.

Request and response details
GET/channels/{id}/contactsread

Read contact data available from the connected account.

Request and response details
GET/channels/{id}/groupsread

Read groups available from the connected account.

Request and response details
GET/channels/{id}/chatsread

Read chats available from the connected account.

Request and response details

Response conventions#

Successful responses use a data envelope. Creating a session returns HTTP 200 and a queued state. Queuing a message returns HTTP 202; that status also applies when an idempotent replay returns an existing message state.

Errors use an error envelope with code and message. Session and message IDs are TurbineWhats.app UUIDs. Times are serialized as ISO date-time strings. Request field names use snake_case; the gateway-derived QR response uses qrCode and status.

ErrorsAuthentication

Authentication

Previous Page

Agents and discovery

Next Page

On this page

Base URLSupported endpointsResponse conventions