Create a preview link token for a phone app.
A short-lived token that makes the app's preview show this app. Open sandbox.devUrl from GET .../cli/projects/{projectId}/context with #previewToken=<token> appended; without it the preview shows the stock app.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
clientportal-ai. readonlyOAuthPrivate IntegrationSub-Account TokenRequest
Headers
The API version.
v3v3Path Parameters
The app's id.
Possible values: Value must match regular expression ^prj_[A-Za-z0-9_-]+$
prj_a7ca4adc-be67-40ff-ae79-4f5acf56ac67Body
How long the preview link works, in seconds.
Possible values: >= 60 and <= 3600
900Response
Opaque token bound to the authenticated location.
Opaque bearer. The control plane persists only its SHA-256 hash. Open the app's preview (sandbox.devUrl from the app's context) with it in the fragment, <devUrl>/#previewToken=<token>; without it the preview shows the stock app.
Possible values: Value must match regular expression ^[A-Za-z0-9_-]{32,128}$
Vq3n8XkT2pLw9sYc4RbJ7hMd1FgZ6aEuWhen the token stops working.
2026-10-23T11:40:00.000Z