GET
Get Pairing Code
Returns a pairing code to link the session from your phone.
API endpoint
https://waclient.com/api/get_paircodeExample:
curl -X GET \
'https://waclient.com/api/get_paircode' \
-G \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX' \
--data-urlencode 'phone=62815xxxxxxxx'Response
{
"status": "success",
"message": "Success",
"paircode": "ABCD-EFGH"
}| Parameter | Description |
|---|---|
| instance_id | WhatsApp Web instance ID |
| access_token | Your access token |
| phone | Phone number in international format |