---
title: "getSession"
method: GET
path: "/v1/files/session"
tags: ["Session"]
---

# getSession

`GET /v1/files/session`

Start a browser session by setting passed Authorization token in a server side cookie.

Allows using preview urls directly in img src for private files using cookie authentication.

## Response `200`

Session started successfully

---

[API](https://skmtc.dev/epilot/apis/webhooks.md) · [All operations](https://skmtc.dev/epilot/apis/webhooks/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/epilot/webhooks/revisions/ff893c7d7bfc/schema)
