---
title: "Get Inbox Drafts"
method: GET
path: "/inbox/drafts"
tags: ["Inbox"]
---

# Get Inbox Drafts

`GET /inbox/drafts`

## Request

- Base URL: `https://synchronex.ai/api/v1`
- URL: `https://synchronex.ai/api/v1/inbox/drafts`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://synchronex.ai/oauth/authorize`, token URL `https://synchronex.ai/api/oauth/token`, scopes: `read`)

Looks up the newest stored draft set for one Gmail thread without running inference. Freshness is compared by message time, never by message id.

## Query parameters

- `account_email` string, email, required
- `thread_perm_id` string
- `legacy_thread_id` string
- `message_id` string
- `latest_message_at` string, date-time

## Response `200`

Draft lookup result.

- union
  - object
    - `state` 'draft_available', required
    - `matched_on` 'legacy_thread_id' | 'thread_perm_id', required
    - `drafts` InboxDraftAlternative[], required
      - `tone` string, required
      - `text` string, required
    - `why` string, required
    - `latest_message_at` string, date-time, required
    - `generated_at` string, date-time, required
  - object
    - `state` 'no_draft', required
    - `matched_on` 'legacy_thread_id' | 'thread_perm_id', required
  - object
    - `state` 'indeterminate', required
    - `matched_on` 'legacy_thread_id' | 'thread_perm_id' | 'null', nullable, required
    - `drafts` InboxDraftAlternative[]
      - `tone` string, required
      - `text` string, required
    - `why` string
    - `latest_message_at` string, date-time
    - `generated_at` string, date-time

## Other responses

- `400`: Validation error. The request body or query string is invalid.
- `401`: Unauthorized. Missing, malformed, expired, or revoked bearer token.
- `403`: Forbidden. The token scope or account tier is insufficient.
- `429`: Rate limit exceeded. Retry after the indicated reset time.
- `500`: Internal server error.

---

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