---
title: "Add Feeds to Endpoint"
method: POST
path: "/v1/webhooks/{webhookId}/feeds"
tags: ["Webhooks"]
---

# Add Feeds to Endpoint

`POST /v1/webhooks/{webhookId}/feeds`

## Request

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

Add one or more feed subscriptions to an existing endpoint (same URL + signing secret).

## Path parameters

- `webhookId` string, required

## Request body

- object
  - `feedIds` string[]
  - `subscriptions` object[]
    - `feedId` string, required
    - `filters` object
      - `drivers` string[]
      - `driverNumbers` string[]
      - `constructors` string[]
      - `positions` object
        - `min` integer
        - `max` integer
      - `eventTypes` string[]
  - `filters` object
    - `drivers` string[]
    - `driverNumbers` string[]
    - `constructors` string[]
    - `positions` object
      - `min` integer
      - `max` integer
    - `eventTypes` string[]

## Response `200`

Default Response

- object
  - `data` object
    - `endpoint` object
      - `webhookId` string
      - `webhookUrl` string
      - `webhookMethod` string
      - `seriesId` string
      - `active` boolean
      - `subscriptionTier` string
      - `feedCount` integer
      - `subscriptions` object[]
        - `feedId` string
        - `seriesId` string
        - `filters` object
        - `active` boolean
        - `subscriptionTier` string
        - `consecutiveFailures` integer
        - `autoDisabledAt` string, nullable
        - `createdAt` string, date-time
        - `updatedAt` string, date-time
      - `stats` object
        - `successRate7d` number, nullable
        - `totalDeliveries7d` integer
        - `lastDeliveryAt` string, date-time, nullable
      - `createdAt` string, date-time
      - `updatedAt` string, date-time

## Other responses

- `401`: Missing or invalid Bearer token
- `402`: Feeds-per-endpoint limit reached
- `404`: Webhook not found
- `422`: Default Response

---

[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)
