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
Add new domain
Adds a new domain for sending email
POST
/
outbound
/
domains
Copy
curl --request POST \
--url https://api.jetemail.com/outbound/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "example.com"
}'
Copy
{
"success": true,
"message": "Domain added successfully",
"domain": "example.com",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"status": 0,
"created_date": 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}"
Body
application/json
Response
200
application/json
Domain added successfully
The response is of type object
.
Copy
curl --request POST \
--url https://api.jetemail.com/outbound/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "example.com"
}'
Copy
{
"success": true,
"message": "Domain added successfully",
"domain": "example.com",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"status": 0,
"created_date": 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"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.