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
  2. Incidents

Priority

PreviousEscalateNextSeverity

Was this helpful?

Set incident priority

post

Set priority for one or more incidents

Header parameters
x-api-keystringRequired

API Key for authentication

x-team-idstringRequired

Team ID

Body
idsstring[]Required

Array of incident counter IDs

prioritystring ยท enumRequired

Priority level

Possible values:
Responses
200
Priority set successfully
401
Unauthorized
post
POST /incidents/priority HTTP/1.1
Host: api.spike.sh
x-api-key: text
x-team-id: text
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "ids": [
    "text"
  ],
  "priority": "p1"
}

No content