Add a WhatsApp number
create_numberCreate a new WhatsApp number slot on the account and return it. This is step one of two: the slot starts disconnected and cannot send until pair_number links a real WhatsApp account to it. How many can exist at once is what the plan sells. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | How long this WhatsApp line has been in real use. We cannot see it, so we ask. It sets how many NEW conversations the number may start per day: `new` (registered days ago) starts at 5/day and climbs, `established` (in use over a month) starts at the 20/day ceiling. Defaults to `new`, the safe answer. Overstating it only costs you the number. | |
| name | Yes | A label you choose, e.g. “Support”. Only you ever see it. | |
| historySync | No | Ask WhatsApp for older chats when the number pairs. Off by default. WhatsApp sends the most recent chats either way, and the number keeps them like any other message (see historyPerChat). | |
| idempotencyKey | No | Your own unique id for this call, such as a UUID. If the call fails with no answer, call again with the same key: it runs once, and the retry gets the first answer back. Answers are kept for 24 hours. |