Notification handlers
GET https://up-time.io/api/notification-handler/
curl --request GET \
--url 'https://up-time.io/api/notification-handler/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://up-time.io/api/notification-handler/' \
--header 'Authorization: Bearer {api_key}' \
Parameters | Details | Description |
---|---|---|
page | Optional Integer | The page number that you want results from. Defaults to 1 . |
results_per_page | Optional Integer | How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 . Defaults to 25 . |
{ "data": [ { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "hey@example.com" }, "is_enabled": true, "last_datetime": null, "datetime": "2021-06-27 22:16:23" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://up-time.io/api/notification-handler?&page=1", "last": "https://up-time.io/api/notification-handler?&page=1", "next": null, "prev": null, "self": "https://up-time.io/api/notification-handler?&page=1" } }
GET https://up-time.io/api/notification-handler/{notification_handler_id}
curl --request GET \
--url 'https://up-time.io/api/notification-handler/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://up-time.io/api/notification-handler/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "hey@example.com" }, "is_enabled": true, "last_datetime": null, "datetime": "2021-06-27 22:16:23" } }