---
title: "Get all sessions"
method: GET
path: "/sessions"
tags: ["Session"]
---

# Get all sessions

`GET /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`, or `organisations`; the latter returns aggregated
organisations instead of sessions), `companyId` (only sessions of this company), `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`.

## Headers

- `project` string, required

## Response `200`

Ok

- unknown[]
  - unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
