---
title: "Extract a value from every future event as a searchable tag"
method: POST
path: "/v1/endpoints/{id}/labels"
---

# Extract a value from every future event as a searchable tag

`POST /v1/endpoints/{id}/labels`

## Request

- Base URL: `https://webhook-studio.com`
- URL: `https://webhook-studio.com/v1/endpoints/{id}/labels`
- Auth: HTTP bearer

## Request body

- object
  - `source` 'body' | 'header'
  - `path` string, required
  - `output_key` string, required
  - `color` string

## Response `201`

Created

## Other responses

- `400`: Error
- `401`: Error
- `404`: Error

---

[API](https://skmtc.dev/webhook-studio/apis/webhook-studio-api.md) · [All operations](https://skmtc.dev/webhook-studio/apis/webhook-studio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webhook-studio/apis/webhook-studio-api/revisions/99d81099e6d6?raw)
