---
title: "Get session identity history"
url: https://docs.gleap.ai/en/reference/rest-api/get-session-identity-history
method: GET
path: "/sessions/{sessionId}/identity-history"
api: "API Reference"
tag: "Session"
operationId: "GetSessionIdentityHistory"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Get session identity history

`GET https://api.gleap.io/v3/sessions/{sessionId}/identity-history`

Get the identity-change history for a session: recorded mutations of email / name / userId on this contact record, capped at the 100 most recent entries and returned as `{ history: [...] }`. Stripped from default session responses (see session.model.ts toJSON), so this is the only path that returns it.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `sessionId` (string, required)

## Headers

- `project` (string, required)

## Example request

```bash
curl --request GET \
  --url 'https://api.gleap.io/v3/sessions/{sessionId}/identity-history' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 200 (`application/json`)

Ok

- `history` (any, required)

```json
{}
```
