We refreshed our doc site!
Bookmarked links may have changed
Read release notesAPI keys are unique data strings used to authenticate a user and enable access to privileged operations on Circle APIs. All Circle APIs use API keys as the mechanism to authenticate client requests. Your API key should be kept confidential and secure at all times.
Bearer YOUR_API_KEY
.Authorization: Bearer YOUR_API_KEY
API requests without authentication will fail. It is also important to note that all API requests must be made over HTTPS.
To verify that your API key is correctly set up, you can use the get configuration info API endpoint, as below.
# Replace ${YOUR_API_KEY} with your API key
curl -H 'Accept: application/json' \
-H "Authorization: Bearer ${YOUR_API_KEY}" \
-X GET --url https://api-sandbox.circle.com/v1/configuration
Successful Response
{"data":{"payments":{"masterWalletId":"1234567890"}}}
Error Response
{"code":401,"message":"Malformed authorization. Are the credentials properly encoded?"}
WHAT'S NEXT