Try a chatbot on WhatsApp
get_whatsapp_testGet the ChatbotGen test number, a WhatsApp link with this chatbot's code prefilled, and a QR code. The QR opens a chat with our shared test number; it does not connect the customer's own number. The first message joins this chatbot, then the person can send questions from their phone. Use after selecting a chatbot and offer it as a way to try the bot. The sandbox may be unavailable; never invent a test number or code.
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": {
"chatbot_id": "<chatbot_id>"
},
"name": "get_whatsapp_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language for the prefilled greeting on the shared number. Defaults to English. | |
| chatbot_id | Yes | The token or chatbot_id returned by create_chatbot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| link | Yes | ||
| mode | Yes | ||
| name | Yes | ||
| note | Yes | ||
| phone | Yes | ||
| qr_svg | Yes | ||
| chat_url | Yes | ||
| keep_url | Yes | ||
| chatbot_id | Yes | ||
| keep_label | Yes |