---
title: "Export a document's visits"
method: GET
path: "/documents/{document_id}/visits.csv"
tags: ["document"]
---

# Export a document's visits

`GET /documents/{document_id}/visits.csv`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/documents/{document_id}/visits.csv`
- Auth: HTTP bearer

Every visit to a document's links as CSV, one row a visit: who, through which link, when, for how long, how much of it they read, where and on what, whether they came back, downloaded or followed links. Reader emails are what readers typed.

## Path parameters

- `document_id` string, required

## Response `200`

The result.

- object
  - `file_name` string, required
  - `content_type` string, required
  - `content_base64` string, required

## Other responses

- `default`: An RFC 9457 problem.

---

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