Skip to main content

API Keys

All API requests are authenticated with Bearer tokens. API keys are prefixed with rcmcp_ and are tied to your RepoCloud account.

Prerequisites

Before you can create an API key, you must:
  1. Have a confirmed RepoCloud account — verify your email address
  2. Make a minimum $1 deposit — this unlocks API access (go to Billing)

Creating a Key

Store your API key securely. The full key is only shown at creation time. If you lose it, revoke the key and create a new one.

Using Your Key

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

Authentication Errors

Rate Limits

The API enforces two rate limit tiers per API key: When you exceed a rate limit, the API returns:
The Retry-After header and retry_after field indicate how many seconds to wait before retrying.

Rate Limit Strategy

  • Rate limits are tracked per API key, not per account
  • Creating multiple keys does not increase your total rate limits — each key has its own independent counters
  • The deploy limit (5 per hour) applies only to POST /api/v1/instances — listing, getting details, actions, and deletions count against the general limit only

Deposit Gate

API key creation requires a minimum $1 deposit. This is a one-time requirement — once you have deposited $1 or more at any point, API access remains unlocked even if your balance later drops below $1. Deploying instances through the API additionally requires a balance greater than $3 at the time of the deploy request. This is the same requirement as deploying through the web dashboard.

Key Revocation

Revoke a key from the dashboard or via the API. Revoked keys are immediately deactivated and cannot be reused.
See API Key Management for the full key management reference.