---
title: "Get sample change events for Zapier field mapping"
method: GET
path: "/v1/zapier/hooks/sample-events"
tags: ["internal"]
---

# Get sample change events for Zapier field mapping

`GET /v1/zapier/hooks/sample-events`

## 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/sample-events`
- Auth: HTTP bearer

Return recent change events as sample data, filtered by the user's
configured Zap filters when available.

Zapier calls this endpoint (performList) so users can map fields when
setting up a Zap.

## Query parameters

- `event_type` string, nullable: Filter by event type
- `cvrs` string, nullable: Comma-separated CVR numbers
- `industry_codes` string, nullable: Comma-separated industry codes
- `municipality_codes` string, nullable: Comma-separated municipality codes
- `postal_codes` string, nullable: Comma-separated postal codes
- `limit` integer: Number of sample events

## Response `200`

Successful Response

- ZapierSampleEvent[]
  - `id` string, required
  - `event_type` string, required
  - `cvr` string, required
  - `company_name` string, required
  - `summary_da` string, required
  - `summary_en` string, required
  - `detected_at` string, date-time, required
  - `changes` object[], 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)
