---
title: "get all contacts"
method: POST
path: "/instances/{id}/client/action/get-contacts"
tags: ["contact"]
---

# get all contacts

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

Retrieves a list of all contacts from the  account, including saved contacts and  users who have messaged you.

## Path parameters

- `id` integer, required

## Response `200`

Successfully retrieved list of contacts

- object
  - `status` 'success' | 'error'
  - `instanceId` string
  - `data` object[]
    - `id` object
      - `server` string
      - `user` string
      - `_serialized` string
    - `number` string
    - `isBusiness` boolean
    - `isEnterprise` boolean
    - `name` string
    - `pushname` string
    - `shortName` string
    - `type` string
    - `isMe` boolean
    - `isUser` boolean
    - `isGroup` boolean
    - `isWAContact` boolean
    - `isMyContact` boolean
    - `isBlocked` boolean

## 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)
