---
title: "List messages"
method: GET
path: "/v1/Sessions/{sessionId}/Messages"
---

# List messages

`GET /v1/Sessions/{sessionId}/Messages`

List messages

## Path parameters

- `sessionId` string, required

## Query parameters

- `Page` integer
- `PageSize` integer
- `PageToken` string

## Response `200`

OK

- object
  - `messages` AssistantsV1ServiceMessage[]
    - `id` string — The message ID.
    - `account_sid` string — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resource.
    - `assistant_id` string — The Assistant ID.
    - `session_id` string — The Session ID.
    - `identity` string — The identity of the user.
    - `role` string — The role of the user associated with the message.
    - `content` object — The content of the message.
    - `meta` object — The metadata of the message.
    - `date_created` string, date-time — The date and time in GMT when the Message was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    - `date_updated` string, date-time — The date and time in GMT when the Message was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `meta` object
    - `first_page_url` string, uri
    - `key` string
    - `next_page_url` string, uri, nullable
    - `page` integer
    - `page_size` integer
    - `previous_page_url` string, uri, nullable
    - `url` string, uri

---

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