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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Send an email
The response is of type object.
object
Was this page helpful?