Provision a cloud virtual machine programmatically in under 60 seconds. Suitable for Terraform-style automation, CI/CD ephemerals, and dynamic capacity.
Sign in, open the Dashboard, and create an API Token under your account settings. Set the PIDGINHOST_API_TOKEN environment variable.
curl -X GET https://www.pidginhost.com/api/v1/cloud/server-packages/ \
-H "Authorization: Token $PIDGINHOST_API_TOKEN"
curl -X POST https://www.pidginhost.com/api/v1/cloud/servers/ \
-H "Authorization: Token $PIDGINHOST_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"hostname": "web-01",
"package": "cloudv-4",
"image": "ubuntu24",
"ssh_pub_key": "ssh-ed25519 AAAA..."
}'
Response includes the new server id. Poll the server detail endpoint until status becomes active.
phctl auth login --token "$PIDGINHOST_API_TOKEN"
phctl compute server create \
--hostname web-01 \
--package cloudv-4 \
--image ubuntu24
Every endpoint with Python, JavaScript, PHP, Go, Rust, CLI, and curl examples.
Sign up in 60 seconds. 30-day money-back guarantee. No credit card required for the free cloud VM tier.