---
title: "Import Mailboxes"
method: POST
path: "/api/v2/mailboxes/import"
tags: ["v2-ext-mailboxes"]
---

# Import Mailboxes

`POST /api/v2/mailboxes/import`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/v2/mailboxes/import`
- Auth: none declared

Register a fleet from a pasted credential sheet.

Each row is proved against the mail server before it earns a row in the
table, so the list can never fill up with entries whose only possible
report is "cannot sign in". The reply says ok or why not, per row, and
never repeats the password back.

## Headers

- `authorization` string

## Request body

- ImportRequest
  - `group` string
  - `note` string, nullable
  - `rows` ImportRow[], required
    - `email` string, required
    - `password` string, required
    - `display_name` string
    - `provider` string
    - `imap_host` string
    - `imap_port` integer
  - `verify` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
