# The visit that filed one application

How ONE application's visitor got there and what they did before filing: the visit (first and last seen, duration on the page's clock, how far they got by question and page, whether they reached submit, the outcome, the address, user agent, referrer, language, device, browser and OS the request showed, validation errors hit, uploads, and the questions that refused them) and its timeline of events (question focused, completed, cleared, page advanced, upload, submit attempted, submitted), each naming the question by id and label — never an answer. Address it by the form id and the application id from `get_forms_id_responses`. `session` is null for an application filed before visits were kept or while the form's analytics were off; an application this form does not hold is a 404. Every visitor, filed or not, is `get_forms_id_visits`.

Access class: `workspace`.

## Endpoint

`GET /v1/forms/{id}/responses/{submissionId}/visit`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |
| submissionId | path | string | Yes |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "events": [
      {
        "at": "string",
        "fieldId": "",
        "fieldLabel": "string",
        "meta": "string",
        "pageIndex": "string",
        "receivedAt": "string",
        "sectionIndex": "string",
        "type": "string"
      }
    ],
    "session": {
      "acceptLanguage": "string",
      "browser": "string",
      "deviceType": "string",
      "durationMs": 1,
      "erroredFields": [
        "string"
      ],
      "errorsHit": 1,
      "eventCount": 1,
      "firstSeenAt": "2026-01-01T00:00:00Z",
      "furthestFieldId": "",
      "furthestFieldLabel": "string",
      "furthestPageIndex": 1,
      "id": "",
      "ip": "string",
      "lastSeenAt": "2026-01-01T00:00:00Z",
      "os": "string",
      "outcome": "string",
      "reachedSubmit": true,
      "referrer": "string",
      "submissionId": "",
      "uploads": 1,
      "userAgent": "string"
    }
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
