To get an access token, use this code:
📄️ Rate Limiting
WhatsApp status check
To use media in messages, the media file must be uploaded to the media endpoint. Once the upload is complete, you can send a message by referring to the media ID.
Check the status of your WhatsApp Business API Client with the health endpoint. This endpoint samples the health of the gateway and sends back a JSON response.
Webhooks are configurable via the Turn UI.
Turn only exposes a subset of the WhatsApp Business API. Each section and the functionality exposed is listed below.
Application Error Codes
📄️ API Extensions
The Turn API is completely aligned with the official WhatsApp Business API.
📄️ Turn Context
This context api is currently versioned as 1.0.0-alpha. This API is still subject to change as the use cases for it crystalise.
📄️ Turn Fallback Channel
The fallback channel allows you to send non-WhatsApp messages using Turn, it is enabled by specifying a fallback url in the UI.
📄️ Turn Events API
The events API allows you to send external events to Turn, they will be displayed in the chat history.
📄️ Data Export API
The Data Export API allows you to search for data inside Turn by a given range of dates.
📄️ Flow Results API
The Flow Results API standardizes the exchange of data collected by a Stack and external data analysis/visualization applications. The data covered by this API is the "results" or "responses" recorded during interactions with end-users through Stacks.