Revdoku Accounts API
Connection status, granted accounts and limits.
Connection status, granted accounts and limits.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/revdoku-com:revdoku-com-accounts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Revdoku Accounts API
version: 2.0.0
description: 'A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.'
servers:
- url: https://api.revdoku.com
description: Revdoku application API
security:
- bearerAuth: []
tags:
- name: Accounts
description: Connection status, granted accounts and limits.
paths:
/v1/status:
get:
operationId: getStatus
tags:
- Accounts
summary: Read the connection and selected account
description: Works with every API key, including bucket-scoped keys. Read quotas with GET /v1/account/limits.
parameters:
- $ref: '#/components/parameters/AccountId'
- $ref: '#/components/parameters/Reason'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
const: true
data:
$ref: '#/components/schemas/Status'
example:
success: true
data:
connected: true
default_account_id: acct_example
accounts:
- id: acct_example
name: Acme
account_kind: standard
client_name: null
agency_account: null
server_version: 1.0.575
client_version: 1.0.575
features:
email_domains: true
account:
id: acct_example
name: Acme
status: active
account_kind: standard
client_name: null
agency_account: null
can_create_client_account: false
can_manage_billing: true
billing_message: null
previous_status: null
status_reason: null
status_updated_at: null
user:
id: user_example
email: ada@example.com
name: Ada Lovelace
dashboard_url: https://app.revdoku.com/buckets?account_id=acct_example
connection:
api_key_id: atok_example
label: Orders backend
token_type: api
scope: bucket_admin
expires_at: '2027-10-11T12:00:00Z'
last_used_at: '2026-10-11T12:20:00Z'
bucket_access: all
bucket_ids: []
denied_bucket_ids: []
bucket_permissions: {}
permissions:
read: true
write: true
admin: true
agent: null
transport: api_key
renewal:
recommended: false
default:
$ref: '#/components/responses/Error'
/v1/accounts:
get:
operationId: listAccounts
tags:
- Accounts
summary: List accounts granted to this credential
description: Works with every API key. Lists the account of this credential and the client accounts that an agency owner granted to it. Send an id from this list as account_id to act in that account.
parameters:
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
const: true
data:
$ref: '#/components/schemas/AccountList'
example:
success: true
data:
default_account_id: acct_example
accounts:
- id: acct_example
name: Acme
account_kind: standard
client_name: null
agency_account: null
region: eu
status: active
permissions:
scope: bucket_admin
bucket_access: all
can_create_buckets: true
pagination:
limit: 50
has_more: false
next_cursor: null
default:
$ref: '#/components/responses/Error'
post:
operationId: createClientAccount
tags:
- Accounts
summary: Create a client account
description: Requires an agency owner credential with client-account access. The credential default does not change; send the new account_id on later requests.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
client_name:
type: string
maxLength: 100
description: Optional client person or business name.
account_id:
type: string
description: Granted agency account that owns the new client account.
reason:
$ref: '#/components/schemas/ActionReason'
required:
- name
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
const: true
data:
type: object
required:
- account
properties:
account:
$ref: '#/components/schemas/AccountIdentity'
default:
$ref: '#/components/responses/Error'
/v1/accounts/{account_id}:
get:
operationId: getAccount
tags:
- Accounts
summary: Read one granted account
description: Works with every API key. Returns the name, kind, region and status of one account that this credential can use, and the permissions of the credential in it. Other account IDs return 403.
parameters:
- $ref: '#/components/parameters/AccountPathId'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
const: true
data:
type: object
required:
- account
properties:
account:
$ref: '#/components/schemas/AccountIdentity'
example:
success: true
data:
account:
id: acct_example
name: Acme
account_kind: standard
client_name: null
agency_account: null
region: eu
status: active
permissions:
scope: bucket_admin
bucket_access: all
can_create_buckets: true
default:
$ref: '#/components/responses/Error'
/v1/account/limits:
get:
operationId: getAccountLimits
tags:
- Accounts
summary: Read effective account limits
description: Values come from the plan and account overrides. Zero means no allowance; null means no cap. Storage, bucket and email traffic allowances are shared within a billing group. credits is the balance now, with the plan's monthly pool and its next refill.
parameters:
- $ref: '#/components/parameters/AccountId'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
const: true
data:
type: object
required:
- account_id
- limits
- credits
properties:
account_id:
type: string
limits:
$ref: '#/components/schemas/AccountLimits'
usage:
type: object
properties:
bucket_creations:
type: object
properties:
monthly_limit:
type:
- integer
- 'null'
used:
type: integer
remaining:
type:
- integer
- 'null'
resets_at:
type: string
format: date-time
credits:
type: object
description: 'The credits of the account now: the balance, the monthly pool of the plan and when it refills.'
required:
- left
- monthly
properties:
left:
type: integer
description: The balance now, over both pools.
monthly:
type: integer
description: The credits that the plan gives each month.
next_refill_at:
type:
- string
- 'null'
format: date-time
description: When the monthly pool refills next. Null without a refill.
example:
success: true
data:
account_id: acct_example
limits:
max_buckets: 3
max_bucket_creations_per_month: 12
max_files_per_bucket: 25000
max_current_files: 40000
max_storage_bytes: 2147483648
max_file_size_bytes: 52428800
max_pdf_size_bytes: 52428800
max_file_versions_per_file: 15
max_email_aliases_per_bucket: 4
max_email_domains: 3
max_received_emails_per_month: 1500
max_received_email_bytes_per_month: 268435456
max_received_email_message_bytes: 20971520
max_sent_emails_per_month: 750
max_email_address_rotations_per_month: 6
max_account_members: 3
max_api_keys: 4
max_agent_connections: 7
api_rate_limit_requests_per_minute: 240
audit_retention_days: 45
usage:
bucket_creations:
monthly_limit: 12
used: 2
remaining: 10
resets_at: '2026-11-01T00:00:00Z'
credits:
left: 8840
monthly: 10000
next_refill_at: '2026-12-01T00:00:00Z'
default:
$ref: '#/components/responses/Error'
components:
parameters:
Cursor:
name: cursor
in: query
required: false
schema:
type: string
description: pagination.next_cursor from the previous page.
Limit:
name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 200
default: 50
AccountPathId:
name: account_id
in: path
required: true
schema:
type: string
pattern: ^acct_
description: Granted account to read.
AccountId:
name: account_id
in: query
required: false
schema:
type: string
description: Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
Reason:
name: reason
in: query
required: false
schema:
$ref: '#/components/schemas/ActionReason'
schemas:
ApiError:
type: object
properties:
success:
const: false
error:
type: object
properties:
code:
type: string
minLength: 1
description: Stable error identifier. See ErrorCode for the documented values. Invalid input always returns INVALID_ARGUMENT with HTTP 422.
message:
type: string
minLength: 1
details:
oneOf:
- type: object
additionalProperties: true
- type: array
items:
type: object
properties:
field:
type: string
message:
type: string
required:
- field
- message
request_id:
type: string
docs_url:
type: string
format: uri
timestamp:
type: string
format: date-time
recoverable:
type: boolean
next_action:
type: string
browser_url:
type: string
required:
- code
- message
required:
- success
- error
not:
anyOf:
- required:
- data
- required:
- error_message
ActionReason:
type:
- string
- 'null'
maxLength: 2000
description: Optional purpose for this action. AI agents should explain intentional reads and changes when known; omit when unknown. Do not include secrets, file contents, or transcripts.
AccountLimits:
type: object
additionalProperties: false
required:
- max_buckets
- max_bucket_creations_per_month
- max_files_per_bucket
- max_current_files
- max_storage_bytes
- max_file_size_bytes
- max_pdf_size_bytes
- max_file_versions_per_file
- max_email_domains
- max_received_emails_per_month
- max_received_email_bytes_per_month
- max_received_email_message_bytes
- max_sent_emails_per_month
- max_email_address_rotations_per_month
- max_account_members
- max_api_keys
- max_agent_connections
- api_rate_limit_requests_per_minute
- audit_retention_days
- max_email_aliases_per_bucket
properties:
max_buckets:
type:
- integer
- 'null'
minimum: 0
max_bucket_creations_per_month:
type:
- integer
- 'null'
minimum: 0
max_files_per_bucket:
type:
- integer
- 'null'
minimum: 0
max_current_files:
type:
- integer
- 'null'
minimum: 0
max_storage_bytes:
type:
- integer
- 'null'
minimum: 0
format: int64
max_file_size_bytes:
type:
- integer
- 'null'
minimum: 0
format: int64
max_pdf_size_bytes:
type:
- integer
- 'null'
minimum: 0
format: int64
max_file_versions_per_file:
type:
- integer
- 'null'
minimum: 0
max_email_domains:
type:
- integer
- 'null'
minimum: 0
max_received_emails_per_month:
type:
- integer
- 'null'
minimum: 0
max_received_email_bytes_per_month:
type:
- integer
- 'null'
minimum: 0
format: int64
max_received_email_message_bytes:
type:
- integer
- 'null'
minimum: 0
format: int64
max_sent_emails_per_month:
type:
- integer
- 'null'
minimum: 0
description: Sent-email recipients per billing period, shared by the billing group. Each recipient counts once.
max_email_address_rotations_per_month:
type:
- integer
- 'null'
minimum: 0
max_account_members:
type:
- integer
- 'null'
minimum: 0
max_api_keys:
type:
- integer
- 'null'
minimum: 0
max_agent_connections:
type:
- integer
- 'null'
minimum: 0
api_rate_limit_requests_per_minute:
type:
- integer
- 'null'
minimum: 0
audit_retention_days:
type:
- integer
- 'null'
minimum: 0
max_email_aliases_per_bucket:
type: integer
minimum: 0
description: Active retained email addresses (aliases) per bucket. Zero means that the plan has no aliases.
AccountIdentity:
type: object
required:
- id
- name
- account_kind
- client_name
- agency_account
properties:
id:
type: string
name:
type: string
description: Account name, separate from the client person or business.
account_kind:
type: string
enum:
- standard
- agency
- client
client_name:
type:
- string
- 'null'
maxLength: 100
description: Client person or business name, or null when unset.
agency_account:
type:
- object
- 'null'
description: Parent agency only when granted to this credential. Null does not make a client independent.
properties:
id:
type: string
name:
type: string
region:
type:
- string
- 'null'
status:
type: string
enum:
- active
- read_only
permissions:
type: object
properties:
scope:
type: string
enum:
- bucket_read
- bucket_write
- bucket_admin
bucket_access:
type: string
enum:
- all
- selected
can_create_buckets:
type: boolean
Status:
type: object
properties:
connected:
type: boolean
account:
type: object
additionalProperties: true
description: Selected account identity and state.
default_account_id:
type:
- string
- 'null'
accounts:
type: array
items:
type: object
additionalProperties: true
server_version:
type: string
client_version:
type: string
description: Current CLI and skill release.
features:
type: object
properties:
email_domains:
type: boolean
connection:
$ref: '#/components/schemas/Connection'
user:
type: object
description: The signed-in person behind this credential.
properties:
id:
type: string
email:
type: string
name:
type: string
dashboard_url:
type: string
format: uri
description: Dashboard link for the selected account. It grants no access.
required:
- connected
- account
- connection
AccountList:
type: object
required:
- accounts
- default_account_id
- pagination
properties:
accounts:
type: array
items:
$ref: '#/components/schemas/AccountIdentity'
default_account_id:
type:
- string
- 'null'
description: Account used when a request does not send account_id.
pagination:
$ref: '#/components/schemas/Pagination'
Pagination:
type: object
description: 'One page of a list. Request the next page with cursor=next_cursor and the same filters. Cursors are opaque strings: do not build or decode them.'
required:
- limit
- has_more
- next_cursor
properties:
limit:
type: integer
minimum: 1
maximum: 200
has_more:
type: boolean
description: True when another page exists.
next_cursor:
type:
- string
- 'null'
description: Cursor for the next page; null on the last page. Email lists always return a cursor so that you can poll for new mail.
Connection:
type: object
properties:
api_key_id:
type:
- string
- 'null'
label:
type:
- string
- 'null'
token_type:
type:
- string
- 'null'
enum:
- api
- null
scope:
type:
- string
- 'null'
enum:
- bucket_read
- bucket_write
- bucket_admin
- null
expires_at:
type:
- string
- 'null'
format: date-time
last_used_at:
type:
- string
- 'null'
format: date-time
bucket_access:
type:
- string
- 'null'
enum:
- all
- selected
- null
bucket_ids:
type: array
items:
type: string
denied_bucket_ids:
type: array
items:
type: string
bucket_permissions:
type: object
additionalProperties:
type: string
permissions:
type: object
properties:
read:
type: boolean
write:
type: boolean
admin:
type: boolean
agent:
type:
- object
- 'null'
additionalProperties: true
transport:
type:
- string
- 'null'
renewal:
type: object
properties:
recommended:
type: boolean
next_action:
type: string
browser_url:
type: string
format: uri
responses:
Error:
description: 'Request failed. See error.code. Any 429 or 503 response with Retry-After (for example 503 EMAIL_LABELING_PENDING or 503 EMAIL_INDEX_BUILDING): wait that many seconds, then try the request again. 429 EMAIL_SEND_RATE_LIMITED has no Retry-After. Never retry EMAIL_LOOP_DETECTED.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Authorization: Bearer YOUR_API_KEY. Create a key in the dashboard under Account → Access.'