Create invitation
Create a partner invitation link for a client to connect WhatsApp. The client opens the returned url and connects. Set connectionType to choose how they connect:
whatsapp_waba(default): the client completes Meta’s embedded signup, linking an official WhatsApp Business Account.whatsapp_alt: the client links their number by scanning a QR code. Requires the WhatsApp Alternative feature to be enabled for your team (otherwise returns 400).
Either way, the resulting sender is created in your project when the client completes the flow, and the invitation transitions to completed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Name of the client being invited.
100"Acme Corp"
Email of the client being invited.
"contact@acme.com"
Phone number of the client in E.164 format.
"+14155551234"
ID of a Zavu phone number to pre-assign for WhatsApp registration. If provided, the client will use this number instead of their own.
"pn_abc123"
Number of days until the invitation expires.
1 <= x <= 30ISO country codes for allowed phone numbers.
2How the client connects WhatsApp. whatsapp_waba (default) runs Meta's embedded signup to link an official WhatsApp Business Account. whatsapp_alt links the number by scanning a QR code — available only to teams with the WhatsApp Alternative feature enabled.
whatsapp_waba, whatsapp_alt Response
Invitation created.
