Statuspal API Reference
Welcome to the Statuspal API reference.
Here you'll learn how to leverage the power of Statuspal through its API to query your status page's status, create and update incidents, push custom metrics and more.
If you need some assistance please email us at support@statuspal.io.
Example call:
curl https://statuspal.io/api/v1/hello \
-H 'Accept: application/json' \
-H 'Content-Type: application/json'
Authentication Required Endpoints:
Some endpoints require authentication in order to be used, you'll need to pass your API key in the Authorization
header, you can find your API key in your
User Account page.
Example authenticated call:
curl -X POST \
https://statuspal.io/api/v1/status_pages/:subdomain/metrics/:metric_id/entries \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: <your-api-key>' \
-d '{ "entry": { "time": 1561318904, "value": 130 } }'
API Endpoint
https://statuspal.io/api/v1
Contact: contact@statuspal.io
Request Content-Types: json
Response Content-Types: json
Schemes: https
Version: 1.0.0
Authentication
api_key
Test
Test endpoints
Says hello
A hello message
Response Example (200 OK)
{
"message": "hello"
}
Status
Status endpoints
Get the status of a status page
The subdomain of your status page (subdomain.statuspal.io)
A status page's status
Response Example (200 OK)
{
"status_page": {
"name": "Monitoring service",
"current_incident_type": "string"
},
"services": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string",
"children": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string"
}
]
}
],
"incidents": [
{
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
],
"maintenances": [
{
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
]
}
Get the status of a service
The subdomain of your status page (subdomain.statuspal.io)
The ID of a service
A service's status
Response Example (200 OK)
{
"service": {
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string",
"children": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string"
}
]
},
"incidents": [
{
"title": "We are having issues with the DB connection",
"inserted_at": "string (date-time)",
"updated_at": "string (date-time)",
"starts_at": "string (date-time)",
"ends_at": "string (date-time)",
"type": "string",
"services": [
{
"name": "API"
}
],
"current_status": {
"description": "We are investigating."
}
}
],
"maintenances": [
{
"title": "We are having issues with the DB connection",
"inserted_at": "string (date-time)",
"updated_at": "string (date-time)",
"starts_at": "string (date-time)",
"ends_at": "string (date-time)",
"type": "string",
"services": [
{
"name": "API"
}
],
"current_status": {
"description": "We are investigating."
}
}
]
}
Incidents
Incidents endpoints
Get the list of incidents of a status page
The subdomain of your status page (subdomain.statuspal.io)
Used as a cursor for pagination.
Used as a cursor for pagination.
Set the number of incidents to return in the response. This defaults to 20 items, and can be a maximum of 100.
The list of incidents
Response Example (200 OK)
{
"incidents": [
{
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
],
"links": {
"next": "https://statuspal.io/api/v1/status_pages/subdomain/incidents?after=cUrSoR",
"prev": null
},
"meta": {
"total_count": 100
}
}
Adds a new incident associated to one or more services
The incident
The subdomain of your status page (subdomain.statuspal.io)
Request Example
{
"incident": {
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
}
The incident was created
Response Example (200 OK)
{
"incident": {
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
}
Deletes incident permanently
The subdomain of your status page (subdomain.statuspal.io)
The ID of an incident/maintenance
Incident deleted successfully
Incident Updates
Incident Updates (called activities within the API) endpoints
Adds a new update to the given incident
The update
The subdomain of your status page (subdomain.statuspal.io)
The ID of an incident/maintenance
Request Example
{
"incident_activity": {
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
}
The update was created
Response Example (200 OK)
{
"incident_activity": {
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
}
Deletes incident update permanently
The subdomain of your status page (subdomain.statuspal.io)
The ID of an incident/maintenance
(no description)
Activity deleted successfully
Metrics
Metrics endpoints
Adds a metric data point to a custom metric
The metric entry
The subdomain of your status page (subdomain.statuspal.io)
The ID of a custom metric
Request Example
{
"entry": {
"time": 1561318904,
"value": 130
}
}
The metric data point was created
Response Example (200 OK)
{
"entry": {
"time": 1561318904,
"value": 130
}
}
Subscriptions
List all subscriptions
The subdomain of your status page (subdomain.statuspal.io)
Used as a cursor for pagination.
Used as a cursor for pagination.
Set the number of subscriptions to return in the response. This defaults to 20 items, and can be a maximum of 100.
The list of subscriptions
Response Example (200 OK)
{
"subscriptions": [
{
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
],
"links": {
"next": "https://statuspal.io/api/v1/status_pages/subdomain/subscriptions?after=cUrSoR",
"prev": null
},
"meta": {
"total_count": 100
}
}
Adds a new subscription email, SMS or discord subscription
The subscription
The subdomain of your status page (subdomain.statuspal.io)
Request Example
{
"subscription": {
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
}
The subscription was created
Response Example (200 OK)
{
"subscription": {
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
}
Get a subscription
The subdomain of your status page (subdomain.statuspal.io)
The ID of a subscription
The subscription
Response Example (200 OK)
{
"subscription": {
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
}
Update the subscription
The subscription
The subdomain of your status page (subdomain.statuspal.io)
The ID of a subscription
Request Example
{
"subscription": {
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
}
The subscription was updated
Response Example (200 OK)
{
"subscription": {
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
}
Deletes the subscription
The subdomain of your status page (subdomain.statuspal.io)
The ID of a subscription
Subscription deleted successfully
Webhooks
List all webhooks
The subdomain of your status page (subdomain.statuspal.io)
The list of webhooks
Response Example (200 OK)
{
"webhooks": [
{
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
]
}
Adds a new webhook
The webhook
The subdomain of your status page (subdomain.statuspal.io)
Request Example
{
"webhook": {
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
}
The webhook was created
Response Example (200 OK)
{
"webhook": {
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
}
Get a webhook
The subdomain of your status page (subdomain.statuspal.io)
The ID of a webhook
The webhook
Response Example (200 OK)
{
"webhook": {
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
}
Update the webhook
The webhook
The subdomain of your status page (subdomain.statuspal.io)
The ID of a webhook
Request Example
{
"webhook": {
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
}
The webhook was updated
Response Example (200 OK)
{
"webhook": {
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
}
Deletes the webhook
The subdomain of your status page (subdomain.statuspal.io)
The ID of a webhook
Webhook deleted successfully
Status Page Members
List all members
The subdomain of your status page (subdomain.statuspal.io)
Used as a cursor for pagination.
Used as a cursor for pagination.
Set the number of subscriptions to return in the response. This defaults to 20 items, and can be a maximum of 100.
Filter the members by email.
The list of members
Response Example (200 OK)
{
"members": [
{
"email": "jane@doe.com",
"role": "v",
"enabled": true,
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
],
"links": {
"next": "https://statuspal.io/api/v1/status_pages/subdomain/members?after=cUrSoR",
"prev": null
},
"meta": {
"total_count": 100
}
}
Update the membership
The membership
The subdomain of your status page (subdomain.statuspal.io)
The ID of a membership
Request Example
{
"member": {
"role": "v",
"enabled": true
}
}
The membership was updated
Response Example (200 OK)
{
"member": {
"email": "jane@doe.com",
"role": "v",
"enabled": true,
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
}
Deletes the membership
The subdomain of your status page (subdomain.statuspal.io)
The ID of a membership
Member deleted successfully
Organization Members
List all members
The ID of the organization
Used as a cursor for pagination.
Used as a cursor for pagination.
Set the number of subscriptions to return in the response. This defaults to 20 items, and can be a maximum of 100.
Filter the members by email.
The list of members
Response Example (200 OK)
{
"members": [
{
"email": "jane@doe.com",
"role": "v",
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
],
"links": {
"next": "https://statuspal.io/api/v1/orgs/{organizationId}/members?after=cUrSoR",
"prev": null
},
"meta": {
"total_count": 100
}
}
Update the membership
The membership
The ID of the organization
The ID of a membership
Request Example
{
"member": {
"role": "v"
}
}
The membership was updated
Response Example (200 OK)
{
"member": {
"email": "jane@doe.com",
"role": "v",
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
}
Deletes the membership
The ID of the organization
The ID of a membership
Member deleted successfully
Schema Definitions
Subscription: object
- type: string
-
The type of Subscription (
email
,slack
,sms
,discord
). - filter: string
-
Filter the notifications to subscribe to (
all
,services
,incident
). - service_ids: integer[]
-
An array of service IDs to subscribe to, required if filter is
services
. -
integer - incident_id: integer
-
An incident ID to subscribe to, required if filter is
incident
. - email: string
-
The email to send the notifications to, required if type is
email
. - confirm: boolean
-
Set to false to skip sending confirmation email for email subscriptions.
- country_dial_code: string
-
The country code of the phone number to send the notifications to, required if type is
sms
. - phone_number: string
-
The phone number to send the notifications to, required if type is
sms
. - webhook_url: string
-
The Discord webhook URL, required if type is
discord
.
Example
{
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
SubscriptionObj: object
- subscription: Subscription
Example
{
"subscription": {
"type": "email",
"filter": "services",
"service_ids": [
1
],
"incident_id": 123,
"email": "jane@doe.com",
"confirm": true,
"country_dial_code": 49,
"phone_number": 12345678900,
"webhook_url": "https://discordapp.com/api/webhooks/channelId/token"
}
}
MetricEntry: object
- time: integer
-
Unix timestamp
- value: number (double)
Example
{
"time": 1561318904,
"value": 130
}
MetricEntryObj: object
- entry: MetricEntry
Example
{
"entry": {
"time": 1561318904,
"value": 130
}
}
Incident: object
An incident, either major, minor or a scheduled maintenance
- title: string
-
Either use this field, or
l_title
if you have configured supported languages - l_title: TranslationField
-
Localized title. Either use this field, or
title
if you have't configured supported languages. -
TranslationField - starts_at: string (date-time)
-
The time at which the incident/maintenance started/will start (UTC).
- ends_at: string (date-time)
-
The time at which the incident/maintenance ended/will end (UTC).
- type: IncidentType
- service_ids: integer[]
-
An array of service Ids, at least 1 must be included
-
integer - incident_activities: IncidentActivity
-
The incident's updates. On incident creation you must pass exactly one activity object in the array, if the incident is of type minor/major the activity type
Issue
is recommended, if a scheduled maintenance then useScheduled
. -
IncidentActivity
Example
{
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
IncidentObj: object
- incident: Incident
Example
{
"incident": {
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
}
TranslationField: object
- lang: string
-
Language code
- text: string
-
The translated content
Example
{
"lang": "es",
"text": "Arriba arriba!"
}
StatusIncident: object
An incident, either major, minor or a scheduled maintenance
- title: string
- inserted_at: string (date-time)
- updated_at: string (date-time)
- starts_at: string (date-time)
- ends_at: string (date-time)
- type: StatusIncidentType
- services: object[]
-
object - name: string
- current_status: object
-
- description: string
Example
{
"title": "We are having issues with the DB connection",
"inserted_at": "string (date-time)",
"updated_at": "string (date-time)",
"starts_at": "string (date-time)",
"ends_at": "string (date-time)",
"type": "string",
"services": [
{
"name": "API"
}
],
"current_status": {
"description": "We are investigating."
}
}
ServiceStatus: object
- service: Service
- incidents: StatusIncident
-
StatusIncident - maintenances: StatusIncident
-
StatusIncident
Example
{
"service": {
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string",
"children": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string"
}
]
},
"incidents": [
{
"title": "We are having issues with the DB connection",
"inserted_at": "string (date-time)",
"updated_at": "string (date-time)",
"starts_at": "string (date-time)",
"ends_at": "string (date-time)",
"type": "string",
"services": [
{
"name": "API"
}
],
"current_status": {
"description": "We are investigating."
}
}
],
"maintenances": [
{
"title": "We are having issues with the DB connection",
"inserted_at": "string (date-time)",
"updated_at": "string (date-time)",
"starts_at": "string (date-time)",
"ends_at": "string (date-time)",
"type": "string",
"services": [
{
"name": "API"
}
],
"current_status": {
"description": "We are investigating."
}
}
]
}
Service: object
Represents the status of a service
- name: string
- id: integer
- parent_id: integer
- current_incident_type: StatusIncidentType
- children: ChildService
-
Nested ServiceStatus children
-
ChildService
Example
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string",
"children": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string"
}
]
}
ChildService: object
Represents the status of a service
- name: string
- id: integer
- parent_id: integer
- current_incident_type: StatusIncidentType
Example
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string"
}
StatusIncidentType: string
The type of the (current) incident:
major
- A minor incident is currently taking place.minor
- A major incident is currently taking place.scheduled
- A scheduled maintenance is currently taking place.- null - No incident is taking place.
IncidentType: string
The type of the (current) incident:
major
- A minor incident is currently taking place.minor
- A major incident is currently taking place.scheduled
- A scheduled maintenance is currently taking place.
IncidentActivity: object
Communicates an update of an incident, the special type resolved
will close an incident.
- activity_type_id: integer 1, 2, 3, 4, 5, 6, 7
-
The type of an incident update/activity:
- 1 - Investigating.
- 2 - Issue.
- 3 - Monitoring.
- 4 - Resolved: Will close the associated incident by settings its
ends_at
to the current time. - 5 - Scheduled: Maintenance's first update shall have this type.
- 6 - Retroactive.
- 7 - Update.
- 8 - Escalate: Will switch the incident type from
minor
tomajor
. - 9 - De-escalate: Will switch the incident type from
major
tominor
.
- description: string
- l_description: TranslationField
-
Localized description. Either use this field, or
description
if you have't configured supported languages. -
TranslationField - notify: boolean
-
Should your subscribers be notified about this update?
- email_notify: boolean
-
(Deprecated) Should your email subscribers be notified about this update?
- slack_notify: boolean
-
(Deprecated) Should your Slack subscribers be notified about this update?
- tweet: boolean
-
Tweet this update with your configured Twitter account?
Example
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
IncidentActivityObj: object
- incident_activity: IncidentActivity
Example
{
"incident_activity": {
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
}
StatusPageStatus: object
Represents the status of a status page
Example
{
"status_page": {
"name": "Monitoring service",
"current_incident_type": "string"
},
"services": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string",
"children": [
{
"name": "Monitoring service",
"id": "integer",
"parent_id": "integer",
"current_incident_type": "string"
}
]
}
],
"incidents": [
{
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
],
"maintenances": [
{
"title": "We are having issues with the DB connection",
"l_title": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"starts_at": "2019-06-24 03:30:00",
"ends_at": "2019-06-24 04:30:00",
"type": "major",
"service_ids": [
1
],
"incident_activities": [
{
"activity_type_id": "integer",
"description": "We have detected an issue with our CDN",
"l_description": [
{
"lang": "es",
"text": "Arriba arriba!"
}
],
"notify": true,
"email_notify": "boolean",
"slack_notify": "boolean",
"tweet": "boolean"
}
]
}
]
}
Webhook: object
- url: string
-
The endpoint URL of the webhook to send the POST request to when the specified events occur.
- events: string[] service.monitored_status.updated, incident.created, incident.updated, incident.deleted
-
Available events:
service.monitored_status.updated
- Triggered when a service configured with our internal monitoring goes up/down.incident.created
,incident.updated
,incident.deleted
- Triggered during the lifecycle of an incident, they all send the same payload.
-
string - enabled: boolean
-
Toggles the webhook's state.
Example
{
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
WebhookObj: object
- webhook: Webhook
Example
{
"webhook": {
"url": "url",
"events": [
"incident.created",
"incident.updated"
],
"enabled": true
}
}
StatusPageMember: object
- email: string
-
The member's email address.
- role: string
-
The membership role. Available roles:
c
- Editorv
- Viewera
- Admin
- enabled: boolean
-
Toggles the membership's state.
- user: object
-
The related User object (if there is one).
-
- last_sign_in_at: string (date-time)
Example
{
"email": "jane@doe.com",
"role": "v",
"enabled": true,
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
StatusPageMemberObj: object
- member: StatusPageMember
Example
{
"member": {
"email": "jane@doe.com",
"role": "v",
"enabled": true,
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
}
OrganizationMember: object
- email: string
-
The member's email address.
- role: string
-
The membership role. Available roles:
c
- Editorv
- Viewera
- Admino
- Owner
- user: object
-
The related User object (if there is one).
-
- last_sign_in_at: string (date-time)
Example
{
"email": "jane@doe.com",
"role": "v",
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
OrganizationMemberObj: object
- member: OrganizationMember
Example
{
"member": {
"email": "jane@doe.com",
"role": "v",
"user": {
"last_sign_in_at": "2022-01-01T00:00:00.000Z"
}
}
}