API endpoint:
https://printsypro.com/api/v1/monitors
Request example:
curl --location --request GET 'https://printsypro.com/api/v1/monitors' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname for Name, url for URL. Defaults to: name.status_page_idsort_byid for Date created, name for Name, url for URL. Defaults to: id.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://printsypro.com/api/v1/monitors/{id}
Request example:
curl --location --request GET 'https://printsypro.com/api/v1/monitors/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://printsypro.com/api/v1/monitors
Request example:
curl --location --request POST 'https://printsypro.com/api/v1/monitors' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'url={url}'
nameurlinterval60, 180, 300, 600, 900, 1800, 3600.alert_conditionurl_unavailable for URL becomes unavailable, url_text for URL response contains text, url_no_text for URL response does not contain text.alert_text_lookupalert_condition field set to url_text, url_no_text.request_methodGET, POST, HEAD, PUT, DELETE, PATCH, OPTIONS.request_headers[index][key]request_headers[index][value]request_auth_usernamerequest_auth_passwordcache_buster0 for Disabled, 1 for Enabled. Defaults to: 0.ssl_alert_days0, 1, 2, 3, 7, 14, 30, 60.domain_alert_days0, 1, 2, 3, 7, 14, 30, 60.maintenance_start_atY-m-d H:i format.maintenance_end_atY-m-d H:i format.alerts[index][key]email for Email, webhook for Webhook, slack for Slack, teams for Microsoft Teams, discord for Discord, flock for Flock, telegram for Telegram, sms for SMS.alerts[index][value]API endpoint:
https://printsypro.com/api/v1/monitors/{id}
Request example:
curl --location --request PUT 'https://printsypro.com/api/v1/monitors/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
nameurlinterval60, 180, 300, 600, 900, 1800, 3600.alert_conditionurl_unavailable for URL becomes unavailable, url_text for URL response contains text, url_no_text for URL response does not contain text.alert_text_lookupalert_condition field set to url_text, url_no_text.request_methodGET, POST, HEAD, PUT, DELETE, PATCH, OPTIONS.request_headers[index][key]request_headers[index][value]request_auth_usernamerequest_auth_passwordcache_buster0 for Disabled, 1 for Enabled.ssl_alert_days0, 1, 2, 3, 7, 14, 30, 60.domain_alert_days0, 1, 2, 3, 7, 14, 30, 60.maintenance_start_atY-m-d H:i format.maintenance_end_atY-m-d H:i format.alerts[index][key]email for Email, webhook for Webhook, slack for Slack, teams for Microsoft Teams, discord for Discord, flock for Flock, telegram for Telegram, sms for SMS.alerts[index][value]pausedAPI endpoint:
https://printsypro.com/api/v1/monitors/{id}
Request example:
curl --location --request DELETE 'https://printsypro.com/api/v1/monitors/{id}' \ --header 'Authorization: Bearer {api_key}'