---
title: "Retrieves all messages in the session"
method: GET
path: "/api/messages/getAll"
tags: ["messages"]
---

# Retrieves all messages in the session

`GET /api/messages/getAll`

Retrieves all messages in the session

## Query parameters

- `chatId` string — Chat ID (phone number or formatted ID)
- `includeMe` boolean, required — Include own messages
- `includeNotifications` boolean, required — Include notification messages

## Response `200`

Successful response

- unknown[]
  - unknown

## Other responses

- `400` — Validation error
- `500` — Internal server error

---

[API](https://skmtc.net/open-wa/apis/open-wa-api.md) · [All operations](https://skmtc.net/open-wa/apis/open-wa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open-wa/open-wa-api/versions/2f344d03d2a9/schema)
