- Replicating (and possibly automating) your existing processes in incident.io ; and
- Embedding incident.io in your existing tool stack.
What does the incident.io API do?
At the highest level, our API lets you connect incident.io to any tool in your stack (or even to your own application), and give us instructions via that connection. The API currently allows for:- Automatically creating an incident from another system , such as a monitoring tool like Datadog, or a ticketing system like Zendesk
- Exporting incidents and their to-dos into a data warehouse or BI tool (Looker, Tableau etc.) to analyse.
Where can I find the API Keys?
You can create your API Keys from the API section of your incident.io Settings if you are on a Pro or Enterprise plan.Example use case: declaring an incident from Zendesk
You might use a ticketing system like Zendesk (or Freshservice; or Intercom) to manage your customer support. Inbound tickets are typically triaged by customer support teammates, and escalated to engineering teams based on specific criteria (e.g. a certain severity, or a particular incident type such as data breaches). With our API, a support agent can declare an incident with one click, straight from within Zendesk. We’ll take care of the rest, from declaring the incident in incident.io to pulling in the right teammates, notifying the relevant internal and external stakeholders, spinning up your public Statuspage and much more. Here are the few key steps to bringing this flow to life.- Generate an API Key in incident.io
Create incidents enabled. Keep this safe - we’ll need it in a minute.

- Add a Zendesk webhook as the action to take when the trigger fires
https://api.incident.io/v1/incidents . The API Key we generated earlier is used for Bearer token authentication. The request body needs to be JSON that looks like:

- The
custom_field_idreferences a “Zendesk Ticket Link” custom field we’ve configured. You can find the IDs of your custom fields using the List Custom Fields API . - The
severity_idreferences our “Minor” severity. You can find the IDs of your severities using the List Severities API .

Exporting incident data to your warehouse
Data is always more powerful when you can link it together, which is why most organisations want to have all their different systems synced into a data warehouse where things can be analysed in one place. With our API, you can get all your incident, action, and follow-up data out of incident.io and into your warehouse. There are two key APIs here:- Listing all your incidents ; and
- Listing actions (which includes follow-ups!)
Keeping in sync with your service catalog
One of the most common uses of custom fields is to tag incidents with which teams and services were involved. You can keep those lists in sync with your service catalog, using the Custom Field Options API . This API lets you manage options for any custom field. Beyond Custom Fields, you can also manage custom Incident Roles and Severities using the API, if you want to keep all your configuration in a central location, for example using Terraform.Over to you!
We built our API around these two use-cases for now, but we’ll be expanding it, for example to customise and configure your incident.io incidents (e.g. uploading your service catalogue). We’d absolutely love to hear what you build with it, and how you’d like us to extend it. There’s an#api channel in the incident.io Community . See you there