Send an Authenticated Email to Your Users.
API Endpoint
POST
https://api.ovcode.com/ovcode-data/email/authentication
Request Headers
Ocp-Apim-Subscription-KeyYour Enterprise Subscription KeyApi-KeyYour Enterprise Project API Key
Request Body application/json
Example
{
"subject": "<Subject>",
"to": "user@sample.com",
"body": "<Message Body>",
"cc": "hr@sample.com",
"is_html":1
}
API Response
Success{
"success": true,
"data": {
"reference": "D-550e8400-e29b-41d4-a716-446655440000",
"hash": "c8f0499x0x5791b56bbex56b9ee5bx199210f9x329eb9e4xc122c8650db229c1"
},
"error": null
}
Error
{
"success": false,
"data": null,
"error": "<Error Message>"
}
HTTP Status Codes
Code | Description |
---|---|
200 | OK |
201 | Created |
204 | No Content |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
415 | Unsupported Media Type |
500 | Internal Server Error |