---
title: "get contact LID and phone"
method: POST
path: "/instances/{id}/client/action/get-lid"
tags: ["contact"]
---

# get contact LID and phone

`POST /instances/{id}/client/action/get-lid`

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

## Path parameters

- `id` integer, required

## Request body

- object
  - `contactIds` string[], required — Array of contact IDs in the format number@c.us

## Response `200`

Contact LID and phone information retrieved successfully

- object
  - `status` string
  - `instanceId` string
  - `data` object
    - `contacts` object[]
      - `lid` string — LinkedIn ID for the contact
      - `pn` string — Phone number of the contact
    - `count` integer — Number of contacts returned
  - `links` object
    - `self` string

## Other responses

- `401` — Unauthorized — invalid or missing bearer token
- `403` — Forbidden — insufficient permissions or account blocked
- `404` — Not found — instance does not exist or does not belong to you
- `409` — Conflict — instance is not ready
- `422` — Validation error — invalid or missing request parameters
- `429` — Too many requests — rate limit exceeded

---

[API](https://skmtc.net/waapi/apis/waapi-api.md) · [All operations](https://skmtc.net/waapi/apis/waapi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/waapi/waapi-api/revisions/1e2cc7c12090/schema)
