POST
/
webhooks
curl --request POST \
  --url https://app.activecalculator.com/api/v1/webhooks \
  --header 'Content-Type: application/json' \
  --header 'x-ac-api-key: <api-key>' \
  --data '{
  "url": "<string>",
  "name": "<string>",
  "source": "user",
  "triggers": [
    "newSubmission"
  ],
  "calculators": [
    "<string>"
  ]
}'
"{\n  \"data\": {\n    \"id\": \"webhook123\",\n    \"name\": \"Example Webhook\",\n    \"createdAt\": \"2024-01-15T10:30:00.000Z\",\n    \"updatedAt\": \"2024-01-15T11:45:00.000Z\",\n    \"url\": \"https://example.com/webhook\",\n    \"source\": \"user\",\n    \"workspaceId\": \"workspace456\"\n  }\n}"

Authorizations

x-ac-api-key
string
header
required

Body

application/json

Response

200
application/json
200

The response is of type object.