---
title: "One page of a site's form submissions, newest first."
method: GET
path: "/api/v1/sites/{id}/submissions"
tags: ["submissions"]
---

# One page of a site's form submissions, newest first.

`GET /api/v1/sites/{id}/submissions`

## Request

- Base URL: `https://harvis.dev`
- URL: `https://harvis.dev/api/v1/sites/{id}/submissions`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

## Path parameters

- `id` string, required

## Query parameters

- `form` string
- `offset` integer

## Response `200`

One page of a site's form submissions, newest first.

- SubmissionList
  - `submissions` Submission[], required
    - `id` string, required
    - `formName` string, required: The value of the harvis-form attribute; a bare attribute is 'default'.
    - `data` object, required: Field name to value, exactly as the visitor's browser sent it.
    - `pagePath` string, nullable, required
    - `readAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
  - `hasMore` boolean, required: Whether another page follows this one.

## Other responses

- `400`: `invalidRequest`
- `401`: `unauthorized`
- `403`: `suspended`
- `404`: `siteNotFound`

---

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