Please wait... code samples

First thing you should do (after subscribing to is to get your API key. Just go in your channel configuration page, click on "Show API keys" button and copy the key. API key is in the format YY-YYYYYYYYYYYY.
Once you have your channel API key, you are ready to send alerts.

Here follow a few code samples for various languages.
In each sample we used a dummy API key YY-YYYYYYYYYYYY and the same altert text "test alert".

Unix command line - using curl (GET method)

curl ''

Unix command line - using curl (POST method)

curl -X POST '' --data-urlencode 'apikey=YY-YYYYYYYYYYYY' --data-urlencode 'text=test alert'

Unix command line - using wget

wget -qO - ''

Unix command line - using fetch (for BSD systems)

fetch -o - ''

PHP - using file_get_contents()

$alert="test alert";
echo "API reply: $rc\n";

Python - using requests module

import requests
params=(('apikey','YY-YYYYYYYYYYYY'), ('text','test alert'))
rc=requests.get('', params)

For more samples and details please checkout repo on GitHub.