---
title: "List inbox emails"
method: GET
path: "/scans/emails"
tags: ["Emails", "Beta"]
---

# List inbox emails

`GET /scans/emails`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/scans/emails`
- Auth: API key in header `X-ESCAPE-API-KEY`

Given a target email address, list inbox emails with cursor pagination.

## Query parameters

- `cursor` string: The cursor to start the pagination from. Returned by the previous page response. If not provided, the first page will be returned.
- `size` integer: The number of items to return per page
- `ids` string[]: Filter by email IDs
- `before` string, date-time: Filter by before date
- `after` string, date-time: Filter by after date
- `email` string, email, required: Inbox email address used as `to` filter

## Response `200`

OK

- object
  - `nextCursor` string, nullable, required
  - `totalCount` integer
  - `data` object[], required
    - `id` string, uuid, required: The email identifier
    - `createdAt` string, date-time, required: The date and time the email was created
    - `from` string, required: The sender email address
    - `subject` string, required: The email subject

## Other responses

- `400`: Pagination error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
