---
title: "Get Sink Headers"
method: GET
path: "/api/v1/stream/{stream_id}/sink/{sink_id}/headers"
tags: ["Sink"]
---

# Get Sink Headers

`GET /api/v1/stream/{stream_id}/sink/{sink_id}/headers`

## Request

- Base URL: `https://api.eu.svix.com`
- URL: `https://api.eu.svix.com/api/v1/stream/{stream_id}/sink/{sink_id}/headers`
- Auth: HTTP bearer

Get the HTTP sink headers.

Only valid for `http` or `otelTracing` sinks.

## Path parameters

- `stream_id` string, required: The Stream's ID or UID.
- `sink_id` string, required: The StreamSink's ID or UID.

## Response `200`

The value of the headers is returned in the `headers` field.

Sensitive headers that have been redacted are returned in the sensitive field.

- 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
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `429`: Too Many Requests

## Changes

- **2026-10-19** `cca56e67e5a4`: 1 info
  - added the required property `code` to the response with the `422` status

[Operation history](https://skmtc.dev/svix/apis/svix-api/changes/api/v1/stream/:stream_id/sink/:sink_id/headers/get.md)

---

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