API & Integrations
Everything you can do in the dashboard, you can also do through our API. Deploy from a script, hook it into CI/CD, or let an AI agent manage your sites.
API access requires Solo plan ($13/mo) or higher.
Getting your API key
- 1.Go to API Keys in the dashboard sidebar.
- 2.Click Generate New Key. Copy it right away — you won't see it again.
- 3.Pass it as a header in every request:
x-api-key: your_key_here
Quick example: deploy a site
# Create a project
curl -X POST https://ezyhost.io/api/projects \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "my-site", "subdomain": "my-site"}'
# Upload a ZIP
curl -X POST https://ezyhost.io/api/upload/PROJECT_ID \
-H "x-api-key: YOUR_KEY" \
-F "files=@site.zip"
# That's it. Live at https://my-site.ezyhost.siteMain endpoints
/api/projects/api/projects/api/projects/:id/api/projects/:id/api/upload/:id/api/seo/:id/api/seo/:id/ai-fix/api/analytics/:id/api/domains/:id/api/aibuilder/chatFull API reference with request/response examples is available at ezyhost.io/skill.md.
Rate limits
Use cases
CI/CD deploys
Push to GitHub, build your static site, then curl the upload endpoint with the output ZIP. Instant auto-deploys.
AI agent workflows
AI coding agents can read our SKILL.md and use the API to create, build, and deploy sites autonomously. We built the API with this in mind.
Bulk management
Managing lots of small sites? Script the creation, upload, and domain setup. Each API call is a few lines of code.
Tip: If you revoke your API key, any scripts or tools using it will immediately stop working. Generate a new key before revoking the old one if you need zero downtime.