---
title: "Authenticate with access key"
method: POST
path: "/api/authenticate"
tags: ["access_key"]
---

# Authenticate with access key

`POST /api/authenticate`

## Request

- The document declares no server URL.
- Auth: none declared

Authenticate using an access key to obtain a session token

## Request body

- ApiAuthReq
  - `access_key` string, required

## Response `200`

token

- object

## Other responses

- `400`: Bad Request

## Changes

- **2026-05-07** `5f7ff5dcb854`: 1 info
  - endpoint added
- **2026-05-07** `63a9a5eb230c`: 1 breaking
  - api path removed without deprecation
- **2026-01-06** `f8c45e06a44e`: 1 info
  - endpoint added
- **2025-07-07** `24d4b1cd7621`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/ivpn/apis/ivpn-mailx-api/changes/api/authenticate/post.md)

---

[API](https://skmtc.dev/ivpn/apis/ivpn-mailx-api.md) - [All operations](https://skmtc.dev/ivpn/apis/ivpn-mailx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ivpn/apis/ivpn-mailx-api/revisions/6eb6a9df43a3?raw)
