Basic Webhook JSON Example with username and message variables
{
"username" : " New Chat" ,
"avatar_url" : " https://i.imgur.com/siMz27i.png" ,
"content" : " {{username}} said: {{message}}"
}
Basic Webhook JSON Example with custom username, users avatar, and message variables
{
"username" : " [{{username}}] New Chat" ,
"avatar_url" : " {{avatar}}" ,
"content" : " {{username}} said: {{message}}"
}
{
"username" : " New Chat" ,
"avatar_url" : " https://i.imgur.com/siMz27i.png" ,
"content" : " {{message}}" ,
"tts" : true
}
New Spotify song (Use in Alerts > Spotify > Switch Song > Advanced > Lumia Actions > Send To Webhook (JSON)
{
"username" : " Spotify" ,
"avatar_url" : " https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Spotify_logo_without_text.svg/200px-Spotify_logo_without_text.svg.png" ,
"embeds" : [{
"color" : 2021216 ,
"title" : " New song started!" ,
"thumbnail" : {
"url" : " {{spotify_now_playing_image}}"
},
"fields" :[
{
"name" : " Track" ,
"value" : " [{{spotify_now_playing_song}}]({{spotify_now_playing_url}})" ,
"inline" : true
},
{
"name" : " Artist" ,
"value" : " {{spotify_now_playing_artist}}" ,
"inline" : true
}
]
}]
}