---
title: "POST /application.saveBuildType"
method: POST
path: "/application.saveBuildType"
tags: ["application"]
---

# POST /application.saveBuildType

`POST /application.saveBuildType`

## Request body

- object
  - `applicationId` string, required
  - `buildType` 'dockerfile' | 'heroku_buildpacks' | 'paketo_buildpacks' | 'nixpacks' | 'static' | 'railpack', required
  - `dockerBuildStage` string, nullable, required
  - `dockerContextPath` string, nullable, required
  - `dockerfile` string, nullable
  - `herokuVersion` string, nullable
  - `isStaticSpa` boolean, nullable
  - `publishDirectory` string, nullable
  - `railpackVersion` string, nullable

## Response `200`

Successful response

- boolean

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/charliedevelops/apis/dokploy-api.md) · [All operations](https://skmtc.net/charliedevelops/apis/dokploy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/charliedevelops/dokploy-api/versions/50e2e470fdd0/schema)
