cURL
curl --request POST \ --url https://api.deliverykey.com/v1/emails/send \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "from": "contact@contoso.com", "to": "recipient@contoso.com", "subject": "Hello, World!", "html": "<string>", "text": "<string>" } '
{ "data": { "from": "contact@contoso.com", "to": "recipient@contoso.com", "subject": "Hello, World!", "html": "<string>", "id": "b722edc1-7ad4-4845-9fa5-e4c4f2a923d4", "text": "<string>", "created_at": "2022-10-12T18:57:23.000000Z" } }
Send Single Email
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"contact@contoso.com"
"recipient@contoso.com"
"Hello, World!"
OK
Show child attributes