API Explorer
Whatsapp Flows Endpoint
This endpoint allows you to fetch the WhatsApp flows that have been synced.
Listing Whatsapp Flows
A GET
request returns the whatsapp flows for your organization.
Each whatsapp flows has the following attributes:
- id - the id of meta flow
- name - the name of the whatsapp flow
- assets - a dictionary with screens and variables list
Example:
GET /api/v2/whatsapp_flows.json
Response is the list of whatsapp flows for your organization:
{
"next": "http://example.com/api/v2/whatsapp_flows.json?cursor=cD0yMDE1LTExLTExKzExJTNBM40NjQlMkIwMCUzRv",
"previous": null,
"results": [
{
"id": "1111111111111111111",
"name": "Flow Test",
"assets": {
"screens": [
"WELCOME", "MIDDLE"
},
"variables": [
"question1Checkbox", "checkbox_source"
]
],
}