All articles
TechnicalJan 14, 2025 · 2 min read

API /v1/ launched

API /v1/ launched

We're launching our public API — a RESTful interface that lets you automate server provisioning, manage resources, and integrate RDP.sh directly into your own platform.


Getting Started

1. Generate an API Key

Navigate to Settings → Developer in your dashboard to create a new API key. Store it securely — you'll need it for all authenticated requests.

2. Authentication

Include your API key in the Authorization header of every request:

curl -X GET https://rdp.sh/v1/servers \ -H "Authorization: Bearer YOUR_API_KEY"

3. Account Balance

Ensure your account has sufficient balance before creating servers. API requests will fail if your balance cannot cover the server's cost.

API Reference

Endpoint Method Description
/v1/servers GET List all servers
/v1/servers POST Create a new server
/v1/servers/:id GET Get server details
/v1/servers/:id DELETE Terminate a server
/v1/account GET Get account information
/v1/balance GET Check current balance

Example: Create a Server

curl -X POST https://rdp.sh/v1/servers \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "plan": "rdp-4gb", "location": "nl", "os": "windows-server-2022", "hostname": "my-server" }'

Status

This is the first stable release of our API. We're actively adding new endpoints based on user feedback.

Need a specific endpoint? Contact our team — we prioritize based on demand.