Skip to main content
GET
Get lid by phone number (chat id)

Description

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

URL Parameters

session
string
required
Unique authenticated session ID
phoneNumber
string
required
Phone number (international format, numbers only). Example: 5511999999999

Status Codes

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

Usage Example

Authorizations

apikey
string
header
required

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

Path Parameters

phoneNumber
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"