---
title: "Get Agent Profile Inbox Emails"
method: GET
path: "/agents/v2/agent-profiles/{profileId}/inbox-emails"
tags: ["Agent Profiles"]
deprecated: true
---

# Get Agent Profile Inbox Emails

`GET /agents/v2/agent-profiles/{profileId}/inbox-emails`

## Request

- Base URL: `https://odyssey.asteroid.ai`
- URL: `https://odyssey.asteroid.ai/agents/v2/agent-profiles/{profileId}/inbox-emails`
- Auth: API key in header `X-Api-Key`

> **Deprecated.**

List emails in the agent profile's inbox

## Path parameters

- `profileId` string, uuid, required

## Query parameters

- `limit` integer

## Response `200`

The request has succeeded.

- AgentsProfileAgentProfileInboxEmailsResponse: Response for listing the emails in an agent profile's inbox
  - `emailCount` integer, required
  - `emails` AgentsProfileProfileInboxEmail[], required
    - `createdAt` string, date-time, required
    - `from` string, required
    - `id` string, required: Unique email ID from Resend
    - `subject` string, required
    - `to` string[], required
  - `hasMore` boolean, required: Whether Resend has more emails beyond this page

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `500`: Server error

---

[API](https://skmtc.dev/asteroid/apis/agent-service.md) - [All operations](https://skmtc.dev/asteroid/apis/agent-service/llms.txt) - [OpenAPI document](https://skmtc.dev/asteroid/apis/agent-service/revisions/ccc134d1d510?raw)
