---
title: "Web terminal url"
method: POST
path: "/boxes/{boxId}/web-terminal-url"
tags: ["Box"]
---

# Web terminal url

`POST /boxes/{boxId}/web-terminal-url`

This endpoint allows you to generate a pre-signed URL for accessing the web terminal of a running box. The URL is valid for a limited time and can be used to access the box's terminal interface.

## Path parameters

- `boxId` string, required

## Request body

- WebTerminal — Web terminal configuration
  - `expiresIn` string — The web terminal will be alive for the given duration Supported time units: ms (milliseconds), s (seconds), m (minutes), h (hours) Example formats: "500ms", "30s", "5m", "1h" Default: 180m

## Response `201`

Generate pre-signed web terminal url

- WebTerminalResult — Web terminal result
  - `url` string, required — Web terminal url

---

[API](https://skmtc.net/babelcloud/apis/gbox-open-api.md) · [All operations](https://skmtc.net/babelcloud/apis/gbox-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/babelcloud/gbox-open-api/versions/d655577fa915/schema)
