Outbound
Get domains
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 domains
Retrieves a list of domains associated with the user or organization
GET
/
outbound
/
domains
Copy
curl --request GET \
--url https://api.jetemail.com/outbound/domains \
--header 'Authorization: Bearer <token>'
Copy
{
"success": true,
"domains": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"domain": "example.com",
"status": "active",
"created_date": 1735689600,
"last_modified": 1735689600,
"dns": {
"dkim": {
"host": "jetemail._domainkey.example.com",
"value": "v=DKIM1; k=rsa; p=MIGfMA0..."
},
"spf": {
"host": "example.com",
"value": "v=spf1 include:spf.jetsmtp.net ~all"
},
"dmarc": {
"host": "_dmarc.example.com",
"value": "v=DMARC1; p=none"
}
}
}
]
}
Authorizations
Enter your Bearer token in the format "Bearer {token}"
Response
200
application/json
Successfully retrieved domains
Example:
true
Unique identifier for the domain
Example:
"550e8400-e29b-41d4-a716-446655440000"
Domain name
Example:
"example.com"
Current status of the domain
Available options:
inactive
, active
, disabled
, unknown
Example:
"active"
Creation timestamp in seconds
Example:
1735689600
Last modification timestamp in seconds
Example:
1735689600
Copy
curl --request GET \
--url https://api.jetemail.com/outbound/domains \
--header 'Authorization: Bearer <token>'
Copy
{
"success": true,
"domains": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"domain": "example.com",
"status": "active",
"created_date": 1735689600,
"last_modified": 1735689600,
"dns": {
"dkim": {
"host": "jetemail._domainkey.example.com",
"value": "v=DKIM1; k=rsa; p=MIGfMA0..."
},
"spf": {
"host": "example.com",
"value": "v=spf1 include:spf.jetsmtp.net ~all"
},
"dmarc": {
"host": "_dmarc.example.com",
"value": "v=DMARC1; p=none"
}
}
}
]
}