---
title: "Get session replay data with visitor info (without events)"
method: GET
path: "/visitors/{visitor_id}/session-replays/{session_id}"
tags: ["Analytics"]
---

# Get session replay data with visitor info (without events)

`GET /visitors/{visitor_id}/session-replays/{session_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/visitors/{visitor_id}/session-replays/{session_id}`
- Auth: HTTP bearer

## Path parameters

- `visitor_id` integer, required
- `session_id` integer, required

## Response `200`

Session replay retrieved successfully

- GetSessionReplayResponse
  - `session` SessionReplayWithVisitorDto, required
    - `browser` string, nullable
    - `browser_version` string, nullable
    - `created_at` string, nullable
    - `device_type` string, nullable
    - `duration` integer, nullable
    - `id` integer, required
    - `language` string, nullable
    - `operating_system` string, nullable
    - `operating_system_version` string, nullable
    - `screen_height` integer, nullable
    - `screen_width` integer, nullable
    - `session_replay_id` string, required
    - `timezone` string, nullable
    - `url` string, nullable
    - `user_agent` string, nullable
    - `viewport_height` integer, nullable
    - `viewport_width` integer, nullable
    - `visitor_city` string, nullable
    - `visitor_country` string, nullable
    - `visitor_country_code` string, nullable
    - `visitor_crawler_name` string, nullable
    - `visitor_custom_data` unknown
    - `visitor_environment_id` integer, nullable
    - `visitor_first_seen` string, required
    - `visitor_id` integer, required
    - `visitor_is_crawler` boolean, required
    - `visitor_last_seen` string, required
    - `visitor_project_id` integer, required
    - `visitor_region` string, nullable
    - `visitor_uuid` string, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions
- `404`: Session not found
- `500`: Internal server error

## Changes

- **2026-11-25** `cd7fa5283777`: 2 breaking
  - the response property `session/visitor_environment_id` became nullable for the status `200`
  - the response property `session/visitor_environment_id` became optional for the status `200`
- **2026-07-27** `1b060c0a4ba3`: 3 info
  - the endpoint scheme security `bearer_auth` was added to the API
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
- **2026-04-25** `774be20905f2`: 1 breaking, 4 info
  - the `session/visitor_custom_data` response's property type changed from `string, null` to no type for status `200`
  - added the optional property `session/visitor_city` to the response with the `200` status
  - added the optional property `session/visitor_country` to the response with the `200` status
  - added the optional property `session/visitor_country_code` to the response with the `200` status
  - …1 more

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/visitors/:visitor_id/session-replays/:session_id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
