---
title: "List custom header names"
method: GET
path: "/v1/webhooks/{webhook_id}/headers"
tags: ["webhooks"]
---

# List custom header names

`GET /v1/webhooks/{webhook_id}/headers`

## Request

- Base URL: `https://cherami.to`
- URL: `https://cherami.to/v1/webhooks/{webhook_id}/headers`
- Auth: HTTP bearer

Lists the names of the webhook's custom headers, in lowercase. Values are never returned.

## Path parameters

- `webhook_id` string, required

## Response `200`

Success.

- WebhookHeaders
  - `id` string, required: Cherami resource ID.
  - `header_names` string[], required

## Other responses

- `401`: `unauthorized`: Send a valid API key as `Authorization: Bearer <key>`. If the key stopped working, get a new one through [recovery](https://cherami.to/docs/guides/recovery).
- `404`: `not_found`: The resource does not exist or does not belong to this account. A reply or forward source must also be in the sending inbox.
- `503`: `webhook_headers_unavailable`: Header names could not be read. When `error.details.applied` is true the change was made; list the headers again. `webhooks_unavailable`: Webhook management failed. If it was a change, it may have been applied: list or read the webhooks before repeating it.

---

[API](https://skmtc.dev/cherami/apis/cherami-http-api.md) · [All operations](https://skmtc.dev/cherami/apis/cherami-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cherami/apis/cherami-http-api/revisions/7bd993d538af?raw)
