---
title: "Add pre-auth session"
method: POST
path: "/sub/session"
tags: ["subscription"]
---

# Add pre-auth session

`POST /sub/session`

Add pre-auth session

## Request body

- ApiPASessionReq
  - `id` string, required
  - `preauth_id` string, required
  - `token` string, required

## Response `200`

OK

- ApiSuccessRes
  - `message` string

## Other responses

- `400` — Bad Request

## Changes

- **2026-07-17** `0e7bcc538dce` — 1 info
  - endpoint added
- **2026-02-27** `40af593ffad2` — 1 breaking
  - api path removed without deprecation
- **2026-01-06** `5f7ff5dcb854` — 1 info
  - endpoint added
- **2025-12-08** `f8c45e06a44e` — 1 breaking
  - api path removed without deprecation
- **2025-11-26** `40c4ac8c88f2` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/ivpn/apis/untitled-api/changes/sub/session/post.md)

---

[API](https://skmtc.dev/ivpn/apis/untitled-api.md) · [All operations](https://skmtc.dev/ivpn/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ivpn/untitled-api/revisions/0e7bcc538dce/schema)
