MailboxesBulk import Outlook mailboxes from CSV

Bulk import Outlook mailboxes from CSV

Upload a CSV to import Outlook/Hotmail mailboxes using app passwords (not OAuth). Maximum 1000 per import.

Required columns: email, password Optional columns: name (display name), totpsecret (TOTP secret for 2FA)

The import runs asynchronously: the CSV is validated, deduplicated against existing workspace mailboxes, and an outlook_bulk_import job is queued. A worker creates the mailboxes and tests their connections. Rows whose email already exists in the workspace are skipped (their display name is updated if the CSV provides one).

curl -X POST "https://api.sendkit.ai/v1/mailboxes/import/outlook" \
  -H "X-Api-Key: YOUR_API_KEY" \
  --form file=example_string \
  --form tag=example_string \
  --form provider=outlook
{
  "success": true,
  "data": {
    "jobId": "bulk_outlook_bulk_import_1718000000000_a1b2c3d",
    "accountCount": 20,
    "skipped": 2,
    "updated": 1
  },
  "message": "Outlook bulk import started for 20 accounts"
}
POST
/v1/mailboxes/import/outlook
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
filestring
Required

CSV file with email and password columns

Format: binary
tagstring

Tag to apply to all imported mailboxes

providerstring

Account type for the import job

Options: outlook, azure
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

Body

multipart/form-data
filefile
Required

CSV file with email and password columns

tagstring

Tag to apply to all imported mailboxes

providerstring

Account type for the import job

Allowed values:outlookazure

Responses