---
title: "Get all sessions"
url: https://docs.gleap.ai/en/reference/rest-api/get-sessions
method: GET
path: "/sessions"
api: "API Reference"
tag: "Session"
operationId: "GetSessions"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Get all sessions

`GET https://api.gleap.io/v3/sessions`

List sessions (contacts) of the project. Paginated: `limit` defaults to 50 and is capped at 100 per page, and paging cannot go past the first 10,000 results. Optional query parameters: `type` (`users` = has userId, `guests` = no userId, `unsubscribed`, `bounced` = email address hard-bounced, or `companies`; the latter returns aggregated companies instead of sessions — `organisations` is the old name for it and still works), `companyId` (only sessions of this company), `userId` and `email` (exact), `name` and `companyName` (word prefix), `withFeedback` (only sessions with at least one ticket), `contactViewId` (returns the sessions matching a saved contact view; 404 when the view does not exist), plus `skip` and `sort`.

## Authorization

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

## Headers

- `project` (string, required)

## Example request

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

## Responses

### 200 (`application/json`)

Ok

```json
[]
```
