Get published URL
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns the public URL of a published app, so you can link to it or open it.
The app has to be live. An app that has never been published, or that you unpublished, has no public URL and comes back as 404. Publish it with Deploy an app first. A 404 also means the app does not exist, so it does not tell you which of the two happened.
<Note>The URL is always built from the app's slug, like https://my-crm-3c45a1f2.base44.app. If you serve the app on your own domain, that domain is not returned here.</Note>
get/api/apps/platform/{app_id}/published-url
Path parameters
app_idstring required
ID of the app whose published URL to return.
ID of the app whose published URL to return.
Response
The app's public URL.
Example response
{
"url": "https://my-crm-3c45a1f2.base44.app"
}