Skip to main content
POST
/
v1
/
game
/
custom-domains
/
{serverId}
Create custom domain
curl --request POST \
  --url https://api.waterfall.host/v1/game/custom-domains/{serverId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>",
  "allocationId": 123,
  "setupMethod": "manual"
}
'

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Path Parameters

serverId
string
required

Body

application/json
domain
string
required
allocationId
integer
required
setupMethod
enum<string>
Available options:
manual,
domain_connect

Response

200

Custom domain created