POST
/
email
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."
}'
{
  "id": "19424fd2acd0004210",
  "response": "Message queued as 19424fd2acd0004210"
}

Authorizations

Authorization
string
header
required

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.