Services

Creates a service

post

Creates a new service in a team. Learn more about servicesarrow-up-right

Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Body
namestringOptional
descstringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/services/create

Fetch all services

get

Get list of services for a team. Services are scopes for multiple integrations and their incidents. Learn more about servicesarrow-up-right.

Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/services

Fetch incidents for a service

get

Get a list of incidents for a specific service. Returns a list of incidents for a service.

Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Path parameters
counterIdstringRequired

counterId parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/services/{counterId}/incidents

Fetch integrations of a service

get

Get a list of integrations for a specific service. Includes all the integrations for a service with their details and webhook.

Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Path parameters
counterIdstringRequired

counterId parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/services/{counterId}/integrations

Fetch service details with incidents

get

Get details of a service with it's incidents. Services are scopes for multiple integrations and their incidents. This route also returns the list of incidents for a service.

Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Path parameters
counterIdstringRequired

counterId parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/services/{counterId}

Fetch currently affected services

get
Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/services/affected

Updates a service

put

Update your service name and description only

Authorizations
x-api-keystringRequired

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

x-team-idstringRequired

Team ID of the team you are making the request to.

Path parameters
counterIdstringRequired

counterId parameter

Body
namestringOptional
descstringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
put
/services/{counterId}/update

Last updated