Connect WhatsApp by code
dosai_get_whatsapp_pairing_codeConnect the business's WhatsApp number without a QR: returns an 8-character code. Tell the owner, on the phone with that WhatsApp: Settings → Linked devices → Link a device → Link with phone number instead, and type the code (it lives about a minute; if it expired, call again). If the answer says the code is being prepared, call again in 10 seconds. Then check dosai_get_whatsapp_status. Admin or owner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | The WhatsApp number with country code, e.g. 77071234567. | |
| project_id | Yes | Project id, as returned by dosai_list_projects. |