Applications are the primary workload unit in Dokploy. They can be sourced from GitHub, GitLab, Bitbucket, Gitea, a custom Git URL, a Docker image, or a file drop. Once created, you can configure the build type, environment variables, domains, and then trigger a deployment — all programmatically through the API.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/dokploy/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /application.create | Create a new application |
| GET | /application.one | Fetch a single application by ID |
| POST | /application.update | Update application configuration |
| POST | /application.delete | Delete an application |
| POST | /application.deploy | Trigger a new deployment |
| POST | /application.redeploy | Re-run the last deployment |
| POST | /application.stop | Stop the running application |
| POST | /application.start | Start a stopped application |
| POST | /application.reload | Reload the application service |
| POST | /application.saveEnvironment | Save environment variables and build args |
| POST | /application.saveBuildType | Configure build type (Dockerfile, Nixpacks, etc.) |
| POST | /application.saveGithubProvider | Link a GitHub repository |
| POST | /application.saveGitlabProvider | Link a GitLab repository |
| POST | /application.saveBitbucketProvider | Link a Bitbucket repository |
| POST | /application.saveGiteaProvider | Link a Gitea repository |
| POST | /application.saveDockerProvider | Set a Docker image as the source |
| POST | /application.saveGitProvider | Link a custom Git repository |
| POST | /application.disconnectGitProvider | Remove the linked Git provider |
| POST | /application.refreshToken | Regenerate the webhook token |
| POST | /application.cleanQueues | Clear the deployment job queue |
| POST | /application.clearDeployments | Remove old deployment records |
| POST | /application.killBuild | Abort an in-progress build |
| GET | /application.readTraefikConfig | Read the Traefik routing config |
| POST | /application.updateTraefikConfig | Update the Traefik routing config |
| GET | /application.readAppMonitoring | Get resource monitoring stats |
| POST | /application.move | Move an application to another environment |
| POST | /application.cancelDeployment | Cancel a queued or running deployment |
| POST | /application.markRunning | Manually mark an application as running |
| GET | /application.search | Search applications |
Key Endpoints
POST /application.create
Create a new application within a project environment.
Display name for the application.
ID of the environment (inside a project) to create the application in.
Internal Docker service name. Auto-generated if omitted.
Optional description of the application.
Target server ID. Required in cloud mode or when
remoteServersOnly is enabled.Unique identifier of the created application.
The internal Docker service name assigned to the application.
Display name of the application.
Initial status —
idle, running, done, or error.POST /application.deploy
Trigger a full build and deployment of the application from its configured source.
ID of the application to deploy.
Optional label shown in the deployment history.
Optional notes about this deployment.
POST /application.redeploy
Re-run the most recent deployment without pulling new source code.
ID of the application to redeploy.
Optional label for this redeployment entry.
Optional notes.
POST /application.saveEnvironment
Set or update environment variables, build arguments, and build secrets for an application.
ID of the application.
Newline-separated
KEY=VALUE pairs for runtime environment variables. Pass null to clear.Newline-separated Docker build arguments (
ARG_NAME=value). Pass null to clear.Newline-separated build secrets. Pass
null to clear.When
true, write a .env file into the container at runtime.POST /application.update
Update any property of an existing application — name, resource limits, source provider fields, Swarm config, and more.
ID of the application to update.
New display name.
Desired number of running replicas.
Hard memory limit (e.g.,
512m, 1g).Hard CPU limit (e.g.,
0.5, 1).Enable automatic deployment on Git push webhook.
Build strategy:
dockerfile, heroku_buildpacks, paketo_buildpacks, nixpacks, static, or railpack.POST /application.delete
Permanently delete an application and remove its Docker service and Traefik configuration.
ID of the application to delete.
Notes
All endpoints require a valid API key passed in the
x-api-key header. Generate one under Settings → API Keys in the Dokploy dashboard.