Send message
Sending a message to a channel
POST
https://api.usealerta.com/v1/send
Send a new message. Ensure to set your header to secretKey: secret xxx
Request Body
Name
Type
Description
channel*
string
The name of the channel
message*
string
The message
you want to send to the channel
replyTo
boolean
set to true if you want to reply to the message in future, it will return necessary params
{
"statusCode": 200,
"message": "Message sent successfully",
"data": {
"channelRef": "C_ALT_K37P78TMA3T5XW"
}
}
Last updated