---
title: "Get contact's message history"
method: GET
path: "/api/v2/contacts/messages"
tags: ["Behavior tracking"]
---

# Get contact's message history

`GET /api/v2/contacts/messages`

The method returns the contact's message history.<br/>Supported media types: Email, SMS, Viber, Mobile Push, Web Push, App Inbox, Telegram.

## Query parameters

- `dateFrom` string, required
- `dateTo` string, required
- `email` string
- `phone` string
- `contactId` integer
- `externalCustomerId` string
- `channelTypes` string
- `offset` integer
- `maxrows` integer

## Response `200`

---

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