---
title: "Subscribe a Zapier REST hook"
method: POST
path: "/v1/zapier/hooks/subscribe"
tags: ["internal"]
---

# Subscribe a Zapier REST hook

`POST /v1/zapier/hooks/subscribe`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/zapier/hooks/subscribe`
- Auth: HTTP bearer

Subscribe a Zapier REST hook.

Called by Zapier when a user turns on a Zap. Creates a webhook that
delivers matching change events to Zapier's hook URL.

At least one filter (cvrs, industry_codes, municipality_codes, or
postal_codes) is required to scope the subscription.

## Request body

- ZapierSubscribeRequest: Request from Zapier to subscribe a REST hook.
  - `hook_url` string, required
  - `event_types` EventType[]
  - `cvrs` string[]
  - `industry_codes` string[]
  - `municipality_codes` string[]
  - `postal_codes` string[]

## Response `200`

Successful Response

- ZapierSubscribeResponse: Response to a Zapier subscribe request.
  - `id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
