cURL
curl --request GET \ --url https://{host}/api/{session}/lids/pn/{phoneNumber} \ --header 'apikey: <api-key>'
{ "lid": "12345678901234567890", "phone": "5511999999999", "jid": "5511999999999@s.whatsapp.net" }
Get LID associated with a specific phone number
5511999999999
200
401
404
curl -X GET https://api.wappfy.com.br/api/my-session/lids/pn/5511999999999
Your Wappfy API key (get it at dash.wappfy.com.br)
User's linked ID
"1111111@lid"
User's phone number (chat id)
"3333333@c.us"