Check Pairing Status
wa_pair_statusCheck a pairing started with wa_pair_account. While state is "qr" a new image is returned each time — show the latest to the user. When state becomes "paired" the account is ready and appears in wa_list_accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair_id | Yes | the pair_id returned by wa_pair_account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | starting, qr, paired or failed | |
| pair_id | No | pass this to wa_pair_status to follow the pairing | |
| refusal | No | present only when pairing could not be started | |
| needs_plan | No | true when the linked number has no plan yet and will not run until the user buys one in the console | |
| instructions | No | what to tell the user to do | |
| qr_png_base64 | No | a PNG image of the QR code, base64 encoded — display this to the user |