The CloudNexus REST API allows you to programmatically manage your cloud infrastructure, provision instances, configure networking, and automate deployments. All requests are authenticated via Bearer tokens and use standard HTTP methods.
Base URL
https://api.cloudnexus.io/v1
🔐 Authentication
CloudNexus uses API keys to authenticate requests. Generate your key from the Dashboard > Settings > API Keys. Include it in the `Authorization` header as a Bearer token.
CloudNexus uses standard HTTP status codes to indicate success or failure. 2xx codes indicate success, 4xx codes indicate client errors, and 5xx codes indicate server errors.
200OK - Request succeeded
201Created - Resource provisioned
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
403Forbidden - Insufficient permissions
404Not Found - Resource doesn't exist
500Server Error - Internal failure
503Service Unavailable - Overload
Error Response Format
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid region specified",
"details": [
{
"field": "region",
"reason": "Must be one of: us-east-1, eu-west-1, ap-south-1"
}
]
}
}