Skip to main content

Authentication

Initiate Authorization

Initiate email integration authorization

Parameters

string
required
The ID of the user

Response

Redirects to email provider’s OAuth page

Authorization Callback

Callback endpoint for email authorization

Parameters

string
required
OAuth authorization code
string
required
State parameter for security verification

Response

Redirects to success or error page with status

Account Management

List Accounts

Get connected email accounts

Parameters

string
required
The ID of the user

Response

array
List of connected email accounts

Disconnect Account

Disconnect an email account

Parameters

string
required
ID of the email account to disconnect
string
required
The ID of the user

Response

Refresh Token

Refresh token for an email account

Parameters

string
required
ID of the email account
string
required
The ID of the user

Response

Email Operations

Send Email

Send an email through a connected account

Parameters

string
required
ID of the email account to send from
string
required
The ID of the user

Request Body

Response