---
title: "List Contacts"
method: GET
path: "/v1/accounting/contacts"
tags: ["internal"]
---

# List Contacts

`GET /v1/accounting/contacts`

## 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/accounting/contacts`
- Auth: HTTP bearer

Get paginated enriched contacts for the current user.

## Query parameters

- `connection_id` string, nullable
- `contact_type` string, nullable: customer or supplier
- `has_risk` boolean, nullable
- `sort` string: Sort field
- `order` string: asc or desc
- `page` integer
- `page_size` integer

## Response `200`

Successful Response

- AccountingContactsListResponse: Paginated list of enriched contacts.
  - `contacts` AccountingContactResponse[], required
    - `id` string, required
    - `connection_id` string, required
    - `provider` string, required
    - `contact_type` string, required: customer or supplier
    - `name` string, required
    - `cvr` string, nullable
    - `matched` boolean
    - `enriched` EnrichedContactData: Enrichment data from our company database.
      - `company_name` string, nullable
      - `status` string, nullable
      - `industry_code` string, nullable
      - `industry_text` string, nullable
      - `municipality` string, nullable
      - `employee_count` integer, nullable
      - `latest_revenue` integer, nullable
      - `latest_gross_profit` integer, nullable
      - `cds_score` integer, nullable
      - `cds_rating` string, nullable
      - `property_count` integer, nullable
      - `negative_equity` boolean, nullable
    - `risk_flags` string[]
    - `synced_at` string, date-time, nullable
  - `total` integer, required
  - `page` integer, required
  - `page_size` integer, 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)
