Build on VillageHosting.
REST API, CLI, and webhooks for automating your hosting infrastructure. Everything your CI/CD pipeline or internal tooling needs.
BASE URL
https://api.villagehosting.in/v1
REST API
Full HTTP API for managing services, domains, billing, and tickets. Authenticate with a bearer token from your portal settings.
CLI
Command-line interface for power users — manage services, SSH keys, and backups from your terminal.
Uptime Webhooks
Receive real-time HTTP POST callbacks when your services go up, go down, or recover. Integrate with Slack, PagerDuty, or your own systems.
Authentication
All API requests use bearer token authentication. Generate API tokens in Portal → Settings → API Keys with configurable scopes and expiry.
First API call in 2 minutes
# 1. Generate an API token in Portal → Settings → API Keys # 2. Try your first request:
curl -X GET https://api.villagehosting.in/v1/services \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json"
# Response: list of your active services with status, plan, and renewal date