How to setup Whatsapp Meta API

Integrate your WordPress site directly with official Meta Cloud API to achieve high-reliability broadcast capabilities.

9 min read·Updated June 1, 2026
How to setup Whatsapp Meta API

Connect with an official external Meta developer backend to route high-volume transactional traffic directly through official Cloud API conduits. You can integrate Meta API using either the new automated Quick Connect method (Recommended) or the advanced Manual Setup method.


This is the easiest and fastest way to connect. By providing your Meta App ID, you can authorize Wawp to automatically retrieve your Access Token, WhatsApp Business Account ID, and Phone Number ID, and automatically subscribe your Webhooks.

Step 1: Create WhatsApp Meta API App

To get started, you must register a developer app on Meta's platform to obtain your App ID and App Secret:

  1. Access the application dashboard: FaceBook Developer apps
  2. Click on the Create APP button to begin standard workflows.
Create APP Node
Creating a New App in Meta

Initial step to create a new WhatsApp Cloud app using the 'Create App' button.

Keywords: create meta app, developer interface, register new app
  1. Define Use cases matching explicit business communication funnels. Select Other, then choose WhatsApp.
Use Case Select
Selecting App Use Cases

Defining the type of activity and purpose for using the WhatsApp API (e.g., customer notifications, marketing).

Keywords: whatsapp use cases, app settings, business objectives
  1. Customize organizational binding parameters to link your entity safely.
Biz Options Configuration
Business Connection Options

Configuring advanced settings to link the app with official Business accounts.

Keywords: business connection, meta business account, advanced settings
  1. Input accurate App Name and standard administrative Contact E-Mail buckets.
App Detail Metrics
Basic App Information

Entering the official app name and a verified contact email for developer communications.

Keywords: app details, app name, developer contact
  1. Tie application strictly to your dedicated Facebook Business Account directory.
Business Account Connect
Linking a Business Account

Selecting the specific Facebook Business Account to associate with the WhatsApp integration.

Keywords: facebook business account, link accounts, meta settings
  1. Final review screen display. Complete mandatory setup steps to persist variables.
Review Deployment
Reviewing App Settings

Final review of all entered data before officially confirming the app creation.

Keywords: meta review settings, confirm data, final step
  1. Enter account credentials to securely verify creation completion authorization.
Verification Challenge
Password Verification

Security challenge requiring the account password to authorize the new app creation.

Keywords: account security, meta verification, password check
  1. Copy the App ID and App Secret from the top bar or from the App Settings > Basic tab in your Meta Developer Dashboard.
Copy ID Constant
Copying App ID

Extracting the unique numeric sequence that identifies the specific app.

Keywords: copy id, app identity, link data

Step 2: Initialize & Quick Connect in Wawp

Once you have your Meta App ID and App Secret, you can authorize Wawp in a single click:

  1. Navigate to the Meta API Sender section within your Wawp dashboard.
  1. In the Meta App ID (Client ID) and Meta App Secret fields, paste the keys you copied from Facebook, and click Save.
  2. Under the Quick Connect banner, click the Connect with Facebook button.
  3. A secure Facebook OAuth popup will open. Log in to your Facebook account and select the WhatsApp Business Accounts and Phone Numbers you want to grant Wawp access to.
  4. Grant the necessary scopes: whatsapp_business_management and whatsapp_business_messaging.
  5. Once authorized, Wawp will automatically use Meta's Graph API to fetch:
    • Permanent Access Token (populated in settings)
    • WhatsApp Business ID (WABA) (automatically populated)
    • Phone Number ID (automatically populated)
    • Verify Token (automatically generated as a secure random string)

Step 3: Automatically Subscribe Webhooks

With the App Secret and App ID saved, you can subscribe to real-time events automatically without manual configuration:

  1. Scroll down to the Incoming Events (Webhook) card in Wawp.
  2. Verify that your Verify Token is present.
  3. Click the Subscribe Automatically button. Wawp will automatically request Meta Graph API to register the webhook callback URL and verify token.
  4. Click Save in Wawp.

Congratulations! Your Quick Connect configuration is complete. You can now synchronize your message templates and start sending.


Under-the-Hood: How Quick Connect Works

For advanced developers, the Connect with Facebook mechanism automates the entire configuration handshake using official Meta SDK and OAuth API calls:

  • 1. App Configuration & SDK Initialization: When you save your Meta App ID, the Wawp plugin loads and initializes the official Facebook JavaScript SDK (FB.init()) on your WordPress admin page.
  • 2. OAuth Authorization Flow: Clicking Connect with Facebook triggers window.FB.login(), opening a secure Facebook dialog asking you to authorize Wawp with two critical WhatsApp permissions:
    • whatsapp_business_management (to discover and configure your WhatsApp Business account).
    • whatsapp_business_messaging (to send high-volume transactional messages).
  • 3. Access Token & Key Generation: Upon approval, Facebook returns an OAuth Access Token to the Wawp frontend, which populates the Permanent Access Token field. Wawp also instantly generates a secure random string for the Verify Token.
  • 4. Business & Phone Auto-Discovery: Wawp queries Meta's Graph API (/me/whatsapp_business_accounts). It instantly retrieves your WhatsApp Business ID (WABA ID) and the associated Phone Number ID, auto-filling the settings fields instantly.
  • 5. Automated Webhook Subscription: When clicking Subscribe Automatically, Wawp's backend calls Meta's app subscription endpoint (/v17.0/{waba_id}/subscribed_apps) using your Access Token, securely binding your site's webhooks.

Method B: Manual Setup (Fallback Setup)

If you prefer to configure the parameters manually or encounter any authorization issues with Facebook OAuth, you can use the traditional manual configuration:

Step 1: Create WhatsApp Meta API App

Follow the same App creation workflow outlined in Method A - Step 1 to obtain your Meta developer application.

Step 2: Customize WhatsApp to Get Keys

Once the App is created, activate the WhatsApp product and generate credentials manually:

  1. Locate and activate the WhatsApp product module within the app dashboard.
WhatsApp Module Active
Adding WhatsApp Product

Selecting and activating the WhatsApp product module within the app dashboard.

Keywords: meta products, enable whatsapp api, developer settings
  1. Connect mandatory assets across dashboards matching intended deployment targets.
Asset Bind Connection
Connecting Digital Assets

Binding the app with necessary digital assets to manage messaging flows.

Keywords: connect assets, messaging management, technical setup
  1. Choose Opt-In models carefully:
  • Opt-In All: Grants application full dynamic accessibility to any registered numbers globally.
  • Opt-In Selected: Restricts application boundary to precisely enumerated number assets only.
Opt-in Selector Rules
Number Opt-In Policy

Defining the authorization level for accessing phone numbers within the Business Account.

Keywords: opt-in policy, whatsapp permissions, privacy settings
  1. Save configurations to persist operational settings.
Save Configuration Gate
Saving Configuration

Committing all app-level changes and configurations to the Meta system.

Keywords: save settings, confirm changes, meta dashboard
  1. Finalize and generate dynamic authorization credential streams.
Generate Token Button
Generating Access Token

Initiating the creation of a secure Access Token for site integration.

Keywords: access token, meta token, api link
  1. Copy persistent tokens generated during lifecycle events safely.
Access Token Display
Access Token Display

Retrieving the final permanent token for use in the Wawp plugin settings.

Keywords: copy token, authentication token, secure access key

Step 3: Port Keys to Wawp Plugin

Route developer components across the Wawp configuration plane to establish communication bridge:

  1. Locate the Meta API Sender section within Wawp.
  2. Inject copied authorization token stream directly into the Permanent Access Token field.
Input Paste Targeting
Inputting Data in Wawp

Pasting the authentication tokens into the designated fields in the Wawp plugin.

Keywords: wawp plugin settings, link whatsapp wordpress, api input

Step 4: Integrate Business Identifiers

Synchronize specific background identity integers enabling cloud broadcast routing logic:

  1. Locate and copy the distinct WhatsApp Business Account ID and Phone Number ID visible inside your Meta Dashboard.
Locate ID Metrics
Business Account ID

Locating and copying the unique WhatsApp Business Account identifier.

Keywords: business account id, whatsapp business id, copy id
  1. Navigate to input container fields and paste the extracted ID streams into their respective WABA ID and Phone Number ID fields.
Integrate Field Mapping
Matching Identifiers

Ensuring the Business ID is mapped correctly within the plugin settings.

Keywords: matching data, link account, sender settings
  1. Click Save in Wawp.
Save Changes Commit
Saving Final Settings

Committing all API credentials to begin sending messages via official channels.

Keywords: save whatsapp settings, enable messaging, success link

Step 5: Setup Dynamic Webhooks (Manual Method)

Synchronize state callbacks allowing real-time delivery verification and notification updates from handsets:

  1. Enter explicit integration panel designated strictly for Webhook handlers in the Meta Developer Dashboard.
Webhook Configuration Init
Webhook Initialization

Starting the webhook configuration to enable real-time message status updates.

Keywords: webhook setup, receive messages, meta notifications
  1. Copy the Rest Endpoint URL displayed under the Webhook card in Wawp.
Extract Callback Logic
Webhook Callback URL

Identifying the site-specific URL where Meta will send event callbacks.

Keywords: webhook link, endpoint url, receive data
  1. Paste it in Meta's Webhook configuration window under Callback URL, and enter your Wawp Verify Token under Verify Token. Verify and save the webhook handshake.
Verification Handshake Step
Security Handshake

Verifying the security token to establish a trusted webhook connection.

Keywords: webhook verification, data security, security handshake
  1. Activate required subscriptions specifying actionable event pipelines. Under Webhook field subscriptions, subscribe to messages to receive incoming notifications and delivery statuses.
Webhook Subscription Lists
Webhook Subscription Fields

Selecting specific event fields to monitor (e.g., delivered, read).

Keywords: monitoring fields, meta subscriptions, message data

Next Steps

Step 6: Sync Approved Templates

Wawp retrieves and caches all your pre-approved templates so you can use them inside flows:

  1. Scroll down to the WhatsApp Templates section.
  2. Click Sync Now to fetch the catalog from Meta Cloud.
Templates Catalog Fetch
Syncing Message Templates

Fetching approved WhatsApp templates for instant use in site campaigns.

Keywords: template sync, whatsapp templates, meta campaigns

Step 7: Test Official Transmission Pipelines

Validate live broadcasts through native plugin notification modules after finalized hookups.

  1. Notifications Builder: Dispatch instant test payloads.
Builder Engine Testing
Testing Notifications Builder

Sending a test message from the WordPress dashboard to verify the engine.

Keywords: test sending, whatsapp notification builder, link test
Campaign Channel Testing
Testing Bulk Campaigns

Simulating a broadcast campaign to test throughput and stability.

Keywords: test whatsapp campaigns, bulk broadcast, marketing messages
Recovery Module Target
Testing Cart Recovery

Verifying the automated abandoned cart logic with a simulated event.

Keywords: abandoned cart, cart recovery, woocommerce automation

Monitor real-time response trackers verifying valid dispatch success states.

Recovery Valid Flow UI
Tracking Success States

Monitoring real-time reports to ensure all messages reach 'Success' status.

Keywords: message tracking, success reports, operation monitoring

Monitoring & Debugging

Once your Meta API is live, you can monitor every sent message and its delivery status in real-time through the Wawp Activity Hub. (For advanced developers, explore Wawp API Messaging Endpoints for custom integrations).

Share this article:

Did this page help you?
98% found this article helpful (256 likes)