The WhatsApp Business API lets you send approved, template-based notifications from your application. The setup connects a Moolre WhatsApp service to your Meta Business portfolio and verified phone number.
Authentication
WhatsApp requests use the X-API-VASKEY header. This key belongs to the WhatsApp service you create in the Moolre portal and is separate from your account API keys.
Create a Moolre WhatsApp service
Create the service container that connects your application to Meta.
- Open WhatsApp services
Navigate to the WhatsApp area in the Moolre portal.
- Create the service
Start a new service and choose the WhatsApp service type.
- Enter the business number
Use a new number or an existing WhatsApp Business number.
- Open the service admin
Open the Admin page for the service you just created.
- Confirm the pending status
The service should display Awaiting verification.
- Start verification
Use Channel Settings to begin the secure Meta onboarding flow.
Fill the Create a Service form with your business name, service type, and WhatsApp number.
Complete Meta onboarding
Connect the correct business portfolio, WABA, and phone number through Meta's embedded signup flow.
- Log in to Meta
Use the Facebook account that manages your business portfolio.
- Grant the requested permissions
Allow Moolre to manage the WhatsApp account and messages.
- Choose a business portfolio
Select the Meta Business portfolio associated with this service.
- Choose or create a WABA
Connect an existing WhatsApp Business Account or create a new one.
- Enter business details
Provide the official business name, category, country, and website.
- Register the phone number
Enter the number that will send WhatsApp API messages.
- Complete OTP verification
Verify the number with the code delivered by SMS or voice.
- Add Meta billing details
Set up the payment method used by Meta for WhatsApp conversations.
Connect the Facebook account that manages your Meta business portfolio.
Keep every requested permission enabled. Meta returns the WABA ID and Phone ID to Moolre when onboarding completes.
Verify and activate the service
Confirm approval in Moolre, then enable the phone number and webhook services.
- Monitor the service status
Return to the Moolre service admin to review business verification and messaging limits.
- Wait for display-name approval
Meta normally reviews the business and display name within a few hours.
The service admin shows Account Approved after Meta completes verification.
Send your first WhatsApp message
Once the service is approved, use its X-API-VASKEY with an approved Meta template to send your first notification.
