---
title: "Trigger account-wide inbox sync"
method: POST
path: "/v1/inbox/refresh"
tags: ["Inbox"]
---

# Trigger account-wide inbox sync

`POST /v1/inbox/refresh`

## Request

- Base URL: `https://api.winnr.app`
- URL: `https://api.winnr.app/v1/inbox/refresh`
- Auth: HTTP bearer

Kicks off the legacy IMAP sync Lambda for every mailbox on the
account, refilling the DynamoDB cache with new messages. Returns
immediately; the actual sync runs asynchronously.

Call this when you need mail pulled right now. GET /v1/inbox already
triggers the same sync for API-token callers on a 10-minute cooldown,
so polling integrations do not have to call it on every cycle.

## Response `200`

Refresh queued

- object
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
  - `data` object
    - `message` string

## Other responses

- `400`: Validation error
- `401`: Authentication required or token invalid

---

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