Meta (By Facebook)
This guide explains how to connect an existing Meta WhatsApp Cloud API setup with Sortment using credentials from Meta Business Manager and App Dashboard.
This integration is typically used when:
You already have a Meta App set up for WhatsApp
You manage tokens, webhooks, and phone numbers manually
You want deeper control over incoming messages and callbacks
Prerequisites (Required from Meta)
Before configuring the integration in Sortment, ensure the following are completed in Meta Business Manager:
1. Business & Access Setup
You are added to the Meta Business as Employee Access
Business Admin can add you from Business Settings → People
You have access to the Meta App used for WhatsApp
Granted via People → Add Asset → Apps
Permission: Manage apps
2. Generate an Access Token
Go to Business Settings → System Users
Click Generate New Token
Select the App used for WhatsApp
Grant permissions:
WhatsApp Business Messaging
WhatsApp Business Management
Generate and save the token → This will be used as the Access Token in Sortment
3. Get Phone Number ID
Open Meta App Dashboard
Go to WhatsApp → Getting Started
Under Send and Receive Messages, select the WhatsApp number
Copy the Phone Number ID
4. Get WhatsApp Business Account ID (WABA ID)
Go to Business Settings → Accounts → WhatsApp Accounts
Select the WhatsApp account
Copy the WABA ID shown on the top-right
Configure Meta (by Facebook) in Sortment
Once the prerequisites are ready, continue in Sortment.
Step 1: Find the Provider
Log in to Sortment
Navigate to: Settings → Sender Profiles
Open the WhatsApp section
Click Add Integration
Select Meta (by Facebook)
Step 2: Configure the Integration
In the integration pop-up, enter:
Custom Name A name to identify this sender (Example: Meta Cloud API – Prod)
Phone Number ID From Meta App Dashboard (WhatsApp → Getting Started)
Access Token Generated from System Users in Business Manager
WhatsApp Business Account ID (WABA ID) From Business Settings → WhatsApp Accounts
Step 3: Complete the Integration
Click Test and Save
Once validated, the Meta WhatsApp sender will be active
Enabling Incoming Messages (Optional)
If you want to receive inbound WhatsApp messages in Sortment:
Enter the WhatsApp number (with country code) in the integration
Click Update Account
Click Enable Incoming Messages
Verify by:
Sending the displayed message or
Scanning the QR code
Confirm from the WhatsApp message received
Once enabled, incoming messages will start appearing in Sortment
Message Delivery Status (Webhook Setup Required)
Meta requires a manual webhook configuration for delivery events.
Steps to Configure Webhooks
Log in to Meta App Dashboard
Open your App
Scroll to Webhooks → Click Set Up
Select User as the object
Subscribe to:
messagesmessage_template_status_updatemessage_template_quality_update
Choose API version v18.0
Enter:
Callback URL → from Sortment integration popup
Verify Token → any string (store it safely)
Complete webhook verification
Last updated
Was this helpful?