POST
/
v2
/
servers
/
start
Start a New Game Server
curl --request POST \
  --url https://api.computeflow.cloud/v2/servers/start \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "startup_args": "<string>",
  "region": "<string>",
  "compute_size": "small",
  "version_tag": "<string>",
  "version": 123,
  "ttl": 43230,
  "auto_restart": true,
  "custom_data": {},
  "preferred_provider": "aws"
}'
{
  "instance_id": "<string>",
  "name": "<string>",
  "status": "launching",
  "region": "<string>",
  "network_ports": [
    {
      "name": "<string>",
      "internal_port": 123,
      "external_port": 123,
      "protocol": "udp",
      "host": "<string>",
      "tls_enabled": false
    }
  ],
  "compute_size": "small",
  "version_tag": "",
  "version": 123,
  "started_at": "2023-11-07T05:31:56Z"
}

Headers

api-key
string
required

PlayFlow API Key

Body

application/json

Configuration for the new server.

Response

Successful Response

Schema for server start response.