Brightboard AI Ltd Account API
Agent bootstrap and human ownership claim status; signup requires the staged rollout to be enabled.
Agent bootstrap and human ownership claim status; signup requires the staged rollout to be enabled.
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/sentfrom-ai:sentfrom-ai-account-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: SentFromAI Account API
version: 0.1.0
description: Comms infrastructure for AI agents. Email send/receive, threading, attachments, drafts, webhooks, realtime, and search.
servers:
- url: https://api.sentfrom.ai/v1
security:
- bearerAuth: []
tags:
- name: Account
description: Agent bootstrap and human ownership claim status; signup requires the staged rollout to be enabled.
paths:
/agent-signups:
post:
tags:
- Account
operationId: createAgentSignup
summary: Create an agent account and inbox
description: Staged rollout, disabled by default. Bootstrap through REST before connecting authenticated MCP. Persist a cryptographically random Idempotency-Key and exact request body before the first request. New accounts receive and read within limits, with sending and other changes disabled until a verified human explicitly claims the account. Save credentials privately. Retries with the same key and normalized body replay the original response for 60 minutes by default without rotating the API key. After expiry use the original key; do not create a replacement identity. Claiming preserves the tenant, inbox and API key.
security: []
parameters:
- name: Idempotency-Key
in: header
required: true
description: Credential-like high-entropy secret. Generate at least 32 random bytes encoded as URL-safe text, save privately before sending, and reuse with the exact saved body for retries. Never log this header.
schema:
type: string
minLength: 32
maxLength: 128
pattern: ^[A-Za-z0-9_-]{32,128}$
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSignupRequest'
example:
name: My agent
responses:
'200':
description: Original signup response replayed; the inbox and API key are unchanged.
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSignupResponse'
'201':
description: Created; securely save the API key and claim link.
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSignupResponse'
'400':
description: 'invalid_request, invalid_address or invalid_idempotency_key: correct the request format.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'409':
description: 'idempotency_conflict: this secret was used with different signup details; reuse the original body. address_taken or address_reserved: requested local part unavailable.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'410':
description: 'signup_replay_expired: the original signup succeeded, but its encrypted response expired. Use the saved API key or claimed console account. This secret never creates a second tenant.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'413':
description: Signup request body exceeds 4096 bytes.
'429':
description: Rate limited. Respect Retry-After before retrying; never create another signup identity to avoid a limit.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
'503':
description: 'signup_disabled or signup_unavailable: rollout disabled or server prerequisites unavailable. Use an existing account or console signup.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
/account:
get:
tags:
- Account
operationId: getAccountStatus
summary: Get account state, capabilities and limits
description: Use the original API key to resume setup. Includes existing inboxes. Account status remains available after unclaimed expiry; ordinary inbox/message reads do not. Claimed send capability does not bypass plan, warming, suppression or abuse checks.
responses:
'200':
description: Current account state.
content:
application/json:
schema:
$ref: '#/components/schemas/AccountStatus'
'401':
description: Missing, invalid or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'403':
description: Account is suspended.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'404':
description: account_not_found.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
/account/claim-link:
post:
tags:
- Account
operationId: refreshAccountClaimLink
summary: Refresh the private claim link
description: Requires the existing API key and a still-active unclaimed account. Does not rotate the API key or extend account lifetime. Claim tokens are separate from API keys. Keep the response private and give the URL only to the actual operator in an existing trusted chat.
responses:
'200':
description: New private claim link.
content:
application/json:
schema:
$ref: '#/components/schemas/ClaimLink'
'401':
description: Missing, invalid or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'403':
description: 'account_suspended or unclaimed_account_expired: account cannot perform this action.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'404':
description: account_not_found.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'409':
description: 'already_claimed: this account already has an owner.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'410':
description: 'account_expired: the unclaimed account expired.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
'429':
description: Rate limited. Respect Retry-After before retrying; never create another signup identity to avoid a limit.
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
'503':
description: 'signup_unavailable: claim-link cryptography is not configured.'
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingError'
components:
schemas:
AccountStatus:
type: object
properties:
tenant_id:
type: string
name:
type: string
onboarding_state:
type: string
enum:
- unclaimed
- claimed
claimed_at:
type:
- string
- 'null'
format: date-time
sending_enabled_at:
type:
- string
- 'null'
format: date-time
description: Claim-time start of sending warmup for agent-created accounts.
unclaimed_expires_at:
type:
- string
- 'null'
format: date-time
expired:
type: boolean
capabilities:
$ref: '#/components/schemas/AccountCapabilities'
limits:
$ref: '#/components/schemas/AccountLimits'
usage:
type: object
properties:
received_messages:
type: integer
minimum: 0
received_bytes:
type: integer
minimum: 0
required:
- received_messages
- received_bytes
description: Counters consumed by the unclaimed onboarding receive quota. These are not lifetime or billing usage after claim.
inboxes:
type: array
items:
$ref: '#/components/schemas/AccountInbox'
sending_status:
type: string
enum:
- enabled
- paused
- unclaimed
- expired
- suspended
description: Current sending readiness. Check this together with capabilities.send; enabled remains subject to plan, warming, suppression and abuse checks.
sending_paused_at:
type:
- string
- 'null'
format: date-time
description: When sending was paused, or null if no current pause is recorded.
required:
- tenant_id
- name
- onboarding_state
- claimed_at
- sending_enabled_at
- unclaimed_expires_at
- expired
- capabilities
- limits
- usage
- inboxes
- sending_status
- sending_paused_at
AgentSignupRequest:
type: object
additionalProperties: false
properties:
name:
type: string
minLength: 1
maxLength: 100
description: Workspace display name. Trimmed; control characters are rejected. Defaults to Agent workspace.
local_part:
type: string
minLength: 1
maxLength: 64
description: Optional inbox local part. Trimmed and lowercased; letters, digits, dots, underscores and hyphens, with a letter or digit at each end and no consecutive dots. Reserved or occupied names are rejected. Omit to allocate a name.
OnboardingError:
type: object
properties:
error:
type: string
description: Machine-readable error code.
message:
type: string
description: Explanation and recovery guidance.
required:
- error
ClaimLink:
type: object
properties:
claim_url:
type: string
format: uri
description: 'Private console claim URL, with a separate bearer secret in the #token fragment. Share only with the operator in an existing trusted channel; never log or email it.'
claim_expires_at:
type: string
format: date-time
description: Link expiry, default 30 minutes, bounded by account expiry. A new link does not extend account lifetime.
required:
- claim_url
- claim_expires_at
AccountLimits:
type: object
properties:
inboxes:
type: integer
minimum: 1
description: Inbox cap. One while unclaimed; plan-specific after claim.
received_messages:
type:
- integer
- 'null'
minimum: 0
description: Cumulative unclaimed inbound message cap, default 50. Null means no onboarding-specific cap; plan limits still apply.
received_bytes:
type:
- integer
- 'null'
minimum: 0
description: Cumulative unclaimed inbound byte cap, default 10485760 (10 MiB). Null after claim; plan limits still apply.
required:
- inboxes
- received_messages
- received_bytes
AccountInbox:
type: object
properties:
id:
type: string
address:
type: string
format: email
required:
- id
- address
AgentSignupResponse:
type: object
properties:
tenant_id:
type: string
inbox:
$ref: '#/components/schemas/AccountInbox'
api_key:
type: string
format: password
description: Save privately before proceeding. Bearer credential for this tenant; unchanged across signup replays and claiming.
onboarding_state:
type: string
const: unclaimed
capabilities:
$ref: '#/components/schemas/AccountCapabilities'
limits:
$ref: '#/components/schemas/AccountLimits'
unclaimed_expires_at:
type: string
format: date-time
description: Account expiry unless claimed, seven days by default.
claim_url:
type: string
format: uri
description: 'Private console claim URL, with a separate bearer secret in the #token fragment. Share only with the operator in an existing trusted channel; never log or email it.'
claim_expires_at:
type: string
format: date-time
description: Link expiry, default 30 minutes, bounded by account expiry. A new link does not extend account lifetime.
instructions:
type: array
items:
type: string
required:
- tenant_id
- inbox
- api_key
- onboarding_state
- capabilities
- limits
- unclaimed_expires_at
- claim_url
- claim_expires_at
- instructions
AccountCapabilities:
type: object
properties:
receive:
type: boolean
description: Account may receive, subject to quotas and message limits.
read:
type: boolean
description: Account may read its existing inbox and mail.
send:
type: boolean
description: Account ownership and sending status permit sending. False while paused. Plan, warming, suppression and abuse checks still apply.
manage:
type: boolean
description: Ownership permits resource mutations; plan limits still apply. Unclaimed accounts may only refresh claim links.
required:
- receive
- read
- send
- manage
securitySchemes:
bearerAuth:
type: http
scheme: bearer