Services

Get services.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Query parameters
start-indexinteger · int32Optional

an integer specifying the starting point (beginning with 0) when paging through a list of entities

Default: 0
max-resultsinteger · int32 · max: 100Optional

the maximum number of results when paging through a list of services. (Note: when using ?include maximum is reduced to 25)

Default: 10
Responses
get
/services
200

The services

Create a new service.

post
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Body
idnumberOptional
namestringOptional
statusstring · enumOptional

the service status

Possible values:
descriptionstringOptional
oneOpenIncidentOnlybooleanOptional
showUptimeHistorybooleanOptional
Responses
post
/services
200

The newly created service

Get a specific service.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Query parameters
Responses
get
/services/{id}
200

The requested service

Update the specific service

put
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Body
idnumberOptional
namestringOptional
statusstring · enumOptional

the service status

Possible values:
descriptionstringOptional
oneOpenIncidentOnlybooleanOptional
showUptimeHistorybooleanOptional
Responses
put
/services/{id}
200

The updated service

Remove a specific service.

delete
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
204

Empty body delete response

delete
/services/{id}
204

Empty body delete response

No content

Get the subscribers (users and teams) of a service

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
get
/services/{id}/private-subscribers
200

The subscribers of the service

Set subscribers (users and teams) of a service

put

Note: this is an in place update

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Bodyobject[]
idnumberOptional
namestringOptional
typestring · enumOptionalPossible values:
Responses
204

the response

put
/services/{id}/private-subscribers
204

the response

No content

Last updated

Was this helpful?