SendEmail
This method can be used for the following functionality: Send a custom email.
Last updated
{
"cc": [
"support@attackforge.com",
{
"user_id": "6698cbabba716055c969a658"
}
]
}{
"bcc": [
"support@attackforge.com",
{
"user_id": "6698cbabba716055c969a658"
}
]
}{
"subject": "EMAIL SUBJECT"
}{
"text": "EMAIL BODY IN PLAINTEXT"
}{
"html": "<p style=\"border: 3px solid green;\"><b>EMAIL BODY</b></p>"
}curl --request POST \
--url https://localhost:3000/api/ss/email \
--header 'content-type: application/json' \
--header 'x-ssapi-key: ***************************************' \
--data '{"to":["support@attackforge.com",{"user_id":"6698cbabba716055c969a658"}],"cc":["support@attackforge.com",{"user_id":"6698cbabba716055c969a658"}],"bcc":["support@attackforge.com",{"user_id":"6698cbabba716055c969a658"}],"subject":"EMAIL SUBJECT","text":"EMAIL BODY","html":"<p style=\"border: 3px solid green;\"><b>EMAIL BODY</b></p>"}'{
"status": "Accepted"
}