Authorization header. In this guide you verify your key works, create a second key for another system, and revoke it again — the full key lifecycle in five calls.
Before you begin
- Your first API key. Create it in the Circularo web app under My Account → Manage API keys. The API can manage additional keys, but the first one always comes from the web app.
Step 1: Make your first authenticated call
GET /me returns the account your key belongs to — the quickest way to check that your key and connectivity work:
Request
Response
401 instead. Everything the key does — documents it sees, actions it may take — happens as this account, with this account’s permissions.
Step 2: Create a second API key
Use one key per system that talks to Circularo, so each can be revoked independently. Create a new key with a description that tells you later what it is for:Request
Response
apiKey secret now — it is returned only in this one response and cannot be retrieved again. The id is the key’s non-secret handle for management calls.
Step 3: List your keys
The list shows every active key by itsid and description — never its secret, so a lost key cannot be recovered here, only replaced:
Request
Response
lastUsedAt tells you when a key last authenticated a request — useful for spotting keys that are no longer used and can be revoked.
Step 4: Revoke a key
Deleting a key revokes it immediately:Request
Response
Step 5: Verify the revoked key is rejected
Any request with the revoked key now fails with401:
Request
Response
type, a human-readable message, and a requestId you can quote when contacting support. Handle errors covers working with errors in detail.
Complete example
Rotating the key of one system — issue the replacement, prove it works, retire the old one — as a Node.js script. Error handling is minimal for brevity — in production, inspect the error envelope of non-2xx responses.Next steps
- Send your first document for signature — Quickstart: send your first document for signature.
- Handle errors, retries, and pagination — Robust integrations.