SDK reference
Status Pages
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages' \
-H "Authorization: Bearer $CACTIVE_TOKEN"curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example"
}'curl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Change a status page
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"slug": "example",
"timeZone": "example"
}'DELETE/
Delete a status page
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PUT/
Set a status page's logo
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/logo' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"type": "image/png",
"data": "example"
}'DELETE/
Remove a status page's logo
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/logo' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Add a component group
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/groups' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example"
}'PATCH/
Change a component group
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/groups/{groupId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"order": 1,
"collapsed": true
}'DELETE/
Remove a component group
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/groups/{groupId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Add a component
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/components' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example"
}'PATCH/
Change a component
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/components/{componentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"description": "example",
"groupId": "<groupId>"
}'DELETE/
Remove a component
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/components/{componentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PUT/
Set a component's state
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/components/{componentId}/state' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"state": "operational"
}'GET/
List incidents
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Get an incident
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents/{incidentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Open an incident
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"title": "Example",
"message": "example"
}'PATCH/
Edit an incident
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents/{incidentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"title": "Example",
"impact": "none",
"components": [
{
"componentId": "<componentId>",
"state": "operational"
}
]
}'POST/
Publish a draft incident
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents/{incidentId}/publish' \
-H "Authorization: Bearer $CACTIVE_TOKEN"DELETE/
Delete an incident
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents/{incidentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Post an incident update
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents/{incidentId}/updates' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"message": "example"
}'PATCH/
Revise an incident update
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/incidents/{incidentId}/updates/{updateId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"message": "example"
}'GET/
List incident templates
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/templates' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Add an incident template
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/templates' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"title": "Example",
"message": "example"
}'PATCH/
Change an incident template
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/templates/{templateId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"kind": "incident",
"title": {}
}'DELETE/
Remove an incident template
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/templates/{templateId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
List a status page's monitors
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/monitors' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Add a monitor to a status page
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/monitors' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"check": {}
}'GET/
Get a monitor
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/monitors/{monitorId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Change a monitor
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/monitors/{monitorId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"intervalSec": {},
"locations": {},
"quorum": {},
"failState": {},
"enabled": {}
}'DELETE/
Delete a monitor
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/monitors/{monitorId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
List a status page's heartbeats
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/heartbeats' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Add a heartbeat to a status page
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/heartbeats' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"periodSec": 1
}'PATCH/
Change a heartbeat
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/heartbeats/{heartbeatId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"graceSec": {},
"failState": {},
"enabled": {}
}'POST/
Give a heartbeat a new address
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/heartbeats/{heartbeatId}/token' \
-H "Authorization: Bearer $CACTIVE_TOKEN"DELETE/
Delete a heartbeat
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/heartbeats/{heartbeatId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Get a component's daily uptime
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/components/{componentId}/uptime' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
List a status page's subscribers
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/subscribers' \
-H "Authorization: Bearer $CACTIVE_TOKEN"DELETE/
Remove a status page subscriber
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/status-pages/{pageId}/subscribers/{subscriberId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"