Create SMTP Account
Create an SMTP account for a domain.
Create an SMTP account for a domain. The local part of the email address is derived from the provided alias.
Scope: domains.smtp_accounts.write
Path Parameters
domain_idintegerrequiredThe ID of the domain.
Request Body
aliasstringrequiredThe local part of the SMTP address (1–64 characters). The full address will be [email protected].
Sample Request
Request
POST https://api.maileroo.com/v1/domains/123/smtp-accounts
Content-Type: application/json
{ "alias": "support" }Sample Response
Returns 201 Created with the created SMTP account object (id, email_address, password).
201 Created
{
"data": {
"id": 55,
"email_address": "[email protected]",
"password": "Xy9..."
}
}