---
title: "Get Endpoint Headers"
method: GET
path: "/endpoint/{endpoint_id}/headers"
tags: ["Endpoint"]
---

# Get Endpoint Headers

`GET /endpoint/{endpoint_id}/headers`

## Request

- Base URL: `https://api.sinay.ai/webhook/api/v1`
- URL: `https://api.sinay.ai/webhook/api/v1/endpoint/{endpoint_id}/headers`
- Auth: API key in header `API_KEY`

Get the additional headers to be sent with the webhook

## Path parameters

- `endpoint_id` string, required: The ep's ID or UID

## Response `200`

- EndpointHeadersOut: The value of the headers is returned in the `headers` field. Sensitive headers that have been redacted are returned in the sensitive field.
  - `headers` object, required
  - `sensitive` string[], required

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `404`: Not Found. Endpoint not found
- `429`: Too Many Requests
- `500`: Internal Error

---

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