Download OpenAPI specification:Download
Please don't abuse the API, and please report all feature requests and issues to https://support.atlassian.com/contact
Each API token is limited to 1 request / second as measured on a 60 second rolling window. To get this limit increased, please contact us at https://support.atlassian.com/contact
Error codes 420 or 429 indicate that you have exceeded the rate limit and the request has been rejected.
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 interface.
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 |
Update a user's role permissions. Payload should contain a mapping of pages to a set of the desired roles, if the page has Role Based Access Control. Otherwise, the pages should map to an empty hash. User will lose access to any pages omitted from the payload.
organization_id required | string Organization Identifier |
user_id required | string User identifier |
pages | object |
Update a user's role permissions. Payload should contain a mapping of pages to a set of the desired roles, if the page has Role Based Access Control. Otherwise, the pages should map to an empty hash. User will lose access to any pages omitted from the payload.
Bad request
Could not authenticate
You are not authorized to access this resource.
The requested resource could not be found.
{- "pages": {
- "page_id": {
- "page_configuration": true,
- "incident_manager": true,
- "maintenance_manager": true
}
}
}
{- "user_id": "b1kjlnc6w8tf",
- "pages": [
- {
- "page_id": "qp9hlj0by8px",
- "page_configuration": false,
- "incident_manager": true,
- "maintenance_manager": true
}, - {
- "page_id": "3bysrqrcl5vd",
- "page_configuration": false,
- "incident_manager": true,
- "maintenance_manager": true
}
]
}
Get a user's permissions
organization_id required | string Organization Identifier |
user_id required | string User identifier |
Get a user's permissions
Could not authenticate
The requested resource could not be found.
curl https://api.statuspage.io/v1/organizations/{organization_id}/permissions/{user_id} \ -H "Authorization: OAuth your-api-key-goes-here" \ -X GET
{- "user_id": "9rgzw1p87p6p",
- "pages": [
- {
- "page_id": "dtvknpt392qh",
- "page_configuration": false,
- "incident_manager": true,
- "maintenance_manager": true
}, - {
- "page_id": "85tys1bj2cs1",
- "page_configuration": false,
- "incident_manager": true,
- "maintenance_manager": true
}
]
}
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.
curl https://api.statuspage.io/v1/pages/{page_id}/status_embed_config \ -H "Authorization: OAuth your-api-key-goes-here" \ -X GET
{- "page_id": "string",
- "position": "string",
- "incident_background_color": "string",
- "incident_text_color": "string",
- "maintenance_background_color": "string",
- "maintenance_text_color": "string"
}
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
{- "status_embed_config": {
- "position": "string",
- "incident_background_color": "string",
- "incident_text_color": "string",
- "maintenance_background_color": "string",
- "maintenance_text_color": "string"
}
}