---
title: "Build custom API integrations with incident.io"
description: "incident.io launched a public API focused on three use cases: creating incidents automatically from other systems, exporting incidents and their actions and follow-ups to BI tools, and configuring roles, severities and custom fields from external sources such as Terraform."
url: "https://swe.quest/articles/build-custom-api-integrations-with-incident-io-ae5fbcbf065c8d25"
canonical: "https://incident.io/blog/api"
source: "incident.io"
published: "2022-04-25"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["api-design","incident-response"]
---

# Build custom API integrations with incident.io

A post on [incident.io](https://swe.quest/sources/incident-io.md), published 2022-04-25, 7 min read, Announcement. Original: [https://incident.io/blog/api](https://incident.io/blog/api)

## Summary

incident.io launched a public API focused on three use cases: creating incidents automatically from other systems, exporting incidents and their actions and follow-ups to BI tools, and configuring roles, severities and custom fields from external sources such as Terraform. A worked example declares incidents from Zendesk by pairing a trigger with a webhook that POSTs JSON to /v1/incidents using Bearer-token auth. The create endpoint is deliberately permissive, so required custom fields are not enforced, and it requires an idempotency key so retries or repeated alerts produce only one incident.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)

## Prerequisites

- REST APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))
- webhooks

## Keywords

incident.io API, Zendesk, idempotency key

## Related posts

- [Lessons learned from building our first AI product](https://swe.quest/articles/lessons-learned-from-building-our-first-ai-product-85b401bfcc88ff2c.md): incident.io · 2024-01-17 · Medium · 12 min read · LLMs, Product engineering, Evaluation
  incident.io built suggested incident summaries with OpenAI: each time a responder posts an update, GPT proposes a new summary from the update, the Slack conversation and the previous summary, and a human accepts, edits or rejects it.
- [How our product team use Catalog](https://swe.quest/articles/how-our-product-team-use-catalog-e9cf5ad445eb076b.md): incident.io · 2023-06-29 · Medium · 8 min read · Incidents & postmortems, Configuration management, CI/CD, Infrastructure as code
  incident.io's product team populated its own Catalog with features, integrations and teams to replace messy, hand-curated incident Custom Fields.
- [Building Custom Integrations with the Render API](https://swe.quest/articles/building-custom-integrations-with-the-render-api-aa84c7ce566e00ab.md): Render · 2024-07-18 · Medium · 3 min read · API design, Capacity planning, Deployment, Cloud platforms
  Render's API gained over 50 new endpoints covering datastores, service logs and Blueprints, bringing it close to parity with the Render Dashboard, and an OpenAPI spec is published for import into Postman or Insomnia.
- [Managing your resources in Terraform can be literally easy and actually fun](https://swe.quest/articles/managing-your-resources-in-terraform-can-be-literally-easy-and-actually-fun-1e67b490567648a5.md): incident.io · 2024-06-25 · Medium · 7 min read · Infrastructure as code, API design, Product engineering
  incident.io's Terraform integration lets users generate readable, commented Terraform config from the existing Workflows and Schedules visual builders, and the same flow handles editing and importing existing resources.
- [Onboarding yourself as an engineer at incident.io](https://swe.quest/articles/onboarding-yourself-as-an-engineer-at-incident-io-0fce0735d9296049.md): incident.io · 2024-07-05 · Medium · 4 min read · Infrastructure as code, Engineering culture, Developer productivity
  New engineers at incident.io onboard themselves by opening a PR to the infrastructure repo that adds them as a user, puts them on a team in a Jsonnet config, and defines a Spacelift dev stack.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
