---
title: "Changes to Mint a short-lived URL for a port running in the application harness\nsandbox. This intentionally does not return the bare `ws-…` hostname:\napplication sandboxes always have a private preview password and only the\ngateway can exchange this grant for the preview cookie."
method: POST
path: "/ai/applications/{application_public_id}/preview-link"
---

# Changes to Mint a short-lived URL for a port running in the application harness
sandbox. This intentionally does not return the bare `ws-…` hostname:
application sandboxes always have a private preview password and only the
gateway can exchange this grant for the preview cookie.

`POST /ai/applications/{application_public_id}/preview-link`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 383 revisions.

- **2026-11-26** `e1864d950604`: 1 breaking
- **2026-09-07** `7a3103561bd0`: 1 info

## Changes

- **2026-11-26** `e1864d950604`: 1 breaking
  - the `expires_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
- **2026-09-07** `7a3103561bd0`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/ai/applications/:application_public_id/preview-link/post.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/ai/applications/:application_public_id/preview-link/post)
