---
title: "Webhook Subscribe"
method: POST
path: "/webhooks/subscribe"
tags: ["Webhooks"]
---

# Webhook Subscribe

`POST /webhooks/subscribe`

Subscribe to trade alerts. Requires a valid Pro API key.
At least one of `ticker` or `politician` must be provided.
`events` accepts: "buy", "sell", "any" (default: ["any"]).

## Headers

- `x-api-key` string

## Request body

- SubscribeRequest
  - `webhook_url` string, uri, required
  - `ticker` string, nullable
  - `politician` string, nullable
  - `events` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/congressinvests/apis/congressinvests-api.md) · [All operations](https://skmtc.dev/congressinvests/apis/congressinvests-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/congressinvests/congressinvests-api/revisions/d50770dec0e9/schema)
