POST
/v1/messages/send
curl \
--request POST 'https://classmanager.test/v1/messages/send' \
--header "Content-Type: application/json" \
--data '{"id":"msg_xxxxxxxxxx","subject":"email","body":"email body","recipientIds":["con_xxxxxxxxxx"],"attachments":["/path/to/file.blah"]}'
Request examples
{
"id": "msg_xxxxxxxxxx",
"subject": "email",
"body": "email body",
"recipientIds": [
"con_xxxxxxxxxx"
],
"attachments": [
"/path/to/file.blah"
]
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}