---
title: "POST /server.create"
method: POST
path: "/server.create"
tags: ["server"]
---

# POST /server.create

`POST /server.create`

## Request body

- object
  - `name` string, required
  - `description` string, nullable, required
  - `ipAddress` string, required
  - `port` number, required
  - `username` string, required
  - `sshKeyId` string, nullable, required
  - `serverType` 'deploy' | 'build', required
  - `enableDockerCleanup` boolean

## Response `200`

Successful response

- object

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

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