---
title: "Generate an encrypted Guacamole connection token"
method: POST
path: "/guacamole/token"
tags: ["Guacamole"]
---

# Generate an encrypted Guacamole connection token

`POST /guacamole/token`

Creates an AES-256-CBC encrypted token for guacamole-lite with the given connection parameters

## Request body

- object
  - `type` 'rdp' | 'vnc' | 'telnet', required
  - `hostname` string, required
  - `port` integer
  - `username` string
  - `password` string
  - `domain` string

## Response `200`

Encrypted connection token

- object
  - `token` string

## Other responses

- `400` — Invalid request
- `500` — Server error

---

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