Get preview URL
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns a URL that serves the app as it currently stands in the app editor, including changes that haven't been published yet. Use it to look at your work in progress. Use Deploy an app to put it in front of your users.
The preview is served by a sandbox that shuts down when it goes unused. If none is running, this starts one, so the first call after a quiet period takes noticeably longer than later ones. The sandbox_info.cold_start field tells you which happened.
A 409 usually means the app's code doesn't currently build. The response body says what failed, so send that to the AI with Send chat message and ask for the preview again.
Path parameters
Response
Successful Response
Example response
{
"preview_url": "https://preview-6820f3a4e7b91d003c45a1f2.base44.app",
"preview_token": "pv_8f2c1a9d4b7e",
"sandbox_info": {
"timeout_timestamp": "2026-08-02T15:30:00"
}
}Changes
Changed in 3 of the 11 revisions of this API.4
- ○
removed the non-success response with the status
422response-non-success-status-removed
- ○
- ○
added the optional property
bridge_injectedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
proxy_pooledto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○