channels
whatsapp
whatsapp-service-management
whatsapp-flow-management
Create WhatsApp Flow
Create a WhatsApp flow. If successful, flow will be created in DRAFT status with default flow.json. Flow.json contains structure of the flow and other fields given in request can be updated until publication.
post/whatsapp/1/senders/{sender}/flows
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Path parameters
senderstring required
Registered WhatsApp sender number. Must be in international format.
Request body
Example request
{
"name": "My first flow",
"categories": [
"SIGN_UP"
],
"cloneFlowId": "987654"
}Response
Flow Created
Example response
{
"id": "123456",
"name": "My first flow",
"businessAccountId": 987654,
"categories": [
"SIGN_UP"
],
"status": "DRAFT"
}Changes
No recorded changes to this operation across all 1 revision of this API.