CloudRaya Documentation

API & Automation

CloudRaya provides a REST API so you can automate platform operations and integrate CloudRaya into your own applications, scripts, and internal tools instead of relying only on the Control Panel.

This page explains what the API is for and how authentication works at a high level. For the full list of endpoints, request/response formats, and code samples, see the CloudRaya API Reference.

What You Can Do With the API

With the CloudRaya API, you can:

  • Automate routine platform operations (provisioning, resizing, scheduling) instead of clicking through the panel
  • Connect CloudRaya to your internal tools, dashboards, or customer portals
  • Retrieve resource status, usage, and billing information programmatically
  • Build custom provisioning and reporting workflows on top of CloudRaya

Services Covered

The API is organized per service, each with its own base URL under api-v2.cloudraya.com:

ServiceCovers
CoreAccounts, authentication, projects, members, roles, SSH keys, and quotas
Virtual MachineProvisioning, resizing, power actions, snapshots, and scheduling
NetworkPublic and private IPs, VPCs, subnets, load balancers, ACLs, VPN, and firewalls
Block StorageVolumes, snapshots, scheduled backups, and machine templates
Object StorageS3-compatible buckets, folders, access keys, and regions
KubernetesManaged clusters, node pools, versions, and kubeconfig
Container RegistryPrivate registries, repositories, artifacts, and robot accounts
Product & PricingProduct catalog, price books, regions, and per-user resource usage
Wallet & BillingBalance, top-ups, invoices, coupons, transactions, and billing history
NotificationBroadcast notifications, categories, and e-mail templates

Authentication

The API authenticates every request with a bearer token, not a separate API key.

  1. Exchange your CloudRaya account e-mail and password for a token by calling the login endpoint on the Core service
  2. Send that token on every other request as an Authorization: Bearer <token> header, it works across every service, not just the one that issued it
  3. The token expires after a limited time (currently around two hours); once it does, the API returns 401 Unauthorized and you log in again for a new one

There is no separate API key to generate or manage, and no HTTP Basic authentication, your account credentials are only ever sent to the login call itself. Since a token grants full access to your CloudRaya resources, never embed your credentials or tokens in client-side code or commit them to source control, and always call the API over HTTPS.

📄 See: the Reference's own Authentication page for the exact request and response format.

Response Format

Every response shares a common envelope with a code, a human-readable message, and a data payload whose shape depends on the endpoint. Error responses and status codes are documented on the Reference's Errors page.

Learn More

📄 CloudRaya API Reference: the full list of endpoints, parameters, and request/response examples, generated from the official Postman collections

📄 API & Automation FAQs

© 2026 CloudRaya Product Team. All rights reserved.

On this page