Download OpenAPI specification:Download
Please don't abuse the API, and please report all feature requests and issues to hi@statuspage.io
Each API token is limited to 1 request / second as measured on a 60 second rolling window. To get this limit increased or lifted, please contact hi@statuspage.io.
In order to maintain version integrity into the future, the API is versioned. All calls currently begin with the following prefix:
Wherever possible, the API seeks to implement repeatable patterns with logical, representative URLs and descriptive HTTP verbs. Below are some examples and conventions you will see throughout the documentation.
Information can be sent in the body as form urlencoded or JSON, but make sure the Content-Type header matches the body structure or the server gremlins will be angry.
All examples are provided in JSON format, however they can easily be converted to form encoding if required. Some examples of how to convert things are below:
// JSON
{
"incident": {
"name": "test incident",
"components": ["8kbf7d35c070", "vtnh60py4yd7"]
}
}
// Form Encoded (using curl as an example):
curl -X POST https://api.statuspage.io/v1/example \
-d "incident[name]=test incident" \
-d "incident[components][]=8kbf7d35c070" \
-d "incident[components][]=vtnh60py4yd7"
Authentication is done via an API token provided in the Statuspage management console, and can be accessed via the following navigation:
The following example authenticates you with the Statuspage API. Along with the Page ID listed on the API page, we can fetch your page profile.
curl -H "Authorization: OAuth 89a229ce1a8dbcf9ff30430fbe35eb4c0426574bca932061892cefd2138aa4b1" \
https://api.statuspage.io/v1/pages/gytm4qzbx9t6.json
curl "https://api.statuspage.io/v1/pages/gytm4qzbx9t6.json?api_key=89a229ce1a8dbcf9ff30430fbe35eb4c0426574bca932061892cefd2138aa4b1"
| Security scheme type: | API Key |
|---|---|
| header parameter name: | Authorization |
Get status embed config settings
| page_id required | string Page identifier |
Get status embed config settings
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Update status embed config settings
| page_id required | string Page identifier |
| status_embed_config | object |
Update status embed config settings
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Unprocessable entity
Update status embed config settings
| page_id required | string Page identifier |
| status_embed_config | object |
Update status embed config settings
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Unprocessable entity
Your page profile drives basic settings for your status page including your company name, notification preferences, and time zone.
Get a list of pages
Get a list of pages
Could not authenticate
Update a page
| page_id required | string Page identifier |
| page | object |
Update a page
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Unprocessable entity
Update a page
| page_id required | string Page identifier |
| page | object |
Update a page
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Unprocessable entity
Get a page
| page_id required | string Page identifier |
Get a page
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Get a list of metrics
| page_id required | string Page identifier |
Get a list of metrics
Could not authenticate
The requested resource could not be found.
Page access users allow you to limit people who can see your status page via a login. It also allows you to limit the components and metrics each status page visitor can see, customizing the status page for their needs.
You will need Statuspage to enable access control for your status page before these API endpoints have any effect on your status page.
Add a page access user
| page_id required | string Page identifier |
| page_access_user | object |
Add a page access user
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Unprocessable entity
Get a list of page access users
| page_id required | string Page identifier |
string Email address to search for |
Get a list of page access users
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Update page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
Update page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Update page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
Update page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Delete page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
Delete page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Get page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
Get page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Add components for page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
| component_ids required | Array of string List of component codes to allow access to |
Add components for page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Add components for page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
| component_ids required | Array of string List of component codes to allow access to |
Add components for page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
Replace components for page access user
| page_id required | string Page identifier |
| page_access_user_id required | string Page Access User Identifier |
| component_ids required | Array of string List of component codes to allow access to |
Replace components for page access user
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.