WhatsApp Flows API
WhatsApp Flows API is Meta's platform for creating interactive, multi-screen experiences within WhatsApp conversations. The WhatsApp Flows API enables businesses to build structured workflows such as surveys, registrations, product selections, and customer onboarding directly within WhatsApp chats. The WhatsApp Flows connector enables you to create, manage, publish, and send interactive WhatsApp Flows, retrieve flow details and assets, and integrate interactive messaging experiences into your data workflows. This connector is particularly useful for applications that need to create interactive forms, build customer engagement flows, collect structured data from customers, or provide guided experiences within WhatsApp conversations.
Power end-to-end data operations for your WhatsApp Flows API API with Nexla. Our bi-directional WhatsApp Flows API connector is purpose-built for WhatsApp Flows API, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to WhatsApp Flows API or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your WhatsApp Flows API workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a WhatsApp Flows API credential, you'll need to obtain an access token and WhatsApp Business Account (WABA) ID from your Meta Business account. WhatsApp Flows API uses Meta's Graph API, requiring OAuth 2.0 access tokens with appropriate permissions.
To obtain WhatsApp Flows API credentials:
-
Log in to your Meta Business account at
https://business.facebook.comor navigate to the Meta for Developers portal athttps://developers.facebook.com. -
Navigate to Meta for Developers > My Apps or access your existing app in the Meta for Developers console.
-
If you don't have an app, click Create App and select Business as the app type. Fill in the required app information, including app name and contact email.
-
In your app settings, navigate to WhatsApp > Getting Started or WhatsApp > API Setup.
-
In the WhatsApp Flows API setup, you'll need to:
- Create or select a WhatsApp Business Account (WABA)
- Note your WABA ID (WhatsApp Business Account ID). This is a unique identifier for your WhatsApp Business account and can be found in the WhatsApp Business Account settings or in the API setup section.
-
To obtain an access token:
- Navigate to Tools > Graph API Explorer in the Meta for Developers console
- Select your app from the dropdown menu
- Select the appropriate permissions (scopes) for WhatsApp Flows API, such as:
whatsapp_business_managementwhatsapp_business_messaging
- Click Generate Access Token to create a temporary access token
- For production use, you'll need to set up a long-lived access token or use OAuth 2.0 flow. To create a long-lived token, navigate to Settings > Basic in your app, and use the Access Token Tool to exchange your short-lived token for a long-lived one.
-
Copy the Access Token and WABA ID. Store them securely, as you'll need them to authenticate API requests.
-
Note the API Version. The default API version is typically
v18.0, but you should use the latest stable version available. You can check the current API version in the Graph API Explorer or in your app's API settings.
WhatsApp Flows API uses Meta's Graph API with OAuth 2.0 access tokens. The access token is sensitive information and should be kept secure. Access tokens may expire, so you may need to refresh them periodically or set up a long-lived token. The WABA ID identifies your specific WhatsApp Business Account and is required for most API operations. For detailed information about obtaining access tokens, refer to the WhatsApp Business Management API Getting Started Guide.
For detailed information about WhatsApp Flows API authentication and setup, refer to the WhatsApp Flows Documentation and Meta Graph API Authentication Guide.
Authenticate
Credentials required
Bearer token authentication using Meta access token
| Field | Required | Secret | Description |
|---|---|---|---|
| Access Token | Yes | Yes | Your Meta access token with WhatsApp Business API permissions |
| WhatsApp Business Account ID | Yes | No | Your WhatsApp Business Account (WABA) ID |
| API Version | Yes | No | Facebook Graph API version (e.g., v18.0) |
Create a credential in Nexla
- After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – WhatsApp Flows API

-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
In the Access Token field, enter the Meta access token that you obtained from your Meta Business account. This is the OAuth 2.0 access token with WhatsApp Flows API permissions.
-
In the WhatsApp Business Account ID field, enter your WABA ID (WhatsApp Business Account ID) that you obtained from your Meta Business account. This is the unique identifier for your WhatsApp Business Account.
-
In the API Version field, enter the Facebook Graph API version. The default value is
v18.0. You should use the latest stable version available.The access token is sensitive information and should be kept secure. Access tokens may expire, so you may need to refresh them periodically or set up a long-lived token. The access token is used as a Bearer token in the Authorization header for all API requests. The WABA ID is required for most WhatsApp Flows API operations.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the WhatsApp Flows API connector tile, then select the credential that will be used to connect to the WhatsApp Flows API, and click Next; or, create a new WhatsApp Flows API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common WhatsApp Flows API endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
WhatsApp Flows API data sources can also be manually configured to ingest data from any valid WhatsApp Flows API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
WhatsApp Flows API endpoints typically follow the pattern https://graph.facebook.com/{api_version}/{resource}, where {api_version} is your API version (e.g., v18.0) and {resource} is the API resource path; most endpoints use the GET method. For Path to Data, common paths include $ for the entire response, $.data[*] for arrays of data, or $.data[0].id for specific fields. The Authorization header with Bearer token is automatically included from your credential.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new WhatsApp Flows API data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the WhatsApp Flows API destination, and select the Send to Destination option from the menu. Select the WhatsApp Flows API connector from the list of available destination connectors, then select the credential that will be used to connect to the WhatsApp Flows API organization, and click Next; or, create a new WhatsApp Flows API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common WhatsApp Flows API endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be sent. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the destination is configured correctly before saving.
Manual configuration
WhatsApp Flows API destinations can also be manually configured to send data to any valid WhatsApp Flows API endpoint, including endpoints not included in the pre-built templates. Using manual configuration, you can also configure Nexla to automatically send the response received from the WhatsApp Flows API after each call to a new Nexla webhook data source. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
WhatsApp Flows API endpoints typically follow the pattern https://graph.facebook.com/{api_version}/{resource}; most endpoints use the POST method, and DELETE is used for deleting draft flows. For update operations, include the flow ID in the URL path (e.g., https://graph.facebook.com/v18.0/{flow_id}). Common content formats include JSON for most endpoints and multipart/form-data for endpoints that require file uploads (e.g., Create Flow, Update Flow JSON). The Authorization header with Bearer token is automatically included from your credential. For most WhatsApp Flows API endpoints, the default Request Body Template of {message.json} sends the entire record as JSON; for endpoints that require multipart/form-data (like Create Flow or Update Flow JSON), customize the template to match the expected format.
Save & activate
Once all of the relevant steps in the above sections have been completed, click the Create button in the upper right corner of the screen to save and create the new WhatsApp Flows API destination. Nexla will now begin sending data to the configured endpoint according to your data flow schedule.