---
title: "Get the OpenAPI spec (JSON)"
method: GET
path: "/openapi.json"
tags: ["OpenAPI"]
---

# Get the OpenAPI spec (JSON)

`GET /openapi.json`

## Request

- Base URL: `https://app.honeybadger.io/v3`
- URL: `https://app.honeybadger.io/v3/openapi.json`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/honeybadger/apis/honeybadger-api/docs/openapi.json/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the OpenAPI spec for this API. It needs no scope. Send the `ETag` back as `If-None-Match` to skip downloading an unchanged spec.

## Response `200`

The OpenAPI spec

- object

## Other responses

- `304`: Unchanged since the `ETag` sent
- `401`: The credential is missing, invalid, expired or revoked (`unauthorized`), or was sent in a way v3 doesn't accept (see the examples).

---

[API](https://skmtc.dev/honeybadger/apis/honeybadger-api.md) - [All operations](https://skmtc.dev/honeybadger/apis/honeybadger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/honeybadger/apis/honeybadger-api/revisions/cbcff53f2c8a?raw)
