GET
Get Contact
Get a single contact by phone number or JID.
API endpoint
https://waclient.com/api/get_contactExample:
curl -X GET \
'https://waclient.com/api/get_contact' \
-G \
--data-urlencode 'contact_id=20100981XXXX' \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX'Response
{
"status": "success",
"message": "Success",
"data": {
"id": "[email protected]",
"name": "Mohamed",
"notify": "Mohamed"
}
}| Parameter | Description |
|---|---|
| contact_id / number | Phone number or JID |
| instance_id | Your instance ID |
| access_token | Your access token |