Skip to main content
POST
/
sub-account
/
{handle}
/
smtp-password
Create Sub-account SMTP Password
curl --request POST \
  --url https://api.mailchannels.net/tx/v1/sub-account/{handle}/smtp-password \
  --header 'X-Api-Key: <x-api-key>'
{
  "enabled": true,
  "id": 123,
  "smtp_password": "<string>"
}

Headers

X-Api-Key
string
required

Path Parameters

handle
string
required

Handle of the sub-account to create SMTP password for.

Response

A new SMTP password was successfully created for the specified sub-account.

enabled
boolean

Whether the SMTP password is enabled

id
integer

The SMTP password ID for the sub-account

smtp_password
string

SMTP password for the sub-account