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. Integrations

Create

PreviousAvailableNextArchive

Was this helpful?

Create an integration

post

Create a new integration for a team

Header parameters
x-api-keystringRequired

API Key for authentication

x-team-idstringRequired

Team ID

Body
customNamestringRequired

Integration name

descstringOptional

Integration description

slugstringRequired

Integration type slug

escalationstringRequired

Escalation ID

servicestringRequired

Service ID

repeatEscalationbooleanOptional
ackTimeoutintegerOptional

Acknowledge timeout in minutes

Responses
200
Integration created successfully
401
Unauthorized
post
POST /integrations/create HTTP/1.1
Host: api.spike.sh
x-api-key: text
x-team-id: text
Content-Type: application/json
Accept: */*
Content-Length: 125

{
  "customName": "text",
  "desc": "text",
  "slug": "text",
  "escalation": "text",
  "service": "text",
  "repeatEscalation": true,
  "ackTimeout": 1
}

No content