All endpoints are under the URL https://api.instatus.com. They generally follow the REST architecture.
All requests must be encoded as JSON with the Content-Type: application/json header.
Responses from the Instatus API, including errors, are encoded as JSON as well.
Requests to Instatus API must provide an API token through the Authorization header:
You can get your API key from User settings → Developer settings
Authorization: Bearer <API_KEY>
Your Page ID can be found in the dashboard by following these steps:
<> button in the bottom left corner to toggle code mode.
All API endpoints contain a code and message within the error responses.
{"error": {"code": "forbidden","message": "Not authorized"}}
Possible page statuses:
UPHASISSUESALLUNDERMAINTENANCEALLDEGRADEDPERFORMANCEALLPARTIALOUTAGEALLMINOROUTAGEALLMAJOROUTAGESOMEUNDERMAINTENANCESOMEDEGRADEDPERFORMANCESOMEPARTIALOUTAGESOMEMINOROUTAGESOMEMAJOROUTAGEONEUNDERMAINTENANCEONEDEGRADEDPERFORMANCEONEPARTIALOUTAGEONEMINOROUTAGEONEMAJOROUTAGEPossible component statuses:
OPERATIONALUNDERMAINTENANCEDEGRADEDPERFORMANCEPARTIALOUTAGEMAJOROUTAGEPossible incident statuses:
INVESTIGATINGIDENTIFIEDMONITORINGRESOLVEDPossible maintenance statuses:
NOTSTARTEDYETINPROGRESSCOMPLETED