POST
/
email-accounts
Create an email account
curl --request POST \
  --url https://api.reply.io/v3/email-accounts \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "id": 1,
  "email": "user@example.com",
  "dailyLimit": 1000,
  "senderName": "John Doe",
  "smtpHost": "smtp.example.com",
  "smtpPort": 465,
  "smtpPassword": "yourSmtpPassword123",
  "smtpSsl": true,
  "imapHost": "imap.example.com",
  "imapPort": 993,
  "imapPassword": "yourImapPassword123",
  "imapSsl": true
}'
{
  "id": 1,
  "email": "user@example.com",
  "dailyLimit": 1000,
  "senderName": "John Doe",
  "smtpHost": "smtp.example.com",
  "smtpPort": 465,
  "smtpPassword": "yourSmtpPassword123",
  "smtpSsl": true,
  "imapHost": "imap.example.com",
  "imapPort": 993,
  "imapPassword": "yourImapPassword123",
  "imapSsl": true
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Body

application/json
email
string<email>
required

The email address used for sending emails

dailyLimit
integer
required

The maximum number of emails you can send per day

Required range: x >= 1
senderName
string
required

The name that will be displayed as the sender in email recipients' inboxes

smtpHost
string
required

The hostname or IP address of the Simple Mail Transfer Protocol (SMTP) server used for sending emails

smtpPort
integer
required

The port number used for communication with the SMTP server (typically 465 for SMTP with SSL/TLS encryption)

Required range: 1 <= x <= 65535
smtpPassword
string
required

The password for the email address used for sending emails

imapHost
string
required

The hostname or IP address of the Internet Message Access Protocol (IMAP) server used for receiving emails

imapPort
integer
required

The port number used for communication with the IMAP server (typically 993 for IMAP with SSL/TLS encryption)

Required range: 1 <= x <= 65535
imapPassword
string
required

The password for the email address used for receiving emails

id
integer

Unique identifier for the SMTP email account

smtpSsl
boolean
default:true

This option controls whether SSL is used for the SMTP connection

imapSsl
boolean
default:true

This option controls whether SSL is used for the IMAP connection

Response

201 - application/json

Email account created successfully

email
string<email>
required

The email address used for sending emails

dailyLimit
integer
required

The maximum number of emails you can send per day

Required range: x >= 1
senderName
string
required

The name that will be displayed as the sender in email recipients' inboxes

smtpHost
string
required

The hostname or IP address of the Simple Mail Transfer Protocol (SMTP) server used for sending emails

smtpPort
integer
required

The port number used for communication with the SMTP server (typically 465 for SMTP with SSL/TLS encryption)

Required range: 1 <= x <= 65535
smtpPassword
string
required

The password for the email address used for sending emails

imapHost
string
required

The hostname or IP address of the Internet Message Access Protocol (IMAP) server used for receiving emails

imapPort
integer
required

The port number used for communication with the IMAP server (typically 993 for IMAP with SSL/TLS encryption)

Required range: 1 <= x <= 65535
imapPassword
string
required

The password for the email address used for receiving emails

id
integer

Unique identifier for the SMTP email account

smtpSsl
boolean
default:true

This option controls whether SSL is used for the SMTP connection

imapSsl
boolean
default:true

This option controls whether SSL is used for the IMAP connection