Request Pair Code
neuron_request_pair_codeGenerate a pairing code to link a WhatsApp channel with a phone number using the channel ID, replacing the need for a QR code scan.
Instructions
Request a pairing code for a Baileys channel instead of using QR code. Useful for linking with a phone number.
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": {
"id": "<id>",
"phoneNumber": "<phoneNumber>"
},
"name": "neuron_request_pair_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique identifier of the channel | |
| phoneNumber | Yes | Phone number to generate the pair code for |