POST
/
email
cURL
curl --request POST \
  --url https://api.contiguity.com/send/email \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "john.doe@example.com",
  "from": "Contiguity <no-reply@contiguity.com>",
  "subject": "Hello, world!",
  "body": {
    "text": "Hello, world!",
    "html": "<p>Hello, world!</p>"
  }
}'
{
  "id": "req_xxxxxxxxxxxxxxxx",
  "timestamp": 1755815097884,
  "api_version": "v2025.8.21",
  "object": "response",
  "data": {
    "email_id": "eml_1234567890"
  }
}
from behavior is highly dependent on your account’s setup!
The sender email configuration depends on your account setup:
  • If you haven’t verified a domain: You can only use Contiguity’s email infrastructure. Simply provide your sender name (e.g. ‘Contiguity’).
  • If you have verified a domain: You can either:

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Send an email

The response is of type object.