Email
Send multiple emails in a batch
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
Email
Send multiple emails in a batch
Send up to 100 emails in a single batch request
POST
/
email-batch
Copy
curl --request POST \
--url https://api.jetemail.com/email-batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emails": [
{
"from": "John Doe <john@example.com>",
"to": "recipient1@example.com",
"subject": "Test Email 1",
"text": "Hello! This is test email 1."
},
{
"from": "John Doe <john@example.com>",
"to": "recipient2@example.com",
"subject": "Test Email 2",
"text": "Hello! This is test email 2."
}
]
}'
Copy
{
"summary": {
"total": 2,
"successful": 1,
"failed": 1
},
"results": [
{
"status": "success",
"id": "19424fd2acd0004210",
"response": "Message queued as 19424fd2acd0004210"
}
]
}
Authorizations
Enter your Bearer token in the format "Bearer {token}"
Body
application/json
Sender email address in format: "Name email@domain.com"
Example:
"John Doe <john@example.com>"
Single recipient email address
Example:
"user@example.com"
Email subject line
Maximum length:
998
HTML content of the email
Plain text content of the email
CC recipient(s)
BCC recipient(s)
Reply-to address(es)
Response
207
application/json
Batch processing results
Copy
curl --request POST \
--url https://api.jetemail.com/email-batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emails": [
{
"from": "John Doe <john@example.com>",
"to": "recipient1@example.com",
"subject": "Test Email 1",
"text": "Hello! This is test email 1."
},
{
"from": "John Doe <john@example.com>",
"to": "recipient2@example.com",
"subject": "Test Email 2",
"text": "Hello! This is test email 2."
}
]
}'
Copy
{
"summary": {
"total": 2,
"successful": 1,
"failed": 1
},
"results": [
{
"status": "success",
"id": "19424fd2acd0004210",
"response": "Message queued as 19424fd2acd0004210"
}
]
}