Skip to main content
POST
Draft an email with AI

Authorizations

Authorization
string
header
required

A ManyPI API key (mpi_...) from Settings → API keys, or an OAuth 2.1 access token obtained through the MCP consent flow.

Body

application/json
instructions
string
required
Maximum string length: 2000
mode
enum<string>
default:email
Available options:
email,
sequence
steps
integer
default:3
Required range: 2 <= x <= 5
lead_id
string<uuid>

An example lead to tailor the tone toward.

Response

The draft.

subject
string
html
string
steps
object[]