---
title: "Import sessions"
method: POST
path: "/sessions/importer"
tags: ["Session"]
---

# Import sessions

`POST /sessions/importer`

Bulk-import sessions (contacts). The body must be `{ "sessions": [...] }`. Entries with a `userId` are
upserted onto the existing contact; entries without one create a new guest session. Returns the ids of
the imported sessions.

## Headers

- `project` string, required

## Request body

- unknown

## Response `200`

Ok

- string[]

---

[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/revisions/2bfe054193b5/schema)
