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

# Export sessions

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

Export the project's contacts as a CSV file download (`Content-Type: text/csv`, filename `users.csv`). Not filterable; query parameters are ignored. Only contacts with an email address are included, capped at 75,000 rows, with a fixed column set (userId, name, email, phone, companyName, companyId, lang, plan, value, sla, deviceType, platform, tags, sessions, blocked, unsubscribed, firstActivity, lastActivity, createdAt, customData).

## Authorization

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

## Headers

- `project` (string, required)

## Example request

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

## Responses

### 200 (`application/json`)

Ok
