---
title: "Update Endpoint Feed"
method: PATCH
path: "/v1/webhooks/{webhookId}/feeds/{feedId}"
tags: ["Webhooks"]
---

# Update Endpoint Feed

`PATCH /v1/webhooks/{webhookId}/feeds/{feedId}`

## Request

- Base URL: `https://api.racehooks.io`
- URL: `https://api.racehooks.io/v1/webhooks/{webhookId}/feeds/{feedId}`
- Auth: API key in header `Authorization`

Update one feed subscription's filters or active flag on an endpoint.

## Path parameters

- `webhookId` string, required
- `feedId` string, required

## Request body

- object
  - `filters` object
    - `drivers` string[]
    - `driverNumbers` string[]
    - `constructors` string[]
    - `positions` object
      - `min` integer
      - `max` integer
    - `eventTypes` string[]
  - `active` boolean

## Response `200`

Default Response

- object
  - `data` object
    - `subscription` object
      - `feedId` string
      - `seriesId` string
      - `filters` object
      - `active` boolean
      - `subscriptionTier` string
      - `consecutiveFailures` integer
      - `autoDisabledAt` string, nullable
      - `createdAt` string, date-time
      - `updatedAt` string, date-time

## Other responses

- `401`: Missing or invalid Bearer token
- `404`: Webhook not found

---

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