POST
/
api
/
broadcast
curl --location --request POST 'https://scheduler.booper.dev/api/broadcast' \
--header 'Content-Type: application/json' \
--data-raw '{
    "author": "alex",
    "content": "sup",
    "channel": "discord"
}'
{
  "author": "alex",
  "channel": "discord",
  "content": "sup"
}

Body

content
string
The content of the message to send.
author
string
The name of the person sending the message.
channel
string
The channel to send the message to.

Response

success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://scheduler.booper.dev/api/broadcast' \
--header 'Content-Type: application/json' \
--data-raw '{
    "author": "alex",
    "content": "sup",
    "channel": "discord"
}'
{
  "author": "alex",
  "channel": "discord",
  "content": "sup"
}