Prerequisites
Before you begin, ensure you have:- A valid email address to register for a Circle Mint sandbox account
- curl or another tool for making HTTP requests
Step 1: Create a sandbox account
The sandbox environment lets you test API integrations without processing real transactions. For more details on sandbox versus production environments, see Sandbox to Production.1
Sign up for a sandbox account
Go to app-sandbox.circle.com/signup
and complete the registration form.
2
Verify your email address
Check your inbox and confirm your email to activate your account.
3
Log in to the sandbox
After activation, log in at
https://app-sandbox.circle.com.Step 2: Generate an API key
Circle Mint uses API keys to authenticate all requests. Create and manage keys in the Mint Console.1
Open the Mint Console
2
Select the API Keys tab
3
Click Create an API key
4
Enter a name for your key
5
(Optional) Add IP addresses to the allowlist
Restrict where the key can be used from.
6
Click Create API key
7
Copy the key and store it securely
You can add mutual TLS (mTLS) on top of API key authentication for an extra
layer of transport-level security. Opting in is optional for most customers
and required for entities operating under the EU Markets in Crypto-Assets
(MiCA) regulation. mTLS changes how you generate and rotate API keys. See How
mTLS authentication works.
Step 3: Test connectivity
Test raw connectivity by calling the/ping endpoint. This endpoint does not
require authentication, so it confirms that your application can reach the API.
Step 4: Verify your API key
Circle Mint uses Bearer token authentication. Include your API key in theAuthorization header of every request using the format Bearer YOUR_API_KEY.
Call the /v1/configuration endpoint to confirm that your API key is valid and
properly configured:
masterWalletId. The masterWalletId is the identifier for the primary wallet
associated with your Circle Mint account, used as the source or destination in
transfer and payout operations.
401 Unauthorized error:
Authorization header uses the Bearer
prefix and that you copied the full API key from the Mint Console.
Use the TypeScript SDK (optional)
Circle publishes a TypeScript SDK that wraps the Circle Mint API. Install it from the npm registry:circle-nodejs-sdk repository
for usage examples, type definitions, and instructions for filing issues or
contributing.