cURL
curl --request POST \ --url https://api.sendrealm.com/emails \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "from": "jsmith@example.com", "to": [ "jsmith@example.com" ], "subject": "<string>", "text": "<string>", "html": "<string>", "tags": [ { "name": "<string>", "value": "<string>" } ], "headers": {}, "attachments": [ { "name": "<string>", "type": "<string>", "data": "<string>" } ] }'
{ "status": 123 }
Send emails
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Send an email
The body is of type object.
object
Email sent successfully
The response is of type object.