---
title: "Search threads"
method: GET
path: "/email/threads/search"
tags: ["Email"]
---

# Search threads

`GET /email/threads/search`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/email/threads/search`
- Auth: API key in header `Authorization`

Full-text search of threads by subject/preview.

## Query parameters

- `query` string
- `starting_after` string
- `limit` integer

## Response `200`

Threads

- object
  - `object` 'list', required
  - `data` EmailThread[], required
    - `object` string, required
    - `id` string, required
    - `inbox_id` string, required
    - `subject` string, nullable, required
    - `preview` string, nullable, required
    - `labels` string[], required
    - `participants` string[], required
    - `message_count` integer, required
    - `messages` unknown[], required
      - unknown
    - `last_message_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
  - `has_more` boolean, required
  - `url` string

## Other responses

- `401`: Authentication required
- `403`: Forbidden
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
