Before you start
You need:- a Meta app
- admin access to the Meta Business Portfolio
- access to the WhatsApp account or permission to create one
- a phone number you can verify by SMS or voice call if it’s not already added to the portfolio
Add the phone number in Meta
In case you haven’t added the number in your Meta app:- Open Use cases.
- Click Customize on Connect with customers through WhatsApp.
- Open API Setup.
- In Send and receive messages, open the From selector.
- Click Add phone number.
- Add your phone number.
- Verify it by SMS or voice call.
- Copy the Phone number ID.
- Copy the WhatsApp Business Account ID.
- Do not copy or generate a temporary access token for Kapso.
Create a permanent system-user token
In Meta Business Settings:- Go to Users > System users.
- Add a system user, such as
Kapso API Access. - Open the system user and click Assign assets.
- Under Apps, select the Meta app you saved in Kapso and grant full access.
- Under WhatsApp accounts, select the WhatsApp Business Account that owns the phone number and grant all available permissions.
- Save the app asset assignment.
- Click Generate token.
- Select the same Meta app.
- Set token expiration to Never.
- Select both
whatsapp_business_managementandwhatsapp_business_messaging. - Generate the token and copy it.
Create the number in Kapso
In Kapso:- Open Connected numbers.
- Start the manual phone number setup flow.
- Choose the Meta app you saved under Meta apps.
- Enter the WhatsApp number name.
- Paste the Phone number ID.
- Paste the WhatsApp Business Account ID.
- Paste the permanent system-user token.
- Create the configuration.
Configure the Meta webhook
After Kapso creates the manual configuration, Kapso shows the callback URL and verify token to use in Meta. In your Meta app:- Open Use cases.
- Click Customize on Connect with customers through WhatsApp.
- Open Configuration.
- In Webhooks, click Configure or Edit.
- Paste this callback URL:
- Paste the verify token shown in Kapso.
- Subscribe to all webhook fields available in Meta.
- Click Verify and Save.

