POST
Relogin via Pair Code
Relogin a logged-out instance using a pairing code.
API endpoint
https://waclient.com/api/relogin_paircodeExample:
curl -X POST \
'https://waclient.com/api/relogin_paircode' \
-H 'Content-Type: application/json' \
--data '{
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX",
"phone": "62815xxxxxxxx"
}'Response
{
"status": "success",
"message": "Success",
"paircode": "WXYZ-1234"
}| Parameter | Description |
|---|---|
| instance_id | WhatsApp Web instance ID |
| access_token | Your access token |
| phone | Phone number in international format |