WhatsApp Business Integration & Permissions Guide
This technical specification document outlines the integration architecture, permission requirements, and operational workflows of PT. ALIA PRIMA VERA as a Meta Tech Provider connecting the WhatsApp Business Cloud API with the CRM Suite customer communications platform.
1. Application Purpose
Our platform enables businesses to connect their official WhatsApp Business Account (WABA) with our customer support and CRM workspace (CRM Suite). This allows customer support teams to manage customer inquiries collaboratively, assign incoming conversations to agents, and maintain conversation continuity.
2. Meta Permissions Requested & Justification
whatsapp_business_management
Why it is needed: When a customer's WhatsApp Business number is connected to its workspace, our platform uses this permission to:
- List the phone numbers of the customer's WhatsApp Business Account (WABA) (
GET /{waba_id}/phone_numbers) to show the connected number and its verified name. - Subscribe our webhook endpoint to the customer's WABA (
POST /{waba_id}/subscribed_apps) to receive incoming customer messages. - Register the phone number for Cloud API use during onboarding (
POST /{phone_number_id}/register). - Sync and submit message templates for the customer's broadcasts.
whatsapp_business_messaging
Why it is needed: This core messaging permission is essential to:
- Receive real-time incoming messages and media sent by consumers to the business's WhatsApp number.
- Send outbound customer support agent replies through the WhatsApp Cloud API (
POST /{phone_number_id}/messages). - Receive delivery receipts (delivered, read, failed) to update message delivery statuses in real-time.
3. Onboarding Workflow
- Access request: The business admin submits the Request access form on our home page with the organization name, administrator name, work email and WhatsApp Business number.
- Confirmation: Our team contacts the business to confirm the details and its WhatsApp Business setup. The business keeps its own Meta Business account and WhatsApp Business Account (WABA), and Meta bills it for WhatsApp messaging.
- Access to the customer's WABA: The business gives our team access to its own WABA through Meta's business tools.
- Number connection and webhook subscription: Our team checks the number with Meta, registers it for Cloud API use if needed, and subscribes our app to the customer's WABA through the Meta Graph API.
- CRM workspace creation: Our team creates a workspace for the customer (a separate account in a shared multi-tenant system), the first administrator, and the configured WhatsApp channel, then sends the login.
Customers are currently set up by hand as described above. Self-service onboarding through Meta Embedded Signup is not yet enabled on this site.
4. Data Protection & Security Architecture
- Account separation: Message content is stored per customer account and protected by database row-level security, so it is visible only to that account's members.
- Encrypted Transport: Webhook payloads from Meta Cloud API are transmitted over HTTPS and validated using Meta's
X-Hub-Signature-256HMAC signature. - Erasure: Clients can remove the app at any time in Meta Business Settings, or email an erasure request as described in our User Data Deletion Instructions.
