---
title: "List Messages"
method: GET
path: "/v1/messages"
tags: ["Messages"]
---

# List Messages

`GET /v1/messages`

## Request

- Base URL: `https://api.agentline.cloud`
- URL: `https://api.agentline.cloud/v1/messages`
- Auth: HTTP bearer

List SMS messages sent and received by your AI agents.

Returns message history with optional filters by AI agent or
conversation. Each entry includes direction (inbound/outbound),
phone numbers, message body, and delivery status.

## Query parameters

- `agent_id` string, nullable: Only messages for this agent (agt_... from list_agents). Omit for every agent on the account.
- `conversation_id` string, nullable: Only messages in this thread; take conversation_id from an earlier list_messages result.
- `limit` integer: Page size: how many messages to return, newest first.
- `offset` integer: How many messages to skip, to page past earlier results.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents.md) · [All operations](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/revisions/18c0bdbb4b30?raw)
