GET
POST
PUT
DELETE
API
/users/instances/networks/storage{
"status": 200,
"data": {...}
}All Systems Operational
API Reference
Build powerful applications with the Patrii Cloud API
API Documentation Coming Soon
Our RESTful API is currently in development. Here's what you can expect:
Complete REST API for all services
OpenAPI 3.0 specification
Client libraries for popular languages
Webhook support for events
Comprehensive rate limiting
API Preview
Authentication
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.patrii.cloud/v1/instancesAvailable Endpoints
GET /v1/instancesList all instances
POST /v1/instancesCreate new instance
PUT /v1/instances/:idUpdate instance
DELETE /v1/instances/:idDelete instance
Code Examples
# Create a new instance
curl -X POST https://api.patrii.cloud/v1/instances \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "web-server-01",
"type": "vps.medium",
"region": "montreal-1",
"image": "ubuntu-22.04",
"ssh_keys": ["ssh-rsa AAAA..."]
}'
# Response
{
"id": "inst_1234567890",
"name": "web-server-01",
"status": "creating",
"ip_address": null,
"created_at": "2025-07-21T10:00:00Z"
}SDKs & Libraries
Official SDKs will be available for popular programming languages
Python SDK
Node.js/TypeScript SDK
Go SDK
Ruby SDK
PHP SDK
Java SDK
Terraform Provider
Infrastructure as Code support coming in Q1 2026
# Coming Soon: Terraform Provider for Patrii Cloud
terraform {
required_providers {
patrii = {
source = "patrii/patrii"
version = "~> 1.0"
}
}
}
resource "patrii_instance" "web" {
name = "web-server-01"
type = "vps.medium"
region = "montreal-1"
}