Partner invitations allow you to generate links that your clients can use to connect WhatsApp Business accounts to your project. When a client completes the signup flow, a new sender is automatically created in your project.Documentation Index
Fetch the complete documentation index at: https://docs.zavu.dev/llms.txt
Use this file to discover all available pages before exploring further.
Phone Number Options
You have two options for the WhatsApp phone number:- Client provides their own number: The client uses their existing phone number to register for WhatsApp Business
- Pre-assign a Zavu number: You purchase a phone number from Zavu and assign it to the invitation. The client registers this number under their WhatsApp Business Account
Use Cases
- Agencies: Onboard client WhatsApp accounts without accessing their Facebook credentials
- SaaS platforms: Let customers self-service WhatsApp setup
- Resellers: Manage multiple client WhatsApp accounts under one project
- Managed services: Provision phone numbers and let clients complete the WhatsApp verification
How It Works
Create an Invitation
Client provides their own number
Pre-assign a Zavu phone number
First, purchase a phone number from Zavu, then create the invitation with thephoneNumberId:
Response
url with your client. They will complete Meta’s embedded signup flow to connect their WhatsApp Business account.
Invitation Lifecycle
| Status | Description |
|---|---|
pending | Invitation created, waiting for client |
in_progress | Client started the signup flow |
completed | WhatsApp connected, sender created |
expired | Invitation expired before completion |
cancelled | Invitation was cancelled |
List Invitations
Get Invitation Details
Cancel an Invitation
Cancel an active invitation to prevent the client from using it:You cannot cancel a completed invitation. Once a sender is created, you can delete it through the senders API.
After Completion
When a client completes the signup flow:- A new sender is created in your project with WhatsApp enabled
- The sender’s phone number is the client’s registered WhatsApp number
- The invitation status changes to
completed - The
senderIdfield contains the ID of the created sender
SDK Examples
Best Practices
- Set appropriate expiration: Use shorter expirations (3-7 days) for urgent onboarding
- Track client info: Include
clientNameandclientEmailfor easier management - Monitor status: Check for
expiredorcancelledinvitations and resend if needed - Webhooks: Configure webhooks on the resulting sender to receive inbound messages
