---
title: "Create an email integration"
method: POST
path: "/email-integrations"
tags: ["Email integrations"]
---

# Create an email integration

`POST /email-integrations`

## Request

- Base URL: `https://api.flogpt.com/api/v1`
- URL: `https://api.flogpt.com/api/v1/email-integrations`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

`name` is required. SMTP/IMAP passwords are encrypted at rest and read
back only as `smtpPasswordConfigured` / `imapPasswordConfigured`. On a
PATCH, a blank password means "unchanged" rather than "clear", so a
client can round-trip the redacted object safely.

## Request body

- ResourceInput

## Response `201`

Created email integration

## Other responses

- `400`: The request is invalid.

---

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