Emails
Send email message
Requires authentication — see Authentication.
Sends a single email. Query parameters are supported.
This endpoint is used in the Email guide.
post/v2/emails
Request
- Base URLhttps://elastic.messangi.me/crowsnest
- URLhttps://elastic.messangi.me/crowsnest/v2/emails
- AuthHTTP bearer
Query parameters
unsubscribeMsgstring
Defines the display text for the unsubscribe link included in the email body, allowing recipients to opt out from future communications. This text will appear as the clickable anchor in the unsubscribe URL.
Request body
Example request
{
"to": "email@service.com",
"from": "service@service.com",
"text": "example text",
"subject": "Email Subject",
"externalId": "123456789abcde",
"clientId": "48118112",
"alias": "Customer email alias (This field is optional)"
}Response
Accepted the request to send the email
Example response
{
"meta": {
"timestamp": 1597166699457,
"transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
"explain": "a descriptive text"
},
"data": {
"id": "203",
"date": "2020-08-08T19:43:36.278949Z",
"to": "test@service.com",
"from": "from@service.com",
"userName": "myAccount@delivery.com",
"operator": "operatorAccount@delivery.com",
"text": "content",
"status": "SENT",
"subject": "Greetings",
"externalId": "123456789abcdef",
"clientId": "48118112",
"alias": "customer email alias (This field is optional)"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.