Installiere unsere App 🪄 Klicke auf das -Symbol oben rechts in der Adressleiste.

Incidents

GET https://new.pingthing.de/api/incidents/
curl --request GET \
--url 'https://new.pingthing.de/api/incidents/' \
--header 'Authorization: Bearer {api_key}' \
Parameter Details Beschreibung
page Optional Integer Die Seitenzahl, von der du Ergebnisse wünschst. Der Standardwert ist 1.
results_per_page Optional Integer Wie viele Ergebnisse möchtest du pro Seite? Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standardmäßig ist es auf 25 gesetzt.
{ "data": [ { "id": 1, "user_id": 1, "monitor_id": 0, "start_monitor_log_id": 0, "end_monitor_log_id": 0, "heartbeat_id": 13, "start_heartbeat_log_id": 264, "end_heartbeat_log_id": 0, "start_datetime": "2025-09-05 17:05:21", "end_datetime": null, "last_failed_check_datetime": null, "failed_checks": 5, "notification_handlers_ids": [1,2,3], "comment": null } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://new.pingthing.de/api/incidents?&page=1", "last": "https://new.pingthing.de/api/incidents?&page=1", "next": null, "prev": null, "self": "https://new.pingthing.de/api/incidents?&page=1" } }
GET https://new.pingthing.de/api/incidents/{incident_id}
curl --request GET \
--url 'https://new.pingthing.de/api/incidents/{incident_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "user_id": 1, "monitor_id": 0, "start_monitor_log_id": 0, "end_monitor_log_id": 0, "heartbeat_id": 13, "start_heartbeat_log_id": 264, "end_heartbeat_log_id": 0, "start_datetime": "2025-09-05 17:05:21", "end_datetime": null, "last_failed_check_datetime": null, "failed_checks": 5, "notification_handlers_ids": [1,2,3], "comment": null } }
POST https://new.pingthing.de/api/incidents/{incident_id}
Parameter Details Beschreibung
comment Optional String -
curl --request POST \
--url 'https://new.pingthing.de/api/incidents/{incident_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'comment=Example' \
{ "data": { "id": 1 } }
DELETE https://new.pingthing.de/api/incidents/{incident_id}
curl --request DELETE \
--url 'https://new.pingthing.de/api/incidents/{incident_id}' \
--header 'Authorization: Bearer {api_key}' \