All posts
Guides10 min readUpdated September 3, 2026

How to open a WhatsApp Business API account through Meta Business Manager

Opening a WhatsApp messaging account runs through Meta Business Manager, in 7 steps that have to happen in order. You finish with four values: App ID, Phone number ID, WhatsApp Business Account ID, and a permanent token. Those four connect the account to whatever system handles your messages.

The setup itself takes about an hour. What takes longer is Meta's verification against your website and company records, and there's no way to speed that up. So it helps to have the materials ready before you begin.

What to have ready

Five things, and it's worth having all of them ready before the first step. Missing one stops the process partway through.

  1. A live website on https, reachable from the US. It needs your company name, address, and a short description of what you do. Meta checks the site from outside Israel, and a site that blocks foreign traffic won't pass, usually without a detailed error message.
  2. A personal Facebook profile that's active and genuinely used by whoever is doing the setup. Meta looks at the private profile here, even if you also run a business page.
  3. Access to your organisation's Business Manager. If you don't have one yet, you can create it free from that same profile.
  4. A dedicated phone number, mobile or landline, that has never had WhatsApp installed on it. It has to receive an SMS or a voice call during setup. A landline answered by an IVR menu won't work, though you can set call forwarding from it.
  5. A credit card. Meta bills for message traffic from the moment the account goes live.
About the screenshots: Meta shows different interface variants to different users, so small differences between your screen and the one here are normal. The order of actions and the field names are the same.

1Business details in Business Manager

Log in to the Facebook profile that has access to the company's Business Manager, then go to business.facebook.com/settings.

Open the Business Info tab and check that every detail is filled in. If the fields are empty, fill them now. Meta later compares what's here against what's on your website, and any mismatch holds up verification.

1Business settings › Business info › Edit business information
Meta
Business settings
B [your Business Manager name]

Edit business information

[full legal name as registered]
Israel
[street and number]
[city]
[postal code]
[business phone]
[https://your-domain.com]
Tax ID will be used to find potential matching business records.
[company or VAT number]
Save
  1. 1The company's full legal name, exactly as it appears on your incorporation or business registration certificate. Meta accepts Hebrew here as well as English. If the company is registered under both, enter the one on the official document, and make sure the same form appears on your website.
  2. 2Pick Israel from the list.
  3. 3The company address, the same one shown on your website and business page. With several branches, pick one and stay with it.
  4. 4The phone number as it appears on your site. Israeli service numbers (*, 1-800, 1-700) are rejected here.
  5. 5Your website on https. Meta gives this field a lot of weight during verification, so check that the address is correct and the site loads.
  6. 6Company or VAT registration number. Marked optional, worth filling in anyway because it helps Meta match you against official records.

2Creating the app and wiring the webhook

The app is the wrapper Meta grants API access through. You create it once and use it for everything that follows.

2Business settings › Accounts › Apps
Meta
Business settings
B [your Business Manager name]
Users
People
Partners
System users
Accounts1
Pages
Ad accounts
Business asset groups
Apps2
Instagram accounts
WhatsApp Accounts
Data Sources
Brand safety and suitabil…
Registrations
Integrations
Billing & payments
Security Center
Requests
Notifications
Business info
Apps
Filter by name or ID
Add 3
[your app name]

[your app name]

Linked Dataset: [your app name]  ID: [app id]
Owned by: [your Business Manager name]  ID: [business id]
Remove Open in App Dashboard
Add people Assign partners Add assets
PeoplePartners Connected assets

People

Add people

These people have access to [your app name]. You can view, edit or delete their permissions. Your app need at least one app admin in order to access the app dashboard and reduce the risks of missing important actions.

Search by ID or name
[team member]
[team member]
  1. 1Open Accounts in the side menu.
  2. 2Click the Apps sub-tab.
  3. 3Click Add. If the button is greyed out, your personal profile isn't verified with Meta as a developer yet. Open a developer account at developers.facebook.com from that same profile, then come back here.
3The menu under Add
Meta
Business settings
B [your Business Manager name]
Users
People
Partners
System users
Accounts
Pages
Ad accounts
Business asset groups
Apps
Instagram accounts
WhatsApp Accounts
Data Sources
Brand safety and suitabil…
Registrations
Integrations
Billing & payments
Security Center
Requests
Notifications
Business info
Apps
Filter by name or ID
Add
Connect an app ID
Claim an app for your Meta Business Account.
Request Access to an App ID
Request access to an app ID on behalf of another business.
+
Create a new app ID1
You can create a new app ID for your business.
  1. 1Choose Create a new app ID.
4Meta for Developers › Create an app
Meta for Developers DocsToolsSupport My Apps 3 Search developer documentation [your name]
Create an app
✕ Cancel

Which use case do you want to add to your app?

Get started by selecting the main use case you'd like to add to your app. You'll be asked to add permissions to your use case later.

f Set up Facebook Login Our most common use case. A secure, fast and convenient way for users to log into your app, and for your app to ask for permissions to access their data. Learn More
Other Explore other products and data permissions such as ads management, gaming and more. You'll be asked to select an app type and then you can add the permissions and products you need. 1
Next2
  1. 1Choose Other. The first option is for Facebook Login and doesn't apply here.
  2. 2Click Next.
5Create an App › Select an app type
Meta for Developers DocsToolsSupport My Apps 3 Search developer documentation [your name]
Type
Details

Select an app type

The app type can't be changed after your app is created. Learn more

Business Create or manage business assets like Pages, Events, Groups, Ads, Messenger, WhatsApp and Instagram Graph API using the available business permissions, features and products. 1
Consumer Connect consumer products and permissions, like Facebook Login and Instagram Basic Display to your app.
Instant Games Create an HTML5 game hosted on Facebook.
Gaming Connect an off-platform game to Facebook Login.
Workplace Create enterprise tools for Workplace from Meta.
Academic research Connect to Facebook data and tooling to perform research on Facebook.
None Create an app with combinations of consumer and business permissions and products.
Next2
  1. 1Choose Business. It's the only type that grants WhatsApp access.
  2. 2Click Next. Note that the app type can't be changed after creation.
6Create an App › Details
Meta for Developers DocsToolsSupport My Apps 3 Search developer documentation [your name]
Type
Details
This is the app name that will show on your My Apps page and associated with your app ID. You can change the name later in Settings.
[your app name] 17/30
This is the email address we'll use to contact you about your app. Make sure it is an address you check regularly.
Connecting a Business Account to your app is only required for certain products and permissions.
[your Business Manager name]
By proceeding, you agree to the Meta Platform Terms and Developer Policies. Previous Create app4
  1. 1A name for the app, your choice. Something you'll recognise a year from now, say the company name followed by WA.
  2. 2The email Meta will contact you at about this app. Check it carefully, because restriction notices land there.
  3. 3The Business Manager the app belongs to. If you have several, pick the one whose business details you filled in at step 1.
  4. 4Click Create app.
7App Dashboard › product list
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup
Configuration
Activity log
Activity log

Instagram Graph API

Integrate your app with the Instagram API to let businesses use your app with their Instagram accounts.

Read Docs Set up

Jobs

Post jobs to the Facebook platform and receive applications from users.

Read Docs Set up

Marketing API

Integrate Facebook Marketing API with your app.

Read Docs Set up

Messenger

Customize the way you interact with people on Messenger.

Read Docs Set up

Web Payments

Accept in-app payments through Facebook's secure payment system.

Read Docs Set up

ThreatExchange

Share and learn about potential threats to help everyone stay more secure.

Read Docs Set up

Webhooks

Subscribe to changes and receive updates in real time without calling the API.

Read Docs Set up

WhatsApp

Integrate with WhatsApp

Read Docs Set up1

Facebook Login for Business

A secure way for businesses to give your app permissions to access data.

Read Docs Set up
  1. 1Scroll down to the WhatsApp tile and click Set up.
8The WhatsApp Business Platform API dialog

WhatsApp Business Platform API

[your Business Manager name]
You will receive a WhatsApp test phone number to send messages to a maximum of 5 phone numbers.
By continuing, you agree to the Facebook Terms for WhatsApp Business and the Meta Hosting Terms for Cloud API.
Continue2
  1. 1Check that the Business Manager shown is the right one.
  2. 2Click Continue. If an error blocks you here, the account is barred from setting up a messaging service. Contact Facebook support through the question mark at the bottom of the Business Manager side menu. They answer quickly.
9WhatsApp › Quickstart › Getting started
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup
Configuration
Activity log
Activity log
Step 2: Send messages with the API
To send a test message, copy this command, paste it into Terminal, and press enter. To create your own message template, click here.
  1. curl -i -X POST `
  2. https://graph.facebook.com/v17.0/[phone number id]/messages `
  3. -H 'Authorization: Bearer [permanent access token]' `
  4. -H 'Content-Type: application/json' `
  5. -d '{ "messaging_product": "whatsapp", "to": "", "type": "template", "template": { "name": "hello_world", "language": { "code": "en_US" } } }'
Run in Postman Send message
Step 3: Configure webhooks to receive messages
Create a custom webhook URL or use services that help you set up an endpoint. Configure webhooks1
Step 4: Learn about the API and build your app
Review the developer documentation to learn how to build your app and start sending messages. See documentation
Step 5: Add a phone number
To start sending messages to any WhatsApp number, add a phone number.
Add phone number
Step 6: Add payment method
Add a payment method to send business-initiated messages to your customers.
Add payment method
  1. 1Click the Configure webhooks link in step 3. The curl block above it is a test message Meta prepares for you, and you can ignore it at this stage.
10WhatsApp › Configuration, before anything is set
Quickstart > Configuration

Webhook

To get alerted when you receive a message or when a message's status has changed, you need to set up a Webhooks endpoint for your app. Learn how to configure Webhooks.

Callback URL
No URL added
Verify token
No token added
Edit1
Webhook fields
No fields selected
Manage2

Permanent token

Phone numbers

You have 2 production numbers and 1 test number.

Manage phone numbers
  1. 1Click Edit. At this point it still reads No URL added and No token added, because the connection isn't configured yet.
  2. 2Notice that Manage next to Webhook fields is greyed out. It only becomes available once a URL and a token are saved, which is why the steps go in this order.
If we at Automation Flow are building your automation, this part is on us. We install n8n, connect it, and build the automation itself, so there's nothing for you to configure here. What we need from you:
  1. Skip ahead to step 3 and finish the rest of the guide.
  2. Send us the five values listed in the final section once you're done.
With those we set the webhook up on our side, and you won't need to go back into Meta's interface. The explanation that follows is for anyone connecting the system themselves.

The dialog asks for two values:

Callback URL is where Meta posts every incoming message. In n8n that's the Production URL of the Webhook node in the workflow handling your messages. Copy it from the node. The address has to be https and reachable from the internet, so a workflow running in Test mode won't work here.

Verify token is a string you make up. Meta sends it back once to confirm the address really is yours. Generate a random string, paste it both here and into the n8n node settings, and keep a copy somewhere secure. The string should be unique to you. Some guides online offer a ready-made token to copy, and it is better to skip those, because anyone who knows the string can register themselves as a listener on your endpoint.

Click Verify and save. Meta calls the address at that moment and expects the right answer back, so the address has to be live. A placeholder or a temporary URL won't pass the check. If n8n doesn't return the expected answer you'll see an error straight away, and it's worth confirming the workflow is active and the string matches on both sides.

11WhatsApp › Configuration after saving the webhook
Quickstart > Configuration

Webhook

To get alerted when you receive a message or when a message's status has changed, you need to set up a Webhooks endpoint for your app. how to configure Webhooks.

Callback URL
https://[your-n8n]/webhook/whatsapp
Verify token
••••••••••••
Edit
Webhook fields
No fields selected 1
Manage2

Permanent token

Phone numbers

You have 2 production numbers and 1 test number.

Manage phone numbers
  1. 1It currently reads No fields selected. Meta sends nothing until you pick which events you want.
  2. 2Click Manage next to Webhook fields.
12The Webhook fields dialog, top section

Webhook fields

Successfully subscribed to the template_category_update v17.0 webhook field at 12:02:03 AM
NameTest versionSubscription version Subscribe 1
account_alerts v17.0 Test v17.0
account_review_update v17.0 Test v17.0
account_update v17.0 Test v17.0
business_capability_update v17.0 Test v17.0
business_status_update v17.0 Test v17.0
campaign_status_update v17.0 Test v17.0
message_template_quality_update v17.0 Test v17.0
message_template_status_update v17.0 Test v17.0
messages v17.0 Test v17.0
  1. 1Tick every box in the Subscribe column.
13Same dialog, scrolled down

Webhook fields

NameTest versionSubscription version Subscribe
messages v17.0 Test v17.0
phone_number_name_update v17.0 Test v17.0
phone_number_quality_update v17.0 Test v17.0
security v17.0 Test v17.0
template_category_update v17.0 Test v17.0
1 scroll inside the table Done2
  1. 1This dialog has two scrollbars, one for the page and one for the table itself. The bottom rows are easy to miss. Scroll inside the table to the end and tick those too.
  2. 2Click Done.

3Setting up the phone number

14WhatsApp › API Setup
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup1
Configuration
Activity log
Activity log
Step 2: Send messages with the API
To send a test message, copy this command, paste it into Terminal, and press enter. To create your own message template, click here.
  1. curl -i -X POST `
  2. https://graph.facebook.com/v17.0/[phone number id]/messages `
  3. -H 'Authorization: Bearer [permanent access token]' `
  4. -H 'Content-Type: application/json' `
  5. -d '{ "messaging_product": "whatsapp", "to": "", "type": "template", "template": { "name": "hello_world", "language": { "code": "en_US" } } }'
Run in Postman Send message
Step 3: Configure webhooks to receive messages
Create a custom webhook URL or use services that help you set up an endpoint. Configure webhooks
Step 4: Learn about the API and build your app
Review the developer documentation. See documentation
Step 5: Add a phone number
To start sending messages to any WhatsApp number, add a phone number. To manage your account information and phone number, see the Overview page.
Add phone number2
Step 6: Add payment method
Add a payment method to send business-initiated messages.
Add payment method
  1. 1Switch to the API Setup tab in the side menu.
  2. 2Click Add phone number in step 5.
15The Create a WhatsApp Business profile dialog

Create a WhatsApp Business profile

This profile will show information about your business to people on WhatsApp. You can edit this information anytime by going to Business assets in Meta Business Suite Settings and selecting this WhatsApp account.

[your brand display name]
(GMT+03:00) Asia/Jerusalem
Choose a business category
[a short description of the business] 0/512
BackNext
  1. 1Display name. This is what customers see in WhatsApp, and it's the field most accounts get stuck on. It has to represent the sending brand faithfully, appear as live text on the company website, and appear in your Business Manager business details. Anything too generic, say "Customer Service", usually will not be approved. Meta's full guidance.
  2. 2Business category. Pick from the list. If nothing fits, choose Other.
  3. 3Business description. Optional, up to 512 characters, editable at any point.
16Number verification dialog

Choose how you would like to verify your number

Select how you would like to verify your number. If you are using a landline number, choose phone call.

Phone number
[business phone]
Text message
1
Phone call
Back Next2
  1. 1Enter the number in international format and choose how to verify it. For a landline, pick the voice call.
  2. 2Click Next. Meta sends a code, which you enter in the dialog that opens.
17After verification: the four values
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] 1 App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup
Configuration
Activity log
Activity log
Quickstart > Getting started
You have alerts that need review. Go to WhatsApp Manager

Temporary access token

EAAJ…[temporary token]
Copy Refresh This token will expire in 23 hours.

Send and receive messages

Step 1: Select phone numbers

From

Send free messages with the provided test phone number. Learn more.

[business phone]
2
Phone number ID: [phone number id]
3
WhatsApp Business Account ID: [waba id]
4
To
US +1
Phone number
Step 2: Send messages with the API
To send a test message, copy this command, paste it into Terminal, and press enter. To create your own message template, click here.
  1. curl -i -X POST `
  2. https://graph.facebook.com/v17.0/[phone number id]/messages `
  3. -H 'Authorization: Bearer [permanent access token]' `
  4. -H 'Content-Type: application/json' `
  5. -d '{ "messaging_product": "whatsapp", "to": "", "type": "template", "template": { "name": "hello_world", "language": { "code": "en_US" } } }'
Run in Postman Send message
  1. 1App ID.
  2. 2Phone Number, the number you verified.
  3. 3Phone number ID. This is the identifier your messaging system sends with, rather than the number itself.
  4. 4WhatsApp Business Account ID. Copy all of these somewhere safe. You'll need them to connect n8n.
18Settings › Basic
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings1
Basic2
Advanced
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup
Configuration
Activity log
Activity log
[app id]
••••••••
Show4
[your app name]
Privacy policy for Login dialog and app details
Terms of Service for Login dialog and App Details
  1. 1Duplicate the browser tab and in the new one go to Settings.
  2. 2Click Basic.
  3. 3Find the App secret field.
  4. 4Click Show. Meta may ask for your Facebook password again. Copy the value and store it with the rest.
19WhatsApp › Configuration
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup
Configuration1
Activity log
Activity log
Quickstart > Configuration

Webhook

To get alerted when you receive a message or when a message's status has changed, you need to set up a Webhooks endpoint for your app.

Callback URL
https://[your-n8n]/webhook/whatsapp
Verify token
••••••••••
Edit
Webhook fields
account_alerts, account_review_update, account_update, business_capability_update, campaign_status_update, message_template_quality_update, message_template_status_update, messages, phone_number_name_update, phone_number_quality_update, security, template_category_update

Permanent token

Phone numbers

You have 2 production numbers and 1 test number.

Manage phone numbers2
  1. 1Go to Configuration in the side menu.
  2. 2Click Manage phone numbers, then the number itself.

On the screen that opens, upload a profile picture for the number, usually your logo. It has to be square, at least 640 pixels a side. You can add a website and extra contact details there too.

Save with the button in the top corner. All of this stays editable later.

4Adding a payment method

20WhatsApp › API Setup › Step 6
Meta for Developers App Dashboard DocsToolsSupport My Apps 3 Search developer documentation [your name]
[your app name] App ID: [app id] App Mode: Development Live App type: Business Help
Dashboard
Required actions
Settings
App Roles
Alerts
App Review
Products
Webhooks
WhatsApp
Quickstart
API Setup
Configuration
Activity log
Activity log
Step 2: Send messages with the API
To send a test message, copy this command, paste it into Terminal, and press enter. To create your own message template, click here.
  1. curl -i -X POST `
  2. https://graph.facebook.com/v17.0/[phone number id]/messages `
  3. -H 'Authorization: Bearer [permanent access token]' `
  4. -H 'Content-Type: application/json' `
  5. -d '{ "messaging_product": "whatsapp", "to": "", "type": "template", "template": { "name": "hello_world", "language": { "code": "en_US" } } }'
Run in Postman Send message
Step 3: Configure webhooks to receive messages
Create a custom webhook URL or use services that help you set up an endpoint. Configure webhooks
Step 4: Learn about the API and build your app
Review the developer documentation. See documentation
Step 5: Add a phone number
To start sending messages to any WhatsApp number, add a phone number.
Add phone number
Step 6: Add payment method
Add a payment method to send business-initiated messages to your customers. After you use 1000 free user-initiated conversations each month, you will also need to have a payment method.
Add payment method1
  1. 1Click Add payment method.
21The payment method screen
No payment methods added
Add a payment method to have more than 1,000 monthly free tier conversations with this WhatsApp Business account.
Add payment method1
  1. 1Click Add payment method at the bottom of the screen and enter card and invoicing details. Worth noticing: fill these in even if payment details already appear at the top of the screen. These are two separate settings, and it's an easy one to miss.

You can reuse details already on the account via Payment Method, or enter a new card via Credit Card. After that, the invoice details dialog opens.

5Creating a System User

A System User is a user that isn't a person. It exists to hold the token your system authenticates with. The benefit: when an employee leaves or changes their password, the connection keeps working.

22Business settings › Users › System users
Meta
Business settings
B [your Business Manager name]
Users
People
Partners
System users1
Accounts
Pages
Ad accounts
Business asset groups
Apps
Instagram accounts
WhatsApp Accounts
Data Sources
Brand safety and suitabil…
Registrations
Integrations
Billing & payments
Security Center
Requests
Notifications
Business info
System users
Filter by name or ID
Add2
n8n API User
Admin system user
n8n API User
Admin access
Edit
Generating Access Tokens. System Users can only generate access tokens for permissions their app has been granted through App Review.
Generate new token Revoke tokens Add assets

Assigned assets

Add assets

Here are the assets n8n API User (System User) can access. View and manage their permissions. Add or remove assets.

Search by ID or name
Apps
[your app name]
  1. 1Go back to Business Manager and open Users › System users.
  2. 2Click Add.
23The Create system user dialog

Create system user

Enter a name for the system user you want to create below:

n8n API User
Admin

[your Business Manager name] will be the owner of this system user.

Cancel Create system user3
  1. 1A name for the user. It makes no operational difference, so pick something that explains what it's for, say n8n API User.
  2. 2Set the role to Admin. If the interface won't allow it, choose Employee and carry on.
  3. 3Click Create system user.

6Assigning permissions to the System User

This step has three separate assignments, and it's worth working through all of them in order. If one is missing, the token still generates normally but returns a permissions error on the first attempt to send a message, which is hard to trace after the fact.

24a. Permission on the app
Meta
Business settings
B [your Business Manager name]
Users
People
Partners
System users
Accounts1
Pages
Ad accounts
Business asset groups
Apps2
Instagram accounts
WhatsApp Accounts
Data Sources
Brand safety and suitabil…
Registrations
Integrations
Billing & payments
Security Center
Requests
Notifications
Business info

Add people to [your app name]

Select people
Search & filter
1 Person Selected
n8n API User (System User) 3
Assign access
App · Partial access
Develop app
Can change app settings, test the app and view analytics.
View insights
Can view app analytics.
Test app
Can test the app.
Full control
Manage app
Can manage roles, change app settings, test the app and view analytics.
4
Assign5
  1. 1Open Accounts in the side menu.
  2. 2Click Apps and select the app you created.
  3. 3Click Add people and tick the System User.
  4. 4Under Full control, switch Manage app on.
  5. 5Click Assign.
25b. Permission on the WhatsApp account
Meta
Business settings
B [your Business Manager name]
Users
People
Partners
System users
Accounts1
Pages
Ad accounts
Business asset groups
Apps
Instagram accounts
WhatsApp Accounts2
Data Sources
Brand safety and suitabil…
Registrations
Integrations
Billing & payments
Security Center
Requests
Notifications
Business info

Add people to [your WhatsApp account name]

Select people
Search & filter
1 Person Selected
n8n API User (System User) 3
Assign access
WhatsApp account · Partial access
Manage phone numbers and message templates
You can create message templates, add phone numbers, access metrics and send messages to customers.
Full control
Manage WhatsApp business accounts
You can do all of the above, and also assign users and view payment information.
4
Assign5
  1. 1Open Accounts again.
  2. 2Click WhatsApp Accounts and select the account that was created.
  3. 3Go to People, click Add people and tick the same System User.
  4. 4Under Full control, switch on Manage WhatsApp business accounts.
  5. 5Click Assign.
26c. Assigning the app as an asset of the user
Meta
Business settings
B [your Business Manager name]
Users
People
Partners
System users1
Accounts
Pages
Ad accounts
Business asset groups
Apps
Instagram accounts
WhatsApp Accounts
Data Sources
Brand safety and suitabil…
Registrations
Integrations
Billing & payments
Security Center
Requests
Notifications
Business info

Assign Assets to n8n API User

Select asset type
Pages
Ad accounts
Catalogs
Apps2
Pixels
Instagram accounts
Datasets
Select assets
Search & filter
[your app name] 3
App · Partial access
Develop app
Can change app settings and view analytics.
View insights
Can view app analytics.
Test app
Can test the app.
Full control
Manage app
Can manage roles, change app settings and view analytics.
4
Cancel Save changes5
  1. 1Open Users › System users and select the user.
  2. 2Click Add Assets and pick Apps.
  3. 3Tick the app you created.
  4. 4Under Full control, switch on Manage app.
  5. 5Click Save changes.

7Generating the permanent token

27Users › System users › the user you created
n8n API User
Employee access
Generating Access Tokens. System Users can only generate access tokens for permissions their app has been granted through App Review.
Generate new token1 Revoke tokens Add assets
  1. 1Click Generate new token.
28The Generate token dialog

Generate token

[your app name]
Select the length of time you'd like this token to be valid for. Learn about token expiration.
60 days
Permanent
2
Generating Access Tokens. The list of available scopes is based on previously granted permissions for this app. To access additional permissions, submit your request through App Review on the app dashboard.
  1. 1Select the app you created.
  2. 2Tick Permanent. The 60-day option suits testing. On a live account, an expired token drops the connection without warning.
29The permissions list, scrolled down
whatsapp_business_messaging 1
ads_management
pages_read_user_content
publish_pages
pages_manage_posts
business_creative_management
whatsapp_business_management 2
attribution_read
commerce_account_read_settings
private_computation_access
instagram_manage_messages
pages_manage_instant_articles
read_page_mailboxes
instagram_content_publish
pages_manage_engagement

By clicking 'Generate token', you agree to install selected app for system user API User.

Cancel Generate token3
  1. 1Tick whatsapp_business_messaging.
  2. 2Tick whatsapp_business_management. Those are the two permissions you need. The rest can stay off.
  3. 3Click Generate token.
30The token window

Generate token

An access token has been generated for [your Business Manager name] as following:
System user: n8n API User
Assigned app: [your app name]
Access token:
******************************
******************************
******************************
****************
1

Copy and save this token as it won't be stored at Facebook.

OK
  1. 1Copy the token before closing the window. Meta doesn't store it, and there's no way to display it again later. If the window closes before you manage to, you can generate a new token and repeat this step.

What you will have at the end

The setup leaves you with five values. These are the connection details for the messaging account, and any system that runs your WhatsApp will ask for them:

  • WhatsApp Business Account ID, the identifier of the business WhatsApp account
  • Phone Number ID, the identifier of the number you verified
  • App Secret, the app's secret key
  • App ID, the identifier of the app you created
  • The permanent token, which lets the system authenticate as the account

Keep all of them somewhere secure, a company password manager for instance. In practice the details sometimes arrive first in a spreadsheet or an email, which is fine as an interim step. Move them across once the setup is finished.

The permanent token is worth a closer look: it allows messages to be sent on behalf of the business, and it stays valid until someone revokes it from the interface. So it's comfortable to grant access only to the people actually working with the connection.

If you skipped the webhook in step 2 because we're building your automation, the account is valid and ready and your part is done. The five values above are all we need to connect the system.

The next step is message templates. Every message the business initiates needs Meta's approval in advance, and that's a separate process with its own rules. We'll cover it in its own guide.

Every screenshot in this guide was rebuilt in HTML. They show the structure of Meta's screens with the details masked, so no account names or identifiers belonging to anyone appear here.

More from the blog

🍪 Cookie Time

We use cookies to make your experience smoother, faster, and a little more fun. If you stick around, we'll take that as a thumbs-up. Learn more