Send Email API
Overview
Send Email by API CURL
curl --location 'https://api.nomsa.gov.kh/v1/transactional/email/send' \
--header 'Authorization: Bearer {{apikey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"subject": "One time OTP",
"body": "Hello here is your OTP: 145863 ",
"recipient": "[email protected]"
}'Request Body
{
"id": "16",
"from": "Nomsa <[email protected]>",
"recipient": "[email protected]",
"params": {
"body": "Hello here is your OTP: 145863 ",
"from": "Nomsa <[email protected]>",
"subject": "One time OTP"
},
"attachments_metadata": null,
"status": "ACCEPTED",
"error_code": null,
"error_sub_type": null,
"accepted_at": "2023-10-04T13:17:34.407Z",
"sent_at": null,
"delivered_at": null,
"opened_at": null,
"created_at": "2023-10-04T13:17:34.017Z",
"updated_at": "2023-10-04T13:17:34.407Z",
"classification": null,
"tag": null,
"cc": [],
"bcc": []
}
Status Code
Last updated