Skip to main content
GET
/
sub-account
/
{handle}
/
smtp-password
Retrieve Sub-account SMTP Passwords
curl --request GET \
  --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 retrieve the SMTP password for.

Response

Successfully retrieved the SMTP password 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