waha_request_pairing_code
Generate a phone pairing code for WhatsApp authentication when QR code scanning is unavailable. Enter your phone number to receive a verification code via SMS.
Instructions
Request a pairing code for phone number authentication (alternative to QR code). The user will receive a code on their phone to enter in WhatsApp.
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": {
"phoneNumber": "<phoneNumber>"
},
"name": "waha_request_pairing_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Session name | default |
| phoneNumber | Yes | Phone number in international format without + (e.g. "12132132130") |