Create invitation
Create a partner invitation link for a client to connect a Meta channel. The client opens the returned url and authorizes with Meta; the resulting sender is created in your project when they finish, and the invitation transitions to completed.
connectionType picks the channel:
- whatsapp_waba (default): Meta's embedded signup links an official WhatsApp Business Account.
- messenger: the client picks a Facebook Page they administer; its Messenger inbox (including Marketplace chats) is routed to Zavu.
One invitation connects one channel — create one per channel to onboard a client on several. phoneNumberId and allowedPhoneCountries apply to whatsapp_waba only.
post/v1/invitations
Request body
Example request
{
"clientName": "Acme Corp",
"clientEmail": "contact@acme.com",
"clientPhone": "+14155551234",
"phoneNumberId": "pn_abc123",
"allowedPhoneCountries": [
"US",
"MX"
]
}Response
Invitation created.
Example response
{
"invitation": {
"id": "inv_abc123",
"url": "https://dashboard.zavu.dev/invite/abc123xyz"
}
}