---
title: "People the user exchanged WhatsApp messages with, latest first, with the last message and how many replies are unanswered"
method: GET
path: "/v1/conversations"
tags: ["Public API"]
---

# People the user exchanged WhatsApp messages with, latest first, with the last message and how many replies are unanswered

`GET /v1/conversations`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/v1/conversations`
- Auth: HTTP bearer

## Query parameters

- `search` string: Part of a phone, contact name or alias
- `limit` integer

## Response `200`

OK

- ThreadsOutputBody
  - `items` ThreadBody[], nullable, required
    - `last_at` string, date-time, required
    - `last_direction` 'sent' | 'received', required
    - `last_status` string, required: Status of the last sent message, empty when the last message was received
    - `last_text` string, required
    - `name` string, required
    - `phone` string, required
    - `slot_id` string, nullable, required: Number of the last message, null when unknown
    - `unanswered` integer, required: Messages received after the last one sent

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
