v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
contact

get contact LID and phone

Retrieves LinkedIn ID (LID) and phone number for specified contacts. Returns an array of contact objects with their LID and phone number mappings.

post/instances/{id}/client/action/get-lid

Path parameters

idinteger required

Instance ID

Request body

contactIdsstring[] required

Array of contact IDs in the format number@c.us

Example request

{
  "contactIds": [
    "491729682587@c.us"
  ]
}

Response

Contact LID and phone information retrieved successfully

statusstring
instanceIdstring

Example response

{
  "status": "success",
  "instanceId": "33322",
  "data": {
    "contacts": [
      {
        "lid": "169724423991411@lid",
        "pn": "491729682587@c.us"
      }
    ],
    "count": 1
  },
  "links": {
    "self": "https://waapi.app/api/v1/instances/1/client/action/get-lid"
  }
}