---
title: "Issue one-time token for websocket console access"
method: POST
path: "/v1/vms/{id}/console-token"
tags: ["Console"]
---

# Issue one-time token for websocket console access

`POST /v1/vms/{id}/console-token`

## Path parameters

- `id` string, uuid, required

## Response `200`

Console token issued

- ConsoleTokenResponse
  - `token` string, required
  - `expiresInSec` integer, required
  - `websocketPath` string, required

## Other responses

- `400` — Error response
- `401` — Error response
- `404` — Error response
- `409` — Error response

---

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