Register Webhook

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

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

Request body

urlstring required

The URL where the webhook will send data

namestring

A name for the webhook

source'user' | 'zapier' | 'make' | 'n8n' | 'pipedream'

The source of the webhook

triggersstring[] required

An array of pipeline trigger event types. Currently supported trigger is "newSubmission"

calculatorsstring[] required

An array of calculator IDs (CUID2 format)

Response

200

Example response

{
  "data": {
    "id": "webhook123",
    "name": "Example Webhook",
    "createdAt": "2024-01-15T10:30:00.000Z",
    "updatedAt": "2024-01-15T11:45:00.000Z",
    "url": "https://example.com/webhook",
    "source": "user",
    "workspaceId": "workspace456"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.