Dokploy
Generated

Domain

POST
/domain.create

Domain create

/domain.create

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

host
Required
string

Minimum length: 1

pathstring | null

Minimum length: 1

portnumber | null

Minimum: 1Maximum: 65535

httpsboolean

applicationIdstring | null

certificateTypestring

Value in: "letsencrypt" | "none" | "custom"

customCertResolverstring | null

composeIdstring | null

serviceNamestring | null

domainTypestring | null

Value in: "compose" | "application" | "preview"

previewDeploymentIdstring | null

internalPathstring | null

stripPathboolean

curl -X POST "https://your-dokploy-instance.com/api/domain.create" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "host": "string",
    "path": "string",
    "port": 1,
    "https": true,
    "applicationId": "string",
    "certificateType": "letsencrypt",
    "customCertResolver": "string",
    "composeId": "string",
    "serviceName": "string",
    "domainType": "compose",
    "previewDeploymentId": "string",
    "internalPath": "string",
    "stripPath": true
  }'

Successful response

{}

GET
/domain.byApplicationId

Domain by Application Id

/domain.byApplicationId

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

applicationId
Required
string

curl -X GET "https://your-dokploy-instance.com/api/domain.byApplicationId?applicationId=string" \
  -H "Authorization: <token>"

Successful response

{}

GET
/domain.byComposeId

Domain by Compose Id

/domain.byComposeId

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

composeId
Required
string

Minimum length: 1
curl -X GET "https://your-dokploy-instance.com/api/domain.byComposeId?composeId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/domain.generateDomain

Domain generate Domain

/domain.generateDomain

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

appName
Required
string

serverIdstring

curl -X POST "https://your-dokploy-instance.com/api/domain.generateDomain" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "appName": "string",
    "serverId": "string"
  }'

Successful response

{}

GET
/domain.canGenerateTraefikMeDomains

Domain can Generate Traefik Me Domains

/domain.canGenerateTraefikMeDomains

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

serverId
Required
string

curl -X GET "https://your-dokploy-instance.com/api/domain.canGenerateTraefikMeDomains?serverId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/domain.update

Domain update

/domain.update

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

host
Required
string

Minimum length: 1

pathstring | null

Minimum length: 1

portnumber | null

Minimum: 1Maximum: 65535

httpsboolean

certificateTypestring

Value in: "letsencrypt" | "none" | "custom"

customCertResolverstring | null

serviceNamestring | null

domainTypestring | null

Value in: "compose" | "application" | "preview"

internalPathstring | null

stripPathboolean

domainId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/domain.update" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "host": "string",
    "path": "string",
    "port": 1,
    "https": true,
    "certificateType": "letsencrypt",
    "customCertResolver": "string",
    "serviceName": "string",
    "domainType": "compose",
    "internalPath": "string",
    "stripPath": true,
    "domainId": "string"
  }'

Successful response

{}

GET
/domain.one

Domain one

/domain.one

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

domainId
Required
string

curl -X GET "https://your-dokploy-instance.com/api/domain.one?domainId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/domain.delete

Domain delete

/domain.delete

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

domainId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/domain.delete" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "domainId": "string"
  }'

Successful response

{}

POST
/domain.validateDomain

Domain validate Domain

/domain.validateDomain

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

domain
Required
string

serverIpstring

curl -X POST "https://your-dokploy-instance.com/api/domain.validateDomain" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "string",
    "serverIp": "string"
  }'

Successful response

{}