Outbound
Get SMTP users
API Reference
Outbound
- GETGet SMTP users
- POSTCreate new SMTP user
- DELDelete SMTP user
- PATCHUpdate SMTP user
- GETGet transactional API keys
- POSTCreate new transactional API key
- DELDelete transactional API key
- PATCHUpdate transactional API key
- GETGet outbound email logs
- GETGet outbound email logs by UID
- GETGet domains
- POSTAdd new domain
- DELDelete domain
- POSTCheck domain DNS records
Inbound
- GETGet inbound domains
- POSTAdd new inbound domain
- DELDelete inbound domain
- GETGet inbound domain settings
- PATCHUpdate inbound domain settings
- GETGet inbound email logs
- GETGet blocklist rules
- POSTCreate blocklist rule
- DELDelete blocklist rule
- PATCHUpdate blocklist rule
- GETGet allowlist rules
- POSTCreate allowlist rule
- DELDelete allowlist rule
- PATCHUpdate allowlist rule
Outbound
Get SMTP users
Retrieves a list of SMTP users
GET
/
outbound
/
smarthost
Copy
curl --request GET \
--url https://api.jetemail.com/outbound/smarthost \
--header 'Authorization: Bearer <token>'
Copy
{
"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
}
]
}
Authorizations
Enter your Bearer token in the format "Bearer {token}"
Response
200
application/json
Successfully retrieved SMTP users
Example:
true
SMTP username
Example:
"smtpuser"
Current status of the SMTP user
Available options:
disabled
, active
, suspended
, quota-locked
, quota-unlocked
Example:
"active"
Whether the user can send from any domain (0=false, 1=true)
Available options:
0
, 1
Example:
0
JSON string containing array of approved domains
Example:
"[\"alloweddomain.com\"]"
Current usage count
Example:
77
Maximum allowed usage
Example:
1001
JSON string containing array of allowed IP addresses
Example:
"[\"1.1.1.1\"]"
Creation timestamp in milliseconds or seconds (with decimal)
Example:
"1724113774000"
Last modification timestamp in seconds
Example:
1735937552
Copy
curl --request GET \
--url https://api.jetemail.com/outbound/smarthost \
--header 'Authorization: Bearer <token>'
Copy
{
"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
}
]
}