Create a partner invitation link for a client to connect their WhatsApp Business account. The client will complete Meta’s embedded signup flow and the resulting sender will be created in your project.
{
"invitation": {
"id": "inv_abc123",
"url": "https://dashboard.zavu.dev/invite/abc123xyz",
"token": "<string>",
"status": "pending",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"clientName": "<string>",
"clientEmail": "<string>",
"clientPhone": "<string>",
"phoneNumberId": "<string>",
"senderId": "<string>",
"viewedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
2["US", "MX"]
Invitation created.
Show child attributes
{
"invitation": {
"id": "inv_abc123",
"url": "https://dashboard.zavu.dev/invite/abc123xyz",
"token": "<string>",
"status": "pending",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"clientName": "<string>",
"clientEmail": "<string>",
"clientPhone": "<string>",
"phoneNumberId": "<string>",
"senderId": "<string>",
"viewedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
}