Connect a new number
create_accountLink a new WhatsApp number by selecting a proxy location near the phone, then complete setup with a QR code or 8-character pairing code.
Instructions
Start linking a new WhatsApp number. Pick proxyLocation with list_proxy_locations (near where the phone is). Then show the QR code with get_account_qr_code, or pass pairingPhone to link with an 8-character pairing code instead. A linked number is billable; a new organization links its first number with no card. To let someone else link their own number, use create_invitation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A name for the account, such as `Front desk`. | |
| projectId | No | Organization keys only: the project to create it in (id or `ext:<externalId>`). A project key always uses its own project. | |
| historySync | No | `recent` imports the chats the phone sends right after linking. Default `none`. | |
| pairingPhone | No | Link by pairing code instead of QR code: the number to link, E.164. | |
| proxyLocation | Yes | Where the number's residential proxy exits: a country and city pair from list_proxy_locations. | |
| idempotencyKey | No | Optional. Reuse the same key when retrying this exact call: within 24 hours wuapi returns the first result instead of doing it twice. |