DocsAPI ReferenceAPI Authentication
API Reference

API Authentication

Authenticate your API requests with Bearer tokens.

Overview

All wasaaCloud API requests require authentication using a Bearer token. Tokens are generated from Dashboard → API Keys.

Base URL

https://api.wasaacloud.com

All endpoints are prefixed with /api/.

Authenticating requests

bash
curl https://api.wasaacloud.com/api/instances \
  -H "Authorization: Bearer wh_live_your_token_here"

Token scopes

ScopePermissions
instances:readList and view instances
instances:writeCreate, update, start, stop, restart instances
storage:readList and view buckets and objects
storage:writeCreate buckets, upload and delete objects
billing:readView invoices and billing summary
domains:readList and view domains and DNS records
domains:writeCreate, update and delete DNS records

Rate limits

API requests are limited to 1,000 requests per hour per token. The response headers include:

  • X-RateLimit-Limit — requests per hour
  • X-RateLimit-Remaining — remaining requests
  • X-RateLimit-Reset — Unix timestamp when the limit resets
Exceeding the rate limit returns HTTP 429. Implement exponential backoff in your integrations.
Next →
Instances API

Was this article helpful?

Need more help? Open a support ticket

On this page

Overview
Base URL
Authenticating requests
Token scopes
Rate limits
Get support