How to add a new check in Uptimerobot via API

Today I was thinking to automate the new addition of website check to our monitoring systems. Since we are using multiple providers for website monitoring, it is a headache to go to each portal and add the website to the portals.

So, I have decided to add a Jenkins key where a single click will add the website to all of our monitoring providers.

Recently we have added uptimerobot to our monitoring providers.


1. Get the Alert Contact ID from uptimerobot

You can run the below command to get the ID of  your alter contacts

curl --data "api_key=u612113-XXXXXXXXXXXXXXXX"

Copy the ID received from the output id":"111111"


2. Call the newMonitor API to add new check

Below is the command line argument to add a website to . You just need to replace the api_key on the below curl command.

curl --data "api_key=XXXXXXXXXXXXXX&alert_contacts=111111&"


api_key = get it from your uptimerobot account settings

alert_contacts =  Get it from the step 1 output.


If everything went fine, You will reveive the following output.




0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
Scroll to Top