curl --request GET \
--url https://api.jetemail.com/outbound/smarthost \
--header 'Authorization: Bearer <token>'{
"success": true,
"smarthosts": [
{
"username": "smtpuser",
"status": "active",
"allowAnyDomain": 0,
"approvedDomains": "[\"alloweddomain.com\"]",
"usage": 77,
"quota": 1001,
"ipRestrictions": "[\"1.1.1.1\"]",
"created_date": "1724113774000",
"last_modified": 1735937552
}
]
}Retrieves a list of SMTP users
curl --request GET \
--url https://api.jetemail.com/outbound/smarthost \
--header 'Authorization: Bearer <token>'{
"success": true,
"smarthosts": [
{
"username": "smtpuser",
"status": "active",
"allowAnyDomain": 0,
"approvedDomains": "[\"alloweddomain.com\"]",
"usage": 77,
"quota": 1001,
"ipRestrictions": "[\"1.1.1.1\"]",
"created_date": "1724113774000",
"last_modified": 1735937552
}
]
}Enter your Bearer token in the format "Bearer {token}"
Successfully retrieved SMTP users
true
Show child attributes
SMTP username
"smtpuser"
Current status of the SMTP user
disabled, active, suspended, quota-locked, quota-unlocked "active"
Whether the user can send from any domain (0=false, 1=true)
0, 1 0
JSON string containing array of approved domains
"[\"alloweddomain.com\"]"
Current usage count
77
Maximum allowed usage
1001
JSON string containing array of allowed IP addresses
"[\"1.1.1.1\"]"
Creation timestamp in milliseconds or seconds (with decimal)
"1724113774000"
Last modification timestamp in seconds
1735937552