Skip to main content
GET
Get phone number by lid

Description

This endpoint returns the phone number associated with a specific LID (Local ID). LID is a local identifier used by WhatsApp to map contacts efficiently.

URL Parameters

string
required
Unique authenticated session ID
string
required
Local ID (LID) of the contact to be queried

Status Codes

  • 200 - Phone number returned successfully
  • 401 - Unauthorized session
  • 404 - Session or LID not found

Usage Example

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

lid
string
required

Response

200 - application/json
lid
string

User's linked ID

Example:

"1111111@lid"

pn
string

User's phone number (chat id)

Example:

"3333333@c.us"