Fast, reliable REST API for building scalable cloud applications. Integrate in minutes with simple authentication, comprehensive documentation, and production-ready endpoints.
RESTful design with minimal dependencies and clear documentation.
Optimized infrastructure for sub-100ms latency on most requests.
99.9% SLA with redundant systems and comprehensive monitoring.
Get started in 60 seconds with a simple API request:
curl -X GET https://api.cloudplatform.io/v1/status \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
# Response:
{
"status": "operational",
"version": "v1",
"uptime": "99.94%"
}
Secure your API requests using either API keys or bearer tokens. Choose the authentication method that best fits your use case and always follow security best practices to protect your credentials.
API keys are simple tokens that identify your application. Include your API key in the X-API-Key header for each request.
Retrieve Your API Key
Bearer tokens are used for OAuth 2.0 flows and are ideal for user-delegated access. Include your token in the Authorization header with the Bearer scheme.
Tokens are typically short-lived and may require periodic refresh. Always validate token expiry before making requests.
Include these headers in all API requests:
Header
X-API-Key
Value
Your API key
Required
Yes (API Key auth)
Header
Authorization
Value
Bearer <token>
Required
Yes (Bearer auth)
Header
Content-Type
Value
application/json
Required
Yes (for POST/PUT)
Store your credentials in environment variables instead of hardcoding them in your application:
Example .env file
# API Configuration
CLOUD_API_KEY=your_api_key_here
CLOUD_API_BASE_URL=https://api.cloudplatform.com/v1
CLOUD_API_TIMEOUT=30000
Access in your code (Node.js example)
const apiKey = process.env.CLOUD_API_KEY;
const baseUrl = process.env.CLOUD_API_BASE_URL;
const headers = {
'X-API-Key': apiKey,
'Content-Type': 'application/json'
};
Using cURL
curl -X GET https://api.cloudplatform.com/v1/data \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json"
Using JavaScript (Fetch)
const response = await fetch('https://api.cloudplatform.com/v1/data', {
method: 'GET',
headers: {
'X-API-Key': process.env.CLOUD_API_KEY,
'Content-Type': 'application/json'
}
});
const data = await response.json();
Using Python (Requests)
import requests
import os
headers = {
'X-API-Key': os.getenv('CLOUD_API_KEY'),
'Content-Type': 'application/json'
}
response = requests.get('https://api.cloudplatform.com/v1/data', headers=headers)
data = response.json()
Explore the core endpoints of our cloud API platform. Each endpoint includes authentication requirements, parameters, and response examples. All endpoints use REST conventions and return JSON responses.
/resources
List all resources available in your account. Supports pagination and filtering by status.
limit— Number of results per page (default: 20, max: 100)offset— Pagination offset (default: 0)status— Filter by status: active or inactive{
"data": [
{
"id": "res_1a2b3c",
"name": "Production Database",
"type": "database",
"status": "active",
"region": "us-west-2",
"created_at": "2026-04-15T10:30:00Z"
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 145
}
}
/resources/:id
Retrieve complete details of a specific resource by its unique identifier.
idrequired— Unique resource identifier{
"id": "res_1a2b3c",
"name": "Production Database",
"type": "database",
"status": "active",
"region": "us-west-2",
"created_at": "2026-04-15T10:30:00Z",
"updated_at": "2026-04-20T15:45:22Z",
"tags": ["production", "critical"],
"connection_count": 12
}
/resources
Create a new resource in your account. Requires valid authentication and a properly formatted request body.
namerequired— Display name for the resourcetyperequired— Resource type: database, cache, or storageregion— AWS region (default: us-east-1)tags— Array of string tags for organization{
"id": "res_9x8y7z",
"name": "Staging Cache",
"type": "cache",
"status": "active",
"region": "eu-central-1",
"created_at": "2026-04-27T09:15:00Z",
"updated_at": "2026-04-27T09:15:00Z",
"tags": ["staging", "cache"],
"connection_count": 0
}
/resources/:id
Permanently delete a resource from your account. This action cannot be reversed. Resources with active connections cannot be deleted.
idrequired— Unique resource identifier{
"success": true,
"message": "Resource deleted successfully",
"deleted_id": "res_1a2b3c",
"deleted_at": "2026-04-27T10:22:15Z"
}
Authorization: Bearer header with each request.200 indicates success. See error responses for status codes 4xx and 5xx.Common questions about the Cloud API Platform, authentication, rate limits, SDKs, and support.
Our API implements a tiered rate limiting system:
Rate limit status is returned in response headers:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 987
X-RateLimit-Reset: 1619827200
When limits are exceeded, the API returns a 429 Too Many Requests response.
We use URL-based versioning. The current stable version is v1. All API endpoints are prefixed with the version:
https://api.cloudplatform.io/v1/resources
https://api.cloudplatform.io/v1/auth/token
We maintain backward compatibility within major versions. Deprecation notices are provided 6 months before removing any endpoint or parameter.
Check the Endpoints section for the latest version information.
All errors return a consistent JSON structure with HTTP status codes:
{
"error": {
"code": "INVALID_REQUEST",
"message": "Missing required parameter: api_key",
"request_id": "req_1a2b3c4d5e"
}
}
Common status codes:
400 – Bad Request401 – Unauthorized403 – Forbidden429 – Rate Limited500 – Server ErrorAlways include the request_id when contacting support.
Yes! We provide a fully functional sandbox environment for testing:
Sandbox: https://sandbox.api.cloudplatform.io/v1
Production: https://api.cloudplatform.io/v1
The sandbox uses the same API specification and returns realistic responses. No actual resources are created or billed. Get started by requesting sandbox credentials from your account dashboard.
We recommend developing and testing all integrations in sandbox before moving to production.
We maintain official SDKs for popular languages:
pip install cloudplatform-sdknpm install @cloudplatform/sdkgo get github.com/cloudplatform/go-sdkMaven and Gradle support availablegem install cloudplatformAll SDKs are open-source and available on GitHub. Community-maintained SDKs for other languages are also available.
Support options vary by plan:
Our status page at status.cloudplatform.io provides real-time platform status and incident history.
For critical production issues, use the emergency contact method provided in your account settings.
We support two authentication methods:
1. API Key (Recommended for simple integrations)
Authorization: Bearer your_api_key_here
2. OAuth 2.0 (Recommended for user-facing applications)
For detailed authentication setup, see the Authentication section.
The API supports both JSON and MessagePack response formats:
Content-Type: application/json (default)
Content-Type: application/msgpack
Request the format using the Accept header:
Accept: application/json
Accept: application/msgpack
JSON is the default and recommended for most use cases. MessagePack is useful for high-performance or bandwidth-constrained scenarios.
Can't find what you're looking for? Check out our full API documentation or contact our support team.