Authentication With Wasabi Account Control API

Prev Next

The Wasabi Account Control API uses an Authorization HTTP header carrying your API key. There is no scheme prefix (no Bearer, no Basic) — the header value is the raw key. All requests must use HTTPS.

Base URL

All Wasabi Account Control API requests go to:

https://partner.wasabisys.com

All requests must use HTTPS. Unsecured HTTP requests are rejected.

API Key

You generate and manage Wasabi Account Control API keys from the Wasabi Management Console. See Generating a Wasabi Account Control API Key for the UI walkthrough.

Two keys can be active at a time, which lets you rotate keys with no downtime — see Rotating Your Key below.

Treat the API key like a password. It is for trusted server-to-server use only and must never be embedded in browser-side code or shared with anyone who should not have account-management access.

Authenticating With Your Key

Send your API key in the Authorization header on every request — the value is the key itself, with no Bearer or Basic prefix.

curl -H "Authorization: $WACA_API_KEY" \
  https://partner.wasabisys.com/v1/accounts

Verifying Your Key

To confirm your credentials work, list your Sub-Accounts. A 200 response — even with an empty list — means your key is valid.

curl -H "Authorization: $WACA_API_KEY" \
  https://partner.wasabisys.com/v1/accounts

If you get a 401, the key is wrong, expired, or has been deleted. Confirm you copied the full key with no surrounding whitespace and that it has not been rotated out.

Common Errors

Status

Meaning

What to check

400

Bad Request

Request body or query parameters are malformed. Verify field names, types, and required fields against the Wasabi Account Control API Interactive Code.

401

Unauthorized

API key is wrong, expired, or was rotated out. Confirm the key was copied without whitespace and that it is still active in the Wasabi Console.

403

Forbidden

Credentials are valid, but the account is not authorized for this action. Confirm Wasabi Account Control API access is enabled on your Control Account.

429

Too Many Requests

Rate limit exceeded. WAC API limits are 1000 GET, 100 PUT, 100 POST, and 10 DELETE requests per minute. See Billing and Utilization for details.

500

Internal Server Error

An error on Wasabi's side. Retry after a short delay; if the error persists, contact Wasabi Customer Support.

Rotating Your Key

You can have up to two API keys active at the same time. Rotate keys without downtime by:

  1. Generating a second key in the Wasabi Console.

  2. Deploying the new key to your integrations.

  3. Confirming traffic is healthy on the new key.

  4. Deleting the old key from the Console.

If a key is compromised, delete it immediately from the Wasabi Console and generate a replacement. Any service using the deleted key will start receiving 401 Unauthorized responses until you update it with the new key.

See Generating a Wasabi Account Control API Key for the UI steps.

Per-Endpoint Reference and Examples

For request and response examples on each endpoint (Sub-Accounts, utilizations, invoices, etc.), see the Wasabi Account Control API Interactive Code.