Create message
POST
/v1/messagesRequest body
requiredapplication/jsonbodystringcustomerobjectscheduleDatestring<date-time>threadobjectShow propertiesHide properties
statusstringAllowed:
unreadreadclosedResponses
200Successful response
object204Customer opted out
Request
curl -X POST "https://api.sendhelios.com/v1/messages" \
-H "Content-Type: application/json" \
-d '{
"body": "string",
"customer": {},
"scheduleDate": "2024-01-01T00:00:00Z",
"thread": {
"status": "unread"
}
}'const response = await fetch("https://api.sendhelios.com/v1/messages", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"body": "string",
"customer": {},
"scheduleDate": "2024-01-01T00:00:00Z",
"thread": {
"status": "unread"
}
})
});import requests
response = requests.post(
"https://api.sendhelios.com/v1/messages",
headers={
"Content-Type": "application/json"
},
json={
"body": "string",
"customer": {},
"scheduleDate": "2024-01-01T00:00:00Z",
"thread": {
"status": "unread"
}
},
)Response
{}Customer opted out