RackPing API

What is the RackPing API?

The RackPing API is a REST API to automate management of your account, monitors and retrieve reports from programs or the command line.

Documentation

Sample API Code

  • Pause and continue monitoring check alerts using the free curl program:
    # Pause alerts during maintenance for 2 hours. Just customize your API_KEY, EMAIL:PASSWORD and CHECKID.
    
    curl -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -H "App-Key: API_KEY" -u EMAIL:PASSWORD -d '{"checkids":[ CHECKID ],"maintenance":true}' https://www.rackping.com/api/2.0/checks
    
    
    # Continue alerts after maintenance is done. Just customize your API_KEY, EMAIL:PASSWORD and CHECKID.
    
    curl -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -H "App-Key: API_KEY" -u EMAIL:PASSWORD -d '{"checkids":[ CHECKID ],"maintenance":false}' https://www.rackping.com/api/2.0/checks
    
    

Other Helpful Resources