---
title: "Register Webhook"
method: POST
path: "/webhooks"
---

# Register Webhook

`POST /webhooks`

## Request

- Base URL: `https://app.activecalculator.com/api/v1`
- URL: `https://app.activecalculator.com/api/v1/webhooks`
- Auth: API key in header `x-ac-api-key`

Create a new webhook right from the API and see it active right away!

## Request body

- object
  - `url` string, required: The URL where the webhook will send data
  - `name` string: A name for the webhook
  - `source` 'user' | 'zapier' | 'make' | 'n8n' | 'pipedream': The source of the webhook
  - `triggers` string[], required: An array of pipeline trigger event types. Currently supported trigger is "newSubmission"
  - `calculators` string[], required: An array of calculator IDs (CUID2 format)

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `name` string
    - `createdAt` string
    - `updatedAt` string
    - `url` string
    - `source` string
    - `workspaceId` string

## Other responses

- `400`: 400

---

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