apps_deploy_preview_create
POST
/v1/apps/{app_id}/deploy/preview
const url = 'https://example.com/v1/apps/example/deploy/preview';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/apps/example/deploy/preview \ --header 'Authorization: Bearer <token>'POST /v1/apps/{id}/deploy/preview — Trigger a preview deployment.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”app_id
required
string
Responses
Section titled “Responses”No response body