Request deploy approval
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Asks the owners and admins of the app's workspace to publish the app for you, with the visibility you want. Use it when your workspace's publishing policy doesn't let you deploy the app yourself.
Every active owner, and every admin allowed to publish, except you, gets an in-app notification and an email naming the app, the visibility you asked for, and your message. Base44 also records the request as pending until the app is published. The call doesn't publish anything or check whether you could have published the app yourself.
Repeating the request within 60 seconds notifies no one and returns deduped set to true. After that, the same request notifies the approvers again.
Requests are made on main only, so naming a branch in branch_id returns a 409.
This is limited to 5 requests per minute per app for each workspace's personal API keys, so every key in a workspace shares one allowance. Some workspaces have a different limit.
<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/request-deploy
- AuthHTTP bearer
Path parameters
ID of the app you want published.
Query parameters
ID of the branch to work on, as returned by List branches. Omit it to work on the app's main branch.
Request body
Example request
{
"requested_visibility": "public_with_login",
"message": "Ready for the client demo on Friday."
}Response
The approvers were notified, or the request was a repeat.
Example response
{
"recipients_notified": 2
}Changes
- info
added the new optional
queryrequest parameterbranch_id
- info
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info