---
title: "Create access key"
method: POST
path: "/accesskeys"
tags: ["access_key"]
---

# Create access key

`POST /accesskeys`

Create a new access key for the authenticated user

## Request body

- ApiAccessKeyReq
  - `expires_at` string
  - `name` string, required

## Response `200`

token

- object

## Other responses

- `400` — Bad Request

## Changes

- **2025-12-08** `f8c45e06a44e` — 1 info
  - endpoint added
- **2025-07-07** `24d4b1cd7621` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ivpn/apis/untitled-api/changes/accesskeys/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)
