/alerts

Body Params
string
required

This parameter determines which alert box this alert will show up in, and thus should be one of the following: follow, subscription, donation, or host.

string

The href pointing to an image resource to play when this alert shows. If an empty string is supplied, default image will be displayed.

string

The href pointing to a sound resource to play when this alert shows. If an empty string is supplied, default sound will be played.

string

The message to show with this alert. If not supplied, no message will be shown. Surround special tokens with *s, for example: This is my special alert!

string

Acting as the second heading, this shows below message,

string

How many seconds this alert should be displayed. Value should be in milliseconds.Ex: 1000 for 1 second.

string

The color to use for special tokens. Must be a valid CSS color string.

Responses

Language
Credentials
Header
Request
Response
Choose an example:
application/json