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 an email
POST
/
email
Copy
curl --request POST \
--url https://api.jetemail.com/email \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"from": "John Doe <[email protected]>",
"to": "[email protected]",
"subject": "Test Email",
"text": "Hello! This is a test email."
}'
Copy
{
"id": "19424fd2acd0004210",
"response": "Message queued as 19424fd2acd0004210"
}
Authorizations
Enter your Bearer token in the format "Bearer {token}"
Body
application/json
Response
201
application/json
Email queued successfully
The response is of type object
.
Copy
curl --request POST \
--url https://api.jetemail.com/email \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"from": "John Doe <[email protected]>",
"to": "[email protected]",
"subject": "Test Email",
"text": "Hello! This is a test email."
}'
Copy
{
"id": "19424fd2acd0004210",
"response": "Message queued as 19424fd2acd0004210"
}
Assistant
Responses are generated using AI and may contain mistakes.