Account API
Read your plan and usage, start a checkout, unlock your vault from an API client, and store Drop owner keys.
These endpoints cover the account behind an API key: plan and usage, billing, and the vault material API clients need for zero-knowledge key recovery.
Authentication
Pass your API key in the Authorization header. /me also accepts a signed-in browser session.
Authorization: Bearer ak_your_api_key_here
/me, /checkout and /vault/unlock need a personal API key; a team API key gets 403.
Get Account
Your plan, per-product limits and current usage.
Response
{
"data": {
"id": "cuid...",
"email": "[email protected]",
"name": null,
"tier": "plus",
"product": "bundle",
"created_at": "2026-01-01T00:00:00.000Z",
"aliases": {
"random": { "used": 12, "limit": 100 },
"custom": { "used": 3, "limit": 10 }
},
"domains": { "used": 1, "limit": 3 },
"recipients": { "used": 2, "limit": 3 },
"drops": { "used": 4 },
"forms": {
"used": 2,
"limit": 10,
"submissions_this_month": { "used": 41, "limit": 1000 }
},
"storage": { "used": "52428800", "limit": "53687091200" },
"limits": {
"max_file_size": 53687091200,
"max_expiry_days": 7,
"api_requests_per_month": { "alias": 25000, "drop": 25000, "form": 500 }
},
"features": {
"custom_key": true,
"download_limits": true,
"no_branding": true,
"download_notifications": true,
"file_preview": true,
"recipient_controls": true,
"access_logs": false
},
"vault_configured": true
},
"meta": { "request_id": "req_..." }
}
tier is your highest tier across products; every limit is resolved per product, exactly as enforcement resolves it. Byte counts that can exceed 2^53 (storage) are strings. features describes Drop features on your plan.
Start a Checkout
Create a Stripe checkout session for a personal plan and get its URL.
| Field | Type | Required | Description |
|---|---|---|---|
product | string | Yes | bundle, alias, drop or form |
tier | string | Yes | plus or pro |
frequency | string | Yes | monthly or yearly |
promo_code | string | No | Promotion code |
{
"data": { "url": "https://checkout.stripe.com/c/..." },
"meta": { "request_id": "req_..." }
}
An account that already has an active personal subscription gets 409.
Unlock the Vault
Prove the vault password and get the password-wrapped vault key, so an API client can wrap Drop owner keys locally. The password and the unwrapped vault key never leave the client.
| Field | Type | Required | Description |
|---|---|---|---|
auth_secret | string | Yes | Derived locally from the vault password (see Vault Unlock for API Clients) |
{
"data": {
"vault_id": "cuid...",
"vault_generation": 1,
"vault_salt": "base64url_salt",
"password_wrapped_vault_key": "base64url_aes_kw_wrapped_key",
"kdf_version": 1
},
"meta": { "request_id": "req_..." }
}
Drop Owner Keys
Vault-wrapped Drop keys, so a drop created from the API can be opened from the dashboard later. The server stores only the wrapped key.
Lists every stored key, or with ?drop_id= returns one: { drop_id, wrapped_key, vault_generation }, plus organization_id and org_key_generation for a team drop's key.
| Field | Type | Required | Description |
|---|---|---|---|
drop_id | string | Yes | The drop the key opens |
wrapped_key | string | Yes | The drop key, AES-KW wrapped to your vault key |
vault_id | string | Yes | The vault the key is wrapped to |
vault_generation | integer | Yes | That vault's current generation |
Answers 201 with { drop_id, vault_generation }. A key wrapped to a stale vault generation gets 409.
API Keys
GET /api/v1/api-key, POST /api/v1/api-key ({ label?, expires_in_days? }, answers 201 with the raw key, shown once) and DELETE /api/v1/api-key/:id manage API keys. They accept only a signed-in browser session with two-factor verification: an API key can't create or delete API keys. Manage keys from Dashboard → API Keys.