Winnr Export API
Data export operations (rate limited to 1 per 5 seconds)
Data export operations (rate limited to 1 per 5 seconds)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/winnr-app:winnr-app-export-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Winnr Export API
description: 'The Winnr API provides programmatic access to manage email domains, email users,
and inbox operations. Use this API to integrate Winnr''s email infrastructure
into your applications.
## Authentication
All API requests require authentication using an API token.
API tokens start with `wnr_` and can be created in your account settings
or via the `POST /v1/auth/tokens` endpoint.
Include your token in the `Authorization` header:
```
Authorization: Bearer wnr_xxx...
```
## Rate Limiting
API requests are rate limited based on your account tier:
| Plan | Requests/min | Burst |
|------|--------------|-------|
| Startup | 300 | 500 |
| Enterprise | 500 | 800 |
Rate limit headers are included in all responses:
- `X-RateLimit-Limit` - Your per-minute limit
- `X-RateLimit-Remaining` - Requests remaining in current window
- `X-RateLimit-Reset` - Unix timestamp when the window resets
## Response envelope
**Every** success response is wrapped in the same envelope — there are no
bare resource bodies. Single-resource endpoints return:
```json
{
"meta": { "request_id": "D0tCQjBLIAMEVCg=", "timestamp": "2026-09-17T03:16:55Z" },
"data": { "...": "the resource" }
}
```
List endpoints add a sibling `pagination` object and return an array in
`data`:
```json
{
"meta": { "request_id": "...", "timestamp": "..." },
"data": [ { "...": "resource" } ],
"pagination": { "has_more": true, "cursor": "eyJ...", "count": 25 }
}
```
Always read the resource from `data`, never from the top level. The
request id lives at `meta.request_id` on success and at `error.request_id`
on failure — quote it when contacting support.
## Pagination
List endpoints support cursor-based pagination:
- `limit` - Number of items per page (default: 25, max: 100)
- `cursor` - Cursor for next page (from previous response)
## Asynchronous endpoints
Endpoints that touch the mail servers or a registrar (mailbox creation,
domain setup, domain deletion, warming changes) do **not** perform the work
inline. They validate the request, enqueue it, and return a job receipt —
`data.job_id` with `data.status: "pending"` — instead of the created
resource. The affected endpoints say so in their own description.
Poll `GET /v1/jobs/{job_id}` until `status` is `completed` or `failed`,
then read the resource from its own endpoint. Typical completion is a few
seconds to a couple of minutes.
**Reconciling a timed-out or failed request.** These endpoints are *not*
idempotent: a blind retry can enqueue a second mailbox. If a request times
out before you see a `job_id`, do not retry immediately — first check
whether the work already landed:
1. `GET /v1/jobs?filter[type]=domain_setup&filter[status]=in_progress` and
look for a job whose input matches your request; if one exists, poll it
rather than resubmitting.
2. Otherwise `GET /v1/email-users?filter[domain]={domain}` (or the relevant
resource list) and check whether the address already exists.
Only resubmit when neither a job nor the resource is present. Resubmitting
an address that already exists is safe in the sense that it is rejected
with `400 validation_error` rather than silently duplicated.'
version: 1.0.0
contact:
name: Winnr Support
email: support@winnr.app
license:
name: Proprietary
url: https://winnr.app/terms
servers:
- url: https://api.winnr.app
description: Production API
- url: https://c8qc9z97f5.execute-api.us-east-1.amazonaws.com
description: Production API (direct)
- url: http://localhost:3000
description: Local development
security:
- bearerAuth: []
tags:
- name: Export
description: Data export operations (rate limited to 1 per 5 seconds)
paths:
/v1/export:
post:
tags:
- Export
summary: Export email users to CSV
description: 'Export email users to a CSV file in various formats compatible with popular
email outreach tools. The CSV is uploaded to S3 and a presigned download URL
is returned. The URL expires after `expires_in` seconds (15 minutes); the CSV
holds plaintext mailbox passwords, so the link is deliberately short-lived.
Download it straight away, and run the export again for a fresh link.
**Pre-filled sequencer settings:** formats with a per-mailbox daily sending
limit column are pre-filled with 15 cold emails per mailbox per day (or the
mailbox''s own daily send limit, if that is lower). Formats with a sequencer
warmup on/off column export it as `FALSE`, since Winnr runs its own warming.
**Rate Limit:** This endpoint is heavily rate limited to 1 request per 5 seconds
per account to prevent abuse, as export operations are resource-intensive.
**Supported Formats** (see `GET /v1/export/formats`): `default`, `smartlead`,
`instantly`, `snov`, `saleshandy`, `plusvibe`, `emailbison`, `manyreach`, `warmy`,
`warmysender`, `reply.io`, `smartreach`, `reachinbox`, `masterinbox`, `leadengine`,
`woodpecker`, `maillead`, `salesforge`, `aicloser`, `sendkit`, `mailshake`, `pipelime`, `sendingos`.'
operationId: exportEmailUsers
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExportRequest'
responses:
'200':
description: Export successful
content:
application/json:
schema:
$ref: '#/components/schemas/ExportResponse'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
description: Export rate limit exceeded (1 per 5 seconds)
headers:
Retry-After:
schema:
type: integer
description: Seconds until next export is allowed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: rate_limited
message: Export rate limit exceeded. Max 1 export per 5 seconds.
/v1/export/formats:
get:
tags:
- Export
summary: List supported export formats
description: Returns a list of all supported export formats.
operationId: getExportFormats
responses:
'200':
description: List of supported formats
content:
application/json:
schema:
$ref: '#/components/schemas/ExportFormatsResponse'
'401':
$ref: '#/components/responses/Unauthorized'
components:
responses:
ValidationError:
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: validation_error
message: Invalid input
details:
- field: email
message: Invalid email format
Unauthorized:
description: Authentication required or token invalid
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: unauthorized
message: Invalid or revoked API token
schemas:
Meta:
type: object
properties:
request_id:
type: string
timestamp:
type: string
format: date-time
ErrorResponse:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
field:
type: string
message:
type: string
meta:
$ref: '#/components/schemas/Meta'
ExportResponse:
type: object
properties:
data:
type: object
properties:
download_url:
type: string
format: uri
nullable: true
description: Presigned S3 URL to download the CSV. Expires after `expires_in` seconds. Null when no email users matched.
format:
type: string
description: The export format used
count:
type: integer
description: Number of email users exported
expires_in:
type: integer
example: 900
description: Seconds until `download_url` stops working (15 minutes). Run the export again for a fresh link.
message:
type: string
description: Present when no email users matched the request
meta:
$ref: '#/components/schemas/Meta'
ExportFormatsResponse:
type: object
properties:
data:
type: object
properties:
formats:
type: array
items:
type: string
description: List of supported export format names
meta:
$ref: '#/components/schemas/Meta'
ExportRequest:
type: object
required:
- format
properties:
format:
type: string
description: Export format (e.g., smartlead, instantly, hubspot)
example: smartlead
domains:
type: array
items:
type: string
description: Optional list of domains to filter by (exports only users from these domains)
get_all:
type: boolean
default: false
description: If true, exports all email users across all domains
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API token (wnr_xxx...)