Skip to content

Instantly share code, notes, and snippets.

@xopez
Forked from Log1x/README.md
Created April 6, 2021 20:22
Show Gist options
  • Save xopez/0cb5ad28ca49998c60ea049b417283ab to your computer and use it in GitHub Desktop.
Save xopez/0cb5ad28ca49998c60ea049b417283ab to your computer and use it in GitHub Desktop.
Uptime Robot Discord Webhook

Uptime Robot Webhook for Discord

Screenshot

Configuration

  • Alert Contact Type: Web-Hook

  • URL to Notify: https://discordapp.com/api/webhooks/CHANGEME/CHANGEME?

    • Must end with ?
  • Send as JSON (application/json).

  • Send default variables as POST parameters

{
"embeds": [
{
"title": "*alertDetails*",
"footer": {
"text": "Timestamp: *alertDateTime*"
},
"thumbnail": {
"url": "https://i.imgur.com/00zpqHE.jpg",
"height": 16,
"width": 16
},
"fields": [
{
"name": "ID",
"value": "*monitorID*"
},
{
"name": "Name",
"value": "*monitorFriendlyName*"
},
{
"name": "Destination",
"value": "*monitorURL*"
},
{
"name": "Type",
"value": "*alertTypeFriendlyName*"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment