Status Page Incidents

Get all incidents

get

Get a list of all the incidents

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/api/status-page/{status_page_id}/incidents

Get an incident

get

Gets a list of all the incidents occurred on a status page

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

incident_idstringRequired

incident_id parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/api/status-page/{status_page_id}/incident/{incident_id}

Create a new incident

post

Creates a new incident on a status page

{
	"title": "TITLE OF THE INCIDENT 4",
	"desc": "description about the incident",
	"severity": "degraded-performance",
	"componentStatus": [{
			"id": "{{ _.component_id }}",
			"status": "critical-outage"
		}],
	"identifiedAt": "DD/MM/YYYY",
	"identifiedAtTime": "05:00"
}

Params:

* ALL THE TIMESTAMPS SHOULD BE IN UTC

componentStatus *: Accepts a collection of objects used to set status to multiple components at once. Accepted values of component status are operational, degraded-performance, partial-outage, critical-outage.

title *: Title of the incident.

desc *: Description of the incident

severity *: Impact of incident on the status page. Possible values - operational, degraded-performance, partial-outage, critical-outage.

notify: Specify if you want to notify subscribers about the incident. Defaults to false. Type: Boolean

identifiedAtTime: Specify the time when the incident was triggered in 24 Hour format. Default: Current time in UTC

identifiedAt: Specify the date of the incident in UTC. Default: Current Date in UTC

* Required

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

Body
titlestringOptional
descstringOptional
severitystringOptional
identifiedAtTimestringOptional
identifiedAtstringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/status-page/{status_page_id}/incident/new

Edit an incident

post

Edit an incident on a status page

{
	"title": "EDITED TITLE OF THE INCIDENT 4",
	"desc": "edited description about the incident",
	"severity": "degraded-performance",
	"componentStatus": [{
			"id": "{{ _.component_id }}",
			"status": "critical-outage"
		}]
}

Params:

componentStatus *: Accepts a collection of objects used to set status to multiple components at once. Accepted values of component status are operational, degraded-performance, partial-outage, critical-outage.

title *: Title of the incident.

desc *: Description of the incident

severity *: Impact of incident on the status page. Possible values - operational, degraded-performance, partial-outage, critical-outage.

* Required

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

incident_idstringRequired

incident_id parameter

Body
titlestringOptional
descstringOptional
severitystringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/status-page/{status_page_id}/incident/{incident_id}/edit

Add a status update to incident

post

Add a status update to a status page incident

{
	"componentStatus": [{
		"id": "{{ _.component_id }}",
		"status": "operational"
	}],
	"title": "this is a status update",
	"status": "update",
	"notify": true,
	"time": "05:00",
	"date": "10/07/2023"

}

Params:

* ALL THE TIMESTAMPS SHOULD BE IN UTC

componentStatus *: Accepts a collection of objects used to set status to multiple components at once.. Accepted values of component status are operational, degraded-performance, partial-outage, critical-outage.

title *: Title of the incident.

status *: Type of the update. The value of the update can be any of the following - investigating, identified, resolved, update, postmortem.

notify: Specify if you want to notify the subscribers of the page. default is false. Type: Boolean

date: date of the update in DD/MM/YYYY format, otherwise defaults to current date in UTC.

time: time of the update, defaults to current time in UTC.

* Required

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

incident_idstringRequired

incident_id parameter

Body
titlestringOptional
statusstringOptional
timestringOptional
datestringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/status-page/{status_page_id}/incident/{incident_id}/add-status

Last updated