---
title: "Get contacts"
method: GET
path: "/api/public/whatsapp/contact/contacts"
tags: ["Whatsapp contact"]
---

# Get contacts

`GET /api/public/whatsapp/contact/contacts`

## Request

- Base URL: `https://api.vambe.me`
- URL: `https://api.vambe.me/api/public/whatsapp/contact/contacts`
- Auth: none required
- TypeScript: <https://skmtc.dev/vambe/apis/vambe-ai-api/docs/api/public/whatsapp/contact/contacts/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the contacts where the last message was in the last X days

## Query parameters

- `days` number, required

## Headers

- `x-api-key` string, required

## Response `200`

Contacts retrieved successfully.

## Other responses

- `400`: Bad request.
- `401`: Unauthorized.

---

[API](https://skmtc.dev/vambe/apis/vambe-ai-api.md) - [All operations](https://skmtc.dev/vambe/apis/vambe-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vambe/apis/vambe-ai-api/revisions/e206709d4be5?raw)
