Application credentials
Give scripts and CI their own ID and secret, scoped to one project — never a person's password.
Automate XcellCloud with standard OpenStack REST APIs.
One token, six services, every resource in Mumbai — from curl, Python, Go or CI.
XcellCloud is built on OpenStack, so everything you can click in the console you can also do over HTTPS. Ask the identity service (Keystone v3) for a token, read the service catalog it returns, and call the services you need: Nova for servers, Neutron for networks, subnets, routers, security groups and floating IPs, Cinder for volumes and snapshots, Glance for images and Octavia for load balancers.
These are the standard upstream APIs, so the tools your team already uses — curl, openstacksdk, gophercloud, the OpenStack CLI, Terraform and Ansible — work against XcellCloud without plug-ins. API access is free with your XcellCloud account; you pay only for the resources you create. Your exact endpoints are shown in the XcellCloud console → API Access.
Your cloud, as code.
Automate servers, networks, storage and load balancers in Mumbai — from a laptop, a script or a CI pipeline.
Standard · Scriptable · In India
Every OpenStack service below is included with your account at no extra charge. Pick a role to see what a token with that role can do.
Endpoints shown are examples on https://api.xcellhost.cloud — your exact endpoints are listed in the XcellCloud console → API Access. Rate limits and quotas: fair use per project (placeholder) — check yours with openstack quota show. Resource prices are on the compute, network and load balancer pages.
Give scripts and CI their own ID and secret, scoped to one project — never a person's password.
Use reader for dashboards and audits, member for automation. Add --restricted access rules where you can.
Set an expiry on every credential, rotate on a schedule and revoke the old one the moment the new one works.
Keep clouds.yaml, secure.yaml and *-openrc.sh in .gitignore; inject secrets from your CI vault.
Turn on multi-factor sign-in for every person who can create credentials in the XcellCloud console.
Limit API access to your office and CI egress IPs — available on request; ask our engineers.
Every endpoint is HTTPS. Tokens travel only in the X-Auth-Token header — never in URLs or logs.
Resources you create through the API live in region mumbai-1, helping you meet DPDP Act expectations.
Guidance only — confirm your obligations under the DPDP Act and sector rules with your compliance advisers.
Upstream APIs and SDKs — skills and scripts carry over, with no proprietary lock-in.
Anything you can click, you can script — the console calls these APIs too.
No per-call fees. You pay in INR, with a GST invoice, only for the resources you run.
Low-latency endpoints for Indian teams, with data kept in India.
Terraform, Ansible and Kubernetes integrations speak this API out of the box.
Short-lived tokens from app credentials fit GitHub Actions, GitLab CI and Jenkins.
Working curl, Python and Go snippets for every common call on this page.
Stuck on a 403 or a quota? Mumbai cloud engineers answer by phone, WhatsApp or email.
console.xcellhost.cloudAPI Access → CreatePOST /v3/auth/tokensX-Auth-Token: …secrets → env varsAny tool that speaks the OpenStack APIs works with XcellCloud — no XcellHost-specific plug-in needed.
Every session follows the same five beats. Press play — or step through — and the code on the right follows the packet.
Send your application credential ID and secret. No scope block is needed — an application credential is already tied to one project.
Authenticate with an application credential from environment variables and list servers in region mumbai-1.
Set OS_APPLICATION_CREDENTIAL_ID and OS_APPLICATION_CREDENTIAL_SECRET from your CI secret store — never hard-code them.
The catalog in your token lists each service type with public endpoints for region mumbai-1. Pick a service to see its endpoint, versions and how to look it up.
Each request is shown as curl, CLI and Python, with a realistic sample response. Nothing is sent from this page — it is a safe sandbox for learning the calls.
/v2.1/serversFive behaviours every OpenStack client must handle. Get these right and your automation survives real-world load.
limit and markerList calls return a page of results. Pass limit for the page size and marker = the ID of the last item you received. Nova and Neutron add a *_links array with rel: "next"; Glance returns a next URL. Stop when no next link comes back.
| Code | Meaning | What to do |
|---|---|---|
| 400 | Bad request body or parameter | Fix the JSON; the message names the field |
| 401 | Token missing, expired or revoked | Get a new token, then retry once |
| 403 | Your role does not allow it | Check the credential's role and access rules |
| 404 | Wrong ID, or not in your project | Check the project scope and region |
| 409 | Conflict — resource busy or in the wrong state | Wait for the current task, then retry |
| 413 / 429 | Over a rate limit or quota | Back off; honour Retry-After if sent |
| 5xx | Service-side problem | Retry with exponential backoff; tell support with the request ID |
Include the X-Openstack-Request-Id response header when you contact XcellHost support — it lets us trace the call.
Most create calls return 202 Accepted (or 201 with a pending state) while the resource builds. Poll the resource until it reaches its ready state, and stop on an error state.
Nova, Cinder and Octavia version their APIs inside the major version. Send a microversion header to get the fields and behaviour you expect; without it you get the minimum version. GET the service root to see the supported range.
OpenStack-API-Version: compute 2.79OpenStack-API-Version: volume 3.60GET /v2.1/ → min_version, versionVersion numbers here are examples — check the range your endpoint reports.
Each project has quotas (instances, vCPUs, RAM, volumes, floating IPs) and the API applies fair-use rate limits. Read your quotas through the API, and treat 413/429 as "slow down", not as failure.
GET /v2.1/limits or openstack quota showYes. XcellCloud exposes the upstream OpenStack REST APIs — Keystone v3, Nova v2.1, Neutron v2.0, Cinder v3, Glance v2 and Octavia v2 — so standard SDKs, the OpenStack CLI, Terraform and Ansible work without XcellHost-specific plug-ins.
In the XcellCloud console under API Access. The URLs on this page (https://api.xcellhost.cloud:5000/v3 and so on) are examples. In code, read endpoints from the service catalog in your token rather than hard-coding them.
No. API access is free with your XcellCloud account. You pay in INR, with a GST invoice, only for the servers, volumes, IPs and load balancers you create — the same as if you used the console.
Use an application credential for anything automated. It is scoped to one project, can carry a reduced role and an expiry, and can be revoked without touching your own login. Keep passwords for interactive console sign-in with MFA.
The token response includes expires_at. Cache the token, reuse it for all calls, and request a new one shortly before it expires or when you receive a 401. SDKs such as openstacksdk and keystoneauth1 do this for you.
Creation is asynchronous. Nova returns 202 Accepted with the server ID while it moves through BUILD. Poll GET /servers/{id} until status is ACTIVE, and stop if it becomes ERROR.
Microversions let Nova, Cinder and Octavia add fields without breaking old clients. Send OpenStack-API-Version with the version you tested against so behaviour stays stable. If you omit it, you get the minimum supported version.
Projects have quotas and the API applies fair-use limits (exact figures are being confirmed — treat them as placeholders). On 413 or 429, back off exponentially and honour Retry-After. Contact XcellHost to raise quotas.
IP allow-listing for API access is available on request — tell us your office and CI egress ranges. Combine it with application credentials, least-privilege roles and short expiries.
Resources you create through the API run in region mumbai-1 in India. That helps with DPDP Act expectations and keeps latency low for Indian users — your advisers decide what your obligations require.
Revoke it immediately in the console or with openstack application credential delete, create a replacement, update your CI secret, then check recent activity. Call XcellHost support on +91 22 6711 1555 if you need help investigating.
Yes. XcellHost cloud engineers help with first calls, SDK set-up, Terraform and CI pipelines, quotas and troubleshooting — 24×7 from Mumbai by phone, WhatsApp and [email protected].