Spike.sh
DashboardWebsiteHUB
Spike API docs
Spike API docs
  • Page
  • About
  • API reference
    • Incidents
      • Create
      • Get previous incidents
      • Incident context
      • Activity log
      • Triggered
      • Acknowledged
      • Assigned to user
      • Acknowledge
      • Resolve
      • Escalate
      • Priority
      • Severity
    • Services
      • Create
      • Affected
    • On calls
    • Integrations
      • Available
      • Create
      • Archive
    • Orgs
      • Members
      • Info
    • Teams
      • Get all teams
      • Get my teams
    • Oncalls
      • Am i on call
      • Upcoming shifts
    • Status page
      • All
      • Component
        • Create
      • Incidents
      • Planned maintenance
        • Upcoming
        • Create
      • Subscribers
      • Incident
        • New
  • Specification
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. API reference

Incidents

PreviousAPI referenceNextCreate

Was this helpful?

Fetch incidents

get

Get a list of all incidents for a team

Header parameters
x-api-keystringRequired

API Key for authentication

x-team-idstringRequired

Team ID

Responses
200
List of incidents
401
Unauthorized
get
GET /incidents HTTP/1.1
Host: api.spike.sh
x-api-key: text
x-team-id: text
Accept: */*

No content

Fetch incident info

get

Get details of an incident including title, metadata, priority, severity, and activity log

Path parameters
counterIdstringRequired

Counter ID of the resource

Header parameters
x-api-keystringRequired

API Key for authentication

x-team-idstringRequired

Team ID

Responses
200
Detailed incident information
401
Unauthorized
get
GET /incidents/{counterId} HTTP/1.1
Host: api.spike.sh
x-api-key: text
x-team-id: text
Accept: */*

No content

  • GETFetch incidents
  • GETFetch incident info