Symbol Docs

Preview API

Symbol's current API version, what it covers, and how it will change.

Symbol's HTTP API is currently in preview. The preview namespace is the current version of the API, not a beta branch that runs alongside a stable release. There is no v1 yet. When Symbol promotes the surface to v1, the preview routes will continue to exist for a deprecation window so that integrations can migrate at their own pace.

Here are the API docs: https://symbol.chat/docs/api

What "preview" means

  • Preview is the current version. Every public, in-scope resource endpoint is served under /api/preview/*.
  • Preview is free. Users on the preview tier self-select as early adopters who accept aggressive iteration in exchange for shaping the contract.
  • Schemas, error shapes, and field semantics may change during the preview window, but never silently. Breaking changes are announced through the API stability policy (see Stability & promotion below) before they ship.
  • The URL prefix is the loudest possible signal that the contract is still moving. Once a route is promoted to /api/v1/*, breaking changes there require a 12-month deprecation window.
  • No SLA yet. Symbol does not yet publish uptime or latency commitments for preview.

Versioning model

/api/preview/*   ← current version (this is where you integrate)
/api/v1/*        ← future stable contract
/api/v2/*        ← later stable contract

Versions coexist under different namespaces. We never replace a route in place. When v1 lands, a /api/preview/capsules/:id route is copied to /api/v1/capsules/:id and the two are allowed to diverge. Preview may keep receiving fixes during the deprecation window.

The architecture is intentionally low-magic:

  • URL == file location. The route file's path on disk matches the URL served: no next.config.ts rewrite layer, no version-aware middleware.
  • Thin handlers, shared services. Route handlers stay tiny and delegate to a shared service layer. Two version routes can share one service function.
  • Promotion is a copy. Promoting preview → v1 is a physical file copy plus a registered code change in the OpenAPI spec, not a rename.

What's in the preview namespace

The preview namespace covers Symbol's resource endpoints, the routes that represent the Symbol data model and account operations. They fall into two groups.

Published areas. These are in the OpenAPI document and are the public contract:

  • /api/preview/capsules/*, /api/preview/types/*, /api/preview/projects/*, /api/preview/collections/*
  • /api/preview/attachments/*, /api/preview/mentions/*, /api/preview/tags/*
  • /api/preview/search/*, /api/preview/workspaces/*
  • /api/preview/sync/* (the change feed and snapshot a local store refreshes from)
  • /api/preview/share/*: share links, and visibility through GET and PUT /api/preview/share/visibility, GET and PUT /api/preview/capsules/{id}/permissions, and GET and PUT /api/preview/types/{id}/permissions
  • /api/preview/grants/* and /api/preview/shared-with-me (sharing with people)
  • /api/preview/public/discover and /api/preview/public/follow (Discover and following), and /api/preview/user/profile, /user/timezone, /user/following and /user/likes (your profile, follows and likes)
  • /api/preview/export, /api/preview/import/* and /api/preview/snapshots/{id}/restore

The OpenAPI document is the authoritative inventory of the public preview surface. Endpoints not listed there are not part of the public contract and may move, change, or disappear without notice, including any URLs discoverable by inspecting the application but not advertised in the spec.

App-internal routes. These exist under the namespace and are used by Symbol's own web and mobile apps, but they are outside the contract and may change without notice:

  • /api/preview/organizations/* and /api/preview/invitations/*
  • /api/preview/protected-changes/* and /api/preview/types/{id}/protection (see Protected Types)
  • the visitor actions on a share page: /api/preview/share/actions/save, /like, /copy, /visit and /report, which take the share token in the request body, and the app's /api/preview/share/{tokenId}/save
  • /api/preview/shares/{id}/related
  • /api/preview/billing/*
  • /api/preview/library/*, /api/preview/gdpr/* and /api/preview/support/*
  • the rest of /api/preview/public/* (liking, saving and reporting from a public page) and of /api/preview/user/* (API keys, sign-in security, sessions and encryption keys), and /api/preview/users/{id}/public-key (see Encryption key pairs)

Visibility

Visibility has five levels. The API reads and writes each by its stored value:

LevelStored value
Privateself
Anyone with linklink
Publicpublic
Organization (View only)org_view
Organization (Edit)org_edit

Two routes write it:

  • PUT /api/preview/share/visibility sets Private, Anyone with link or Public. It accepts self, link and public. The older words private and unlisted are still accepted as deprecated aliases of self and link, until a breaking entry in the API changelog announces their removal at least 14 days ahead. Responses always use the stored values.
  • PUT /api/preview/capsules/{id}/permissions and PUT /api/preview/types/{id}/permissions set the organization levels. They accept self, org_view and org_edit, and an organization level needs organizationId, which must be the resource's own organization.

From the effective date of the breaking change in the API changelog, all three writes refuse a body key their schema does not declare with a 400. Until then such a key is ignored.

The share and permissions routes take camelCase body fields (resourceType, resourceId, organizationId), while most other routes take snake_case. The organization role shown as Admin in the app is editor in the API.

Owned logs

A capsule whose Type is bound to a log Type owns a log capsule. The two keep their own visibility, so each reply names the other only to a caller who may read it:

  • On a log, log.owner_ref is the owning capsule's ref and owner_capsule_id its id. Both are null for a log with no owner, or when the caller may not read the owner. Create and update responses always carry owner_capsule_id: null; the archive and restore replies carry the vetted id, as a read does.
  • On an owner, log.owned_log_ref, owned_log and the embedded log_entries are present only when the caller may read the log. Otherwise the owner reads like one whose log has not started: owned_log: null, log_entries: [], log_entries_total: 0, and GET /api/preview/capsules/{id}/entries and its export return no entries.
  • Deleting an owner never names or deletes a log the caller may not read: it is detached and kept, with no owned_log_present 409 and no ownedLog. Recently deleted and recover leave such a log out as well.

Workspace scoping (?ws=)

List/read endpoints accept an optional ws query parameter that selects which workspace to read from:

  • omitted: the caller's personal workspace, for session and personal API-key auth (the default). For an organization API key, an omitted ws resolves to the key's bound organization workspace instead. An org key never reaches the personal workspace.
  • ws=<organization-id>: a single organization workspace the caller belongs to.
  • ws=all, cross-workspace discovery: the union of every workspace the caller can reach (personal plus each accessible organization), reported in one response.

ws=all is accepted only on the discovery routes:

  • GET /api/preview/types
  • GET /api/preview/capsules
  • GET /api/preview/search
  • GET /api/preview/projects
  • GET /api/preview/sync/snapshot (where all is the default)

On every other route ws=all is rejected with 404 Workspace not found, exactly like an unknown workspace id. The widened mode is contained to the five routes above. For an organization API key, ws=all collapses to the key's bound organization (it never widens beyond it), and a credential bound to a subset of workspaces (per-key workspace binding) only ever discovers inside that binding.

Types changed since a time

GET /api/preview/types lists only the Types that changed in a window you give, so a sweep for changed guidance is one small call per workspace (or one with ws=all) instead of reading every Type's guidance:

  • guidance_updated_* narrows on the last change to a Type's guidance. A Type whose guidance was never set is never in such a window.
  • updated_* narrows on the Type's last change of any kind: a setting, its name, or its guidance.

Each takes one form: _within (a relative window such as 7d or 12h), _period (a named period such as this_week, resolved in tz, else your stored timezone, else UTC), or _after (inclusive) and _before (exclusive) bounds. Two forms for one window, or a value the route cannot read, is a 400. The window only narrows what you could already list. Every row carries guidance_updated_at (null when the Type has no guidance), and detail=summary rows also carry updated_at.

Authentication

Most preview routes accept three kinds of credential. A few account-security routes, such as two-factor setup and account deletion, accept only a signed-in browser session.

  • An API key, personal or organization, sent as Authorization: Bearer <api-key>. Create one in Settings, API Keys.
  • A browser session, the cookie set when a person signs in to Symbol. It works only for requests from a signed-in browser on the same origin.
  • An OAuth access token, which a third-party app gets when a person signs in to it with Symbol and approves it. It is sent as Authorization: Bearer <token>, like an API key, and is limited to the scopes and workspaces the person approved. See Sign in with Symbol.

Credentials limited to workspaces

A personal API key, a mobile key, or an OAuth or MCP connection can be limited to some of your workspaces. The limit holds for every read and write, not only for listings:

  • Reading, editing, deleting, archiving, moving or sharing a capsule, Type, Collection or project outside the limit answers the same 404 a nonexistent id gets. Batch routes give that item the same per-item result a random id gets, and in-limit items in the same request still succeed. Listing or revoking the share links of an out-of-limit resource answers the empty list, or the 404, that a random id gets.
  • Account routes that act on one fixed workspace refuse a credential whose limit leaves that workspace out, with 403 and reason credential_workspace_bound. That covers snapshots (personal only), the account export (GET /api/preview/export?scope=account), and the GDPR data export, which any limited credential is refused because it covers the whole account. The organization export (scope=org) answers an organization outside the limit with the 404 a non-member gets. Sign in, or use an unrestricted key, for these.
  • Administering an organization outside the limit answers as a non-member. Its members, invitations, activity, governance, settings, organization API keys, encryption, marketplace, ownership transfer and deletion under /api/preview/organizations/{id}/ all answer exactly as they would for someone who is not a member of that organization (404 Organization not found, or 403 Not a member of this organization on the encryption routes), whatever role the key's owner holds there. GET /api/preview/organizations and GET /api/preview/user/organization-management list only the organizations inside the limit. Invitations addressed to you stay readable and answerable with any key.
  • Saving a shared capsule copies it into your personal library, so a key whose limit leaves out personal gets unsupported_caller.
  • Opening a share link works the same for any holder of the link, whatever the credential's limit: the link, not the key, authorizes that read.

The database applies the same limit on its own, from the credential that made the request.

Asking for one workspace

An app that signs people in with Symbol can ask, in its authorization request, for access to a single workspace. Add a workspace parameter to the authorization URL:

ValueWhat the consent screen opens with
workspace=personalThe person's personal workspace selected
workspace=chooseNo workspace selected, and Allow stays off until the person picks one. A person with only one workspace finds it already selected

Either value makes the grant exactly one workspace. The person picks it on a single-choice list, and can pick a different one than the app asked for before approving. The grant stays limited to that one workspace, so an organization the person joins later is never reached. Without the parameter, the consent screen works as it always has.

Send workspace once, with one of the two values. Sending it more than once, empty, or with any other value is refused: the consent screen shows Invalid Request instead of the approval form.

To learn which workspace the person granted, call GET /api/preview/workspaces with the access token. It lists only the workspaces the token can reach: the personal entry (its id is null), or one organization entry with that organization's id. MCP clients get the same answer from the list_workspaces tool.

Asking for one Type

An app can ask for access to a single Type instead of a whole workspace. Add a type:<slug> token to the authorization request's scope, beside the actions it needs:

scope=read create update type:voice-guides

The token names the Type's slug, not its display name. The consent screen shows a Limited to one Type block: the Type's name when the person already has a Type with that slug in the selected workspace, or "A new Type, voice-guides, that the app will create" when they do not. The permission lines say what the app may do in that Type only.

  • One workspace. A Type limit always comes with exactly one workspace. With no workspace parameter the consent screen starts on the person's personal workspace, and they can pick another. workspace=choose works as described above: Allow stays off until they pick one.
  • The Type can be created later. The person can approve a Type that does not exist yet. The app then creates it with POST /api/preview/types and "slug": "voice-guides" (any name, the slug must match), in the granted workspace. From then on the grant is tied to that Type.
  • Only the person's own Type is picked up after consent. If a teammate creates a Type with the same slug in a shared workspace after the person approved, the app does not get it: its create answers 409. The person disconnects the app and connects it again, and the consent screen then names the teammate's Type for them to approve. A slug held by a Type the person cannot see answers 409 on the consent screen itself.
  • Renaming keeps access. The limit follows the Type, not its name, so renaming the Type keeps the app working. Deleting it ends the app's access until the person (or the app) creates a Type with that slug again.
  • The token says what it got. The token response's scope carries the limit, for example read create update type:voice-guides, after the code exchange and after every refresh. Check it: a token without the type: token is not limited to a Type. A refresh that names a different Type is refused with invalid_scope.
  • No sharing. A Type-limited app is never granted share: a share in the request is dropped, and the token's scope does not list it. A request that asks for share and nothing else is refused.
  • What the app can do. It can list its workspace and its one Type, read, create and update that Type, and read, list, search, create, update and (with the delete scope) delete capsules in it. References and mentions resolve only inside the Type.
  • What is refused.
    • A capsule or Type outside the limit, by id, answers the same 404 a nonexistent id gets.
    • A request that names another Type (creating a capsule in it, creating a Type with another slug, changing the Type's slug, creating a capsule with no Type) answers 403 with reason credential_type_bound.
    • Every other endpoint (projects, collections, tags, attachments, share links, log entries, imports, batch routes, account routes) answers 403 with reason credential_type_bound.
    • The app cannot delete the Type itself.
  • Guidance from other Types. When the Type's guidance includes a capsule from another Type, the app sees that part as unavailable.
  • Asking twice or wrongly. One type: token per request. Two of them, or one whose slug is not lowercase letters, digits and hyphens, is refused: the consent screen shows Invalid Request, and a type: token with no action beside it is refused the same way. The device sign-in flow and token exchange from a key do not accept a type: token.

The database applies the Type limit on its own too, from the credential that made the request.

Creating keys

A new key lasts longer than the sign-in that made it, so creating one asks the person to confirm it is them. Creating or rotating a personal key (POST /api/preview/user/api-keys, POST /api/preview/user/api-keys/{id}/rotate), creating an organization key (POST /api/preview/organizations/{id}/keys) and approving a key request (POST /api/preview/user/api-key-requests/{code}/approve) work only from a signed-in browser session that has confirmed who it is in the last 10 minutes:

  • A personal or mobile key, or an OAuth or MCP connection, cannot create or rotate a personal key: 403, reason credential_cannot_mint_keys, even for a key weaker than itself. Ask for the key from the terminal instead and approve it in your browser (symbol key create does this for you, see the CLI docs). An organization API key calling the personal key routes gets 403, reason organization_key_not_permitted (see "Organization API keys" below).
  • An OAuth or MCP connection cannot create an organization key either (credential_cannot_mint_keys). A personal or mobile key asking for one is still held to its own scopes (403 insufficient_scope), workspace limit and expiry (400 expiry_exceeds_credential, and 400 expiry_required without one), and is then refused with 403, reason session_required. Approving a key request is refused to every credential.
  • A browser session that has not confirmed it is the person in the last 10 minutes gets 403, reason proof_required, with proof_mode recent and the method to confirm with (totp, password or email_code). Nothing is created. Confirming once in the web app covers these actions on that browser for 10 minutes; it is never extended, works for no other browser or device, and ends early when the password or a sign-in factor changes or the session signs out.
  • Only a personal key can be the key that gets rotated: asking to rotate a mobile key or a connection's id answers 404, whoever asks.

The database also keeps its own ceiling on keys created under a credential: a request it refuses on those grounds answers 403, reason credential_ceiling_exceeded.

Connections made from a key

Symbol Bridge tokens obtained from a key (POST /api/preview/oauth/desktop-token) follow that key. They carry its workspace limit and never outlive it, and they end when the key is revoked, expires, is deleted, or is replaced by name. After a rotation they end when the old key's 24-hour grace period does. Each one shows in Connected Apps as its own entry, named after the key, apart from any browser sign-in, and revoking one never signs the other out.

Bridge connections made before this rule existed could not be told apart from a browser sign-in, so all of them were signed out once when it shipped. Reconnecting gives a connection that follows its key, or a browser sign-in.

Organization API keys

An organization API key acts for its organization, not for the person who created it. It reads and writes the content of its own organization's workspace within its scopes, and nothing else. It is refused on every endpoint that acts for a person or administers an organization:

  • the personal account: profile, credentials, API keys, OAuth grants, encryption settings, the data export, snapshots and the audit log;
  • billing;
  • the inbox and messages;
  • creating, listing and revoking share links;
  • accepting or declining invitations;
  • organization administration: members, invitations, API keys, ownership transfer, governance, renaming and deletion.

Owners and Admins manage organization keys (list, create, hand over with PATCH /api/preview/organizations/{id}/keys/{keyId}, and revoke); members and viewers get 403 with reason insufficient_role. Each key has a holder, one member of its organization, and content the key creates is attributed to them. What the key may do comes from its organization and its scopes, not from the holder's role. When the holder leaves the organization or deletes their account, the key is revoked and answers 401 with code key_revoked, and re-adding them does not bring it back. A key whose holder left before keys ended with their holder answers creator_not_member instead. Hand a key to another owner or Admin before its holder leaves to keep it working with the same secret.

The delete and share scopes let a key delete, or change the visibility of, content in its organization that members can see, the same content an owner or Admin manages. A member's Private content, and content shared only by link, stay out of reach. Publishing skills and agents stays a person's act.

A refused call on the key's own organization, or on an endpoint with no organization in its path, answers 403 with the problem reason organization_key_not_permitted. A call on any other organization's endpoints answers 404, the same response a non-member gets. Use a personal credential (a session or a personal API key) for these endpoints.

Over MCP, an organization API key connection works on its organization's content, and get_account_info describes the organization rather than a person: principal is organization_api_key, organization names the organization, and email and member_since are null.

Preview signals

Beyond the URL prefix, preview is signalled in several places so it's hard to miss:

  • The OpenAPI document marks every preview operation with an x-preview: true extension (see emission convention)
  • The hosted API reference shows a banner: "Preview API: subject to breaking change without notice"
  • Generated TypeScript and Dart clients carry a banner in the file header
  • The Postman collection name is suffixed (preview)
  • MCP tool descriptions note the preview surface

x-preview OpenAPI extension

Every operation served under /api/preview/* emits x-preview: true at the operation level in the generated OpenAPI document. Tooling consumes it to render banners, gate generated-client release channels, and drive the public changelog.

Example:

paths:
  /api/preview/capsules/{id}:
    get:
      summary: Get capsule
      x-preview: true
      responses:
        "200": { ... }

Stable (/api/v1/*) operations do not emit this extension. The emission rule is path-derived: the OpenAPI generator inspects each operation's URL prefix and stamps x-preview: true on every operation served from /api/preview/*. No per-route annotation is required, so the flag cannot drift from the URL. A unit test asserts the invariant against the generated artifact.

Error envelope

All error responses use RFC 9457 Problem Details. The body is JSON with a Content-Type: application/problem+json header and the following canonical members:

MemberTypeNotes
typestringURI identifying the problem type (e.g. https://symbol.chat/problems/not-found). Stable and machine-readable.
titlestringShort human-readable summary, suitable as a UI fallback. Stable per type.
statusintegerMirrors the HTTP status code.
detailstringHuman-readable explanation specific to this occurrence.

Endpoints may include extension members at the top level alongside the canonical fields. Common extensions:

ExtensionWhere usedDescription
errors422 from request schema validationArray of { path, rawPath, message, code } describing each Zod validation issue. path is a dotted string (items.0.name); rawPath preserves segment types so clients can disambiguate indices from numeric keys (["items", 0, "name"]).
unknown_field422 from rejectUnknownFieldsName of the field that wasn't accepted.
suggestion422 from rejectUnknownFieldsSuggested correct field name when one is known.
capsule_count409 when deleting a Type that has capsulesHow many capsules block the delete.
code409 from DELETE /api/preview/types/{id} or batch moveMachine-readable conflict cause. From the Type delete: strategy_required (a non-empty Type needs ?strategy=cascade or ?migrateTo=<id>), impact_confirmation_required (the delete affects references, other Types' field constraints, collections, or share links; retry with ?confirm=true), exposure_requires_confirm (retry the migrate with ?confirmExposure=true), has_capsules or other_users_capsules (capsules remain that the delete cannot remove), or type_is_log_target when that refusal follows a committed migrate. From the Type delete's migrate: log_capsule_source (a log Type's capsules cannot be migrated) or owned_log_type_mismatch (capsules keep logs in a different log Type than the target is bound to). From batch move: exposure_requires_confirm or log_type_target (capsules can't be moved into a log Type, because a log holds dated entries; convert_via names POST /api/preview/capsules/batch/convert-to-entries, see Converting notes into a log). impact_confirmation_required, and the 409 (rather than 400) for other_users_capsules, apply to every caller from the effective date of the breaking change in the API changelog. Until then they apply only to a caller that sends confirm=true or confirm=false, so sending ?confirm=false opts in now.
code422 from POST /api/preview/capsules or PUT /api/preview/capsules/{id}Machine-readable cause of a refused body write. empty_body_on_templated_type: content_md is "" on a capsule whose Type has an output_template. Send content_md: null (update) or omit it (create) to use the template, send body text, or send the boolean authored_blank: true alongside "" to keep an empty authored body. The refusal applies to every caller from the effective date of the breaking change in the API changelog; until then such a write is accepted and the response's warnings carries an entry beginning empty_body_on_templated_type: that names the date, and sending authored_blank: false opts into the refusal now. attachment_credential_in_body: the body introduces an attachment access link (/api/preview/attachments/public/<key>?cat=...) for a file that is not this capsule's; nothing is written. Upload the file to this capsule and embed it by file name, or paste the embed_markdown from the upload reply. A link of that kind already stored in the body is left as it is and reported in warnings instead. On PUT this refusal arrives in the { error: { code, message, details } } envelope with details.reason set to attachment_credential_in_body, as embedded_capsule_body does.
code409 from PUT /api/preview/types/{id}rollover_requires_confirm: the update changes rollover on a log Type that already holds dated buckets. Existing buckets keep their names and entries and only entries appended from now on follow the new policy, so the period in progress is split between two buckets. The body carries bucket_count, current_rollover, new_rollover, current_period_key (the bucket an entry appended now lands in under the current policy) and next_entry_period_key (under the new policy, null for manual, where every append must name a log capsule). Retry with confirm_rollover: true to apply the change. The refusal applies to every caller from the effective date of the breaking change in the API changelog. Until then it applies only to a caller that sends confirm_rollover: true or confirm_rollover: false, so sending confirm_rollover: false opts in now.
code422 from PUT /api/preview/types/{id}structure_is_fixed: the body sets structure. A Type's structure is set when it is created; convert_via names POST /api/preview/types/{id}/convert-to-log, which turns a standard Type into a log (see Converting notes into a log). Nothing is written.
code403, 404, 409, 413 or 422 from the two conversion routesSee Converting notes into a log: conversion_has_refusals, preview_stale and target_log_invalid (409, each with preview), preview_token_required (422), type_not_found or capsule_not_found (404), forbidden (403), and content_quota_exceeded (413, with storage) or the read-only organization refusal (413).
code422 from POST /api/preview/types or PUT /api/preview/types/{id}Machine-readable cause of a refused output template. Both routes run the same check and return the same code and detail. output_template_dangling_tokens: a {{token}} or {{#section}} names a field the Type does not declare; dangling_tokens lists those names. output_template_malformed_sections: a section is never closed, a closing tag has no opening tag, or two sections overlap; malformed_sections lists each as { name, tag, problem }, where problem is unclosed, unopened or crossing. Nothing is written. Declare the field, or edit or clear output_template in the same request. See output templates.
capsules_migrated, migrated_refs, migrated_aliases, dropped_aliases409 from DELETE /api/preview/types/{id}?migrateTo=<id> when the delete is refused after the migrate committedWhat already moved to the target: the count, the old to new ref and alias maps, and the aliases that could not travel. The moved capsules stay in the target; only capsules created concurrently remain in the source.
code409 from DELETE /api/preview/capsules/{id} or POST /api/preview/capsules/batch/deletecitations_confirmation_required: other capsules cite the capsule (or one in the batch), and their mentions of it would stop pointing anywhere. Nothing was deleted. Retry with ?confirm_citations=true (single delete) or "confirm_citations": true in the body (batch delete). POST /api/preview/capsules/batch/delete-impact reports the same count and sample before you delete. The refusal applies to every caller from the effective date of the breaking change in the API changelog. Until then it applies only to a caller that sends confirm_citations (true or false), so sending confirm_citations=false opts in now.
citing_count, citing_sample409 citations_confirmation_requiredHow many live capsules cite the capsules being deleted, and up to five of them as { id, title, ref }. Only capsules you can read are counted or named.
impact409 strategy_required / impact_confirmation_requiredWhat the delete would affect beyond the Type's own capsules, as returned by GET /api/preview/types/{id}/delete-impact: inbound references and mentions, other Types' reference-field constraints, collections, and usable Type/collection share links, each a count plus a small sample. On a migrate it also carries migrate_effects (as GET /api/preview/types/{id}/delete-impact?migrateTo=<id> returns it): capsules that leave a required field of the target unmet and will be marked incomplete, template bodies that change, go blank or render as fields, and owned logs that detach. Any of these needs ?confirm=true.
affected409 exposure_requires_confirm from batch move and delete-migrateArray of { kind, id, name, slug, visibility } public share sources at the target Type through which the move would publish the capsules. Retry with confirm_exposure: true (batch move) or ?confirmExposure=true (delete-migrate) to proceed.
will_publish_count409 exposure_requires_confirm (as above)How many plaintext capsules the move would publish through those share sources.
audience, live_link_count, dropped_collections, unlisted_count, message409 exposure_requires_confirm from the move-to-workspace routesWho in the organization will see the content ({ kind: "organization", name, member_count, access: "edit" | "view" | "none" }), how many live share links on it keep working, the collections a move leaves (per capsule), how many publicly listed capsules stop being listed, and the same facts as one sentence. will_publish_count is also present. Retry with confirm_exposure: true. The project route adds type_map (the proposed per-Type mapping) and skipped (capsules that stay behind).
actions409 already_has_access from the save routes[{ kind: "personal_copy", capsule_id }] when the saver can read the capsule in the app: POST /api/preview/capsules/{capsule_id}/duplicate with { "target": "personal" } makes the copy instead.
reasonMember-visible 403 Problem Details denial (see below)Machine-readable denial cause: insufficient_role, owner_only, or visibility_denied. The legacy { "error": "…" } 403s (MCP-access and managed-account, below) carry no reason.
code403 API key scope denial (see below)insufficient_scope: the API key lacks the scope the action needs.
code409 from POST /api/preview/share or PUT /api/preview/share/visibilityencrypted: encrypted content (a capsule, a capsule in an encrypted Type, an encrypted Type, or a collection of one) can't be shared by link or made public, because link holders and visitors have no key to read it. Every share route answers this one status and message.
error_id400 or 500 from an unexpected failureCorrelation id to quote to support. A 400 carrying error_id means a value in the request was not in the expected format and was caught after validation rather than before it.

Example (validation failure):

HTTP/1.1 422 Unprocessable Entity
Content-Type: application/problem+json

{
  "type": "https://symbol.chat/problems/unprocessable-entity",
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "Validation error: title required at \"title\"; expected number, received string at \"age\"",
  "errors": [
    { "path": "title", "rawPath": ["title"], "message": "title required", "code": "too_small" },
    { "path": "age", "rawPath": ["age"], "message": "expected number", "code": "invalid_type" }
  ]
}

Example (unknown field):

HTTP/1.1 422 Unprocessable Entity
Content-Type: application/problem+json

{
  "type": "https://symbol.chat/problems/unprocessable-entity",
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "Field 'content' is not accepted on this endpoint; did you mean 'content_md'?",
  "unknown_field": "content",
  "suggestion": "content_md"
}

Example (unknown query parameter). List and search endpoints refuse a query parameter they do not read, instead of ignoring it and answering as if the filter had applied:

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json

{
  "type": "https://symbol.chat/problems/bad-request",
  "title": "Bad Request",
  "status": 400,
  "detail": "Unknown query parameter 'tag'; did you mean 'tags'?",
  "unknown_param": "tag",
  "suggestion": "tags"
}

Standard problem types

Statustype URItitle
400https://symbol.chat/problems/bad-requestBad Request
401https://symbol.chat/problems/unauthorizedUnauthorized
403https://symbol.chat/problems/forbiddenForbidden
404https://symbol.chat/problems/not-foundNot Found
409https://symbol.chat/problems/conflictConflict
422https://symbol.chat/problems/unprocessable-entityUnprocessable Entity
500https://symbol.chat/problems/internal-server-errorInternal Server Error

The type URIs are stable identifiers. They don't have to resolve to documentation, but they are unique and won't be repurposed. Clients should prefer matching on type over parsing detail.

Permission denials

When a request is refused for authorization reasons, the status distinguishes who is being refused, so a client can tell a permission problem apart from a missing object:

  • A verified organization member (or a matching bound organization API key) who is refused an action on a resource they can already see (by role, visibility, or ownership) receives 403 https://symbol.chat/problems/forbidden with an actionable detail and a machine-readable reason extension member (insufficient_role, owner_only, or visibility_denied).
  • A non-member, an organization API key bound to a different organization, an owner-only action against someone else's personal resource, and an unauthenticated caller all receive the uniform 404 https://symbol.chat/problems/not-found. This is deliberate: the 404 never discloses whether the resource or organization exists, so it cannot be used to enumerate private content.

The boundary is verified membership: a denial is a 403 only when the caller's membership of the resource's organization has been established. The policy is fail-closed. Anything not proven member-visible stays a 404.

HTTP/1.1 403 Forbidden
Content-Type: application/problem+json

{
  "type": "https://symbol.chat/problems/forbidden",
  "title": "Forbidden",
  "status": 403,
  "detail": "You don't have permission to modify this capsule. Ask an organization admin if you need access.",
  "reason": "insufficient_role"
}

An API key that lacks the scope an action needs (for example a read key updating, archiving, or deleting a capsule) receives 403 https://symbol.chat/problems/forbidden with code: "insufficient_scope", but only on a resource that same key can read. Asking for a resource the key cannot read, or an id that names nothing, still gives the uniform 404, so the scope answer never discloses that something exists.

Some operations need more scopes than the edit they look like. Deleting a capsule or Type version is open to whoever may restore that version, but a key must hold delete as well as update, because the version is gone for good. A snapshot restore with {"dryRun": true} writes nothing and needs only read; a real restore removes, overwrites and re-adds content, so a key must hold delete, update and create as well as read. A key missing one gets the 403 insufficient_scope answer naming it before the snapshot is looked up, so the answer is the same for every snapshot id and no restore allowance is spent. Deleting a log entry changes its log, so a key needs update as well as delete. Duplicating a capsule writes a new one from a capsule the caller may edit, so a key needs read, create and update.

HTTP/1.1 403 Forbidden
Content-Type: application/problem+json

{
  "type": "https://symbol.chat/problems/forbidden",
  "title": "Forbidden",
  "status": 403,
  "detail": "This API key lacks the update scope.",
  "code": "insufficient_scope"
}

On the resource routes, a path or query id that is not a well-formed UUID is refused with 400 before any lookup, so the answer is the same whether or not a resource with a similar id exists.

Two 403 shapes predate this and are unchanged: an organization member without MCP access enabled, and a member of an organization that requires a managed account, each receive a legacy { "error": "…" } 403 with actionable copy.

A fourth reason, share_required, refuses a write that would publish a capsule without the right to share it: adding it to a Collection that is shared by link or listed publicly (POST /api/preview/collections/{id}/capsules), or moving it into such a Type. The batch move reports it per item as the failure code share_required. An API key without the share scope gets the existing 403 with code: "insufficient_scope" (and per-item insufficient_scope on the batch move); a caller who cannot see the capsule at all gets the uniform 404. Nothing is added when any item in the request is refused.

  • The reusable link. POST /api/preview/share with no expiresAt, no maxViews and no new returns the resource's one reusable link, minting it only the first time; reused is true when it already existed. Send new: true, an expiry or a view limit to mint a separate link. The reply is { token, share_url, shareToken, reused }: send share_url; token is the raw value, shown so an integration can store it.
  • Link rows. Rows from GET /api/preview/share (and shareToken) carry primary, share_url (the address to send, or null) and never the token hash or the creator's id. share_url_unavailable_reason says why share_url is null: listing (the listing link of a Public item), withheld (you neither made the link nor own the item, or you are calling with an organization API key), legacy (made before links were reusable) or unreadable (the stored address could not be opened); it is null when share_url is present. A caller who may not have the address is always told withheld, whether or not one was kept. The MCP get_sharing tool also reports suspended on a link whose organization has paused outside links, because it never hands out an address that does not open. A link on an organization's item reads state: "suspended" with is_live: false while the organization does not allow links outside it: it is not revoked, and it opens again if the policy is lifted.
  • How many people. GET /api/preview/share/visibility carries shared_with_people for a capsule, Type or Collection, and GET /api/preview/capsules/{id}/permissions carries sharedWithPeople: count (distinct people it is shared with, directly or, for a capsule, through its Type or Collection; a pending invite counts), direct, archived, and whether you own it. Only a caller who may manage the item's people gets the numbers; anyone else gets null, and the field is left out when the count could not be read. POST /api/preview/capsules/batch/archive-impact answers peopleCount, withPeopleShares and peopleHiddenCount over the capsules you would archive, since archiving cuts those people off until restore. A team capsule its whole organization reads (org_view, org_edit) is left out of all three: the people it is shared with are members, and members keep reading it while it is archived.
  • Your links. GET /api/preview/share/links?cursor&limit&state=live|all returns { links, next_cursor }: every link you created, newest first, with resource_title and resource_path. live, the default, lists links that have not expired or run out of views, paused ones included so you can still revoke them; all adds the expired and used-up ones. It never lists anyone else's links.
  • Revoking one. DELETE /api/preview/share/{tokenId} revokes a link by its id. To revoke by the raw shr_… token, send it in the body of POST /api/preview/share/links/revoke-token as { token }, so it never sits in a request path, where it would be kept in request logs. Both answer { success: true }, 409 public_listing_token for a Public item's listing link, and 404 Share token not found for a link that does not exist, is already revoked or is not yours. A raw token in the DELETE path still works for older clients and is deprecated.
  • Revoking many. POST /api/preview/share/links/revoke takes exactly one of { ids } (1 to 100), { all: true } (up to 500 per call) or { resourceType, resourceId }, and answers { revoked, skipped_listing, not_found, has_more }. A link you cannot reach counts under not_found, exactly like one that does not exist. A Public item's listing link is never revoked here: unpublish it with PUT /api/preview/share/visibility. With { all: true }, listing links never take one of the 500 places, so calling again while has_more is true always reaches the next links; skipped_listing counts the ones left alone.
  • Who can see it. GET /api/preview/share/visibility adds live_link_count and, for the resource's owner, publishing: { public_profile_enabled, has_username, eligible, blocked_reason }. It answers a key with either the read or the share scope.
  • Publishing. PUT /api/preview/share/visibility with public accepts enable_public_profile: true to turn the owner's profile on in the same request. A refused publish names the missing step:
StatuscodeExtra fieldsMeaning
409username_requirednext_step: "claim_username", claim_pathClaim a username first, in Settings (it needs a browser).
422public_profile_requirednext_step: "enable_public_profile"The profile is off. Ask again with enable_public_profile: true.
409publish_blockedblocked_reasonemail_unverified, account_flagged or org_policy.

Library sharing

A Type or Collection shared by link, or listed publicly, publishes the capsules its owner created in it that the workspace can already see: in an organization a capsule whose own visibility is self is never published, and any capsule whose owner kept it out of library links is excluded. Encrypted and archived capsules are never published.

A project is a share kind too (resourceType: "project"). A project link publishes, under the same rule, the capsules in the project that the project's owner created, and its page groups them by Type. A project is shared by link only:

  • POST /api/preview/share accepts resourceType: "project". The project's owner (while a non-viewer member of its organization) and an organization owner or Admin over a team-visible project may mint one; anyone else gets the uniform 404.

  • PUT /api/preview/share/visibility accepts project for self and link; public answers 422 with code: "not_publishable".

  • GET /api/preview/share, GET /api/preview/share/visibility and GET /api/preview/share/resolve (resource_type: "project") accept and return the new kind.

  • POST /api/preview/projects/{id}/capsules, POST /api/preview/capsules/batch/assign-to-project and a capsule update that sets project_id, into a project with a live link, need the right to share each capsule the link's owner created (share_required, as for a shared Collection); a teammate's capsule, which the link never publishes, needs nothing. Nothing is added when any item is refused.

  • POST /api/preview/capsules with a project_id the caller shares by link needs the share scope on an API key (insufficient_scope); a Type's default project the caller shares by link is not applied without it, and the capsule is created outside it.

  • Minting a project or Collection link is refused in a read-only organization workspace, as for a capsule or Type.

  • Deleting a project revokes its links.

  • GET /api/preview/share/exposure?resourceType=type|collection|project&resourceId=<id> returns { capsule_count, exposure, publishes_your_capsules }: capsule_count is how many capsules a link on the resource publishes (or would publish if the caller shared it now; 0 for anyone but the owner), exposure is the resource's live state (none, link or public), and publishes_your_capsules is true when a link is live, the caller owns it, and a capsule the caller creates there would be published: it is false under an organization Type that is Private or link-only, because a capsule created there starts Private. Requires read on the resource; anyone else gets the uniform 404.

  • POST /api/preview/share for a type, collection or project, and PUT /api/preview/share/visibility to link or public on one, add exposes_capsules: the count the link publishes after the write.

  • Collection reads (GET /api/preview/types/{id}/collections and the single read) carry exposure: none, link or public.

  • PUT /api/preview/capsules/{id}/permissions accepts in_library_share (boolean) alongside or instead of visibility, under the same share authorization; false keeps the capsule out of every library link. Sent together, both are written at once: a refused request changes neither. The GET (and the PUT response) return in_library_share and shared_since: when the capsule last left self (ISO 8601), or null. Version history reads (GET /api/preview/capsules/{id}/versions and /versions/{n}) show a caller other than the owner only versions changed at or after shared_since; an earlier version answers 404. The permissions GET also returns effective: { can_update }: whether the caller may edit the capsule. It is the caller's own access, which can be narrower than the capsule's organization access level: a Viewer reads false on an org_edit capsule.

Sharing with people

Per-person grants (issue #2267) share a capsule, Type or Collection with named people by email, at view or edit.

  • GET /api/preview/grants?resourceType=capsule|type|collection&resourceId=<id> returns { grants: [...] }, each with id, access, email, name, username and pending (true until the person first opens Shared with me). Requires share on the resource, the same authority as minting a link; anyone else gets the uniform 404.
  • POST /api/preview/grants with { resourceType, resourceId, email, access } (access defaults to view) answers 201 { status: "invited", grant } whether or not the address belongs to an account. Sharing again with someone who already has access changes their access instead. Refusals are 422 with a code: encrypted_not_shareable, not_org_member (organization content goes only to its members), role_ceiling (edit for a member who is a viewer), self_grant, or grant_limit (50 people per item). Rate limited by grant_create.
  • PATCH /api/preview/grants/{id} with { access } changes one person's access (owner side only).
  • DELETE /api/preview/grants/{id} removes access. The owner side removes anyone; the person it was shared with removes themselves. Anyone else gets 404.
  • GET /api/preview/shared-with-me lists the caller's own grants, newest first: { items: [{ grant_id, resource_type, resource_id, title, owner_name, access, shared_at, url }], hasMore }. Page with before and before_id (the shared_at and grant_id of the last row).

A person a capsule is shared with reads it through the ordinary capsule routes (GET /api/preview/capsules/{id} and its references, backlinks, graph, bundle, versions and attachments). Versions are listed from the moment it was shared. With edit, PUT /api/preview/capsules/{id} accepts title, summary, content_md, authored_blank, field_values and client_updated_at only; any other key answers 403 with code grant_edit_scope, and PATCH /api/preview/capsules/{id}/versions/{n} keeps, labels or releases a version they can see. With view, those two writes answer 403 with reason: "grant_view_only". A Type shared with a person, at either access, never lets them change the Type itself, so PATCH /api/preview/types/{id}/versions/{n} also answers 403 with reason: "grant_view_only". Every other write answers 404 for them. Shared content never appears in the caller's own listings, search, counts or sync feed.

Liked items

  • GET /api/preview/user/likes?cursor&limit lists the caller's own likes, newest first, as { items, next_cursor }. Each item is { capsule_id, liked_at, state, title, url }, where state is the first that holds right now: public (url is the public address), readable (the caller can read it in Symbol; url is /capsules/<id>), link (the share link it was liked through still opens it; url is /liked/<id>, which counts a view of that link when opened) or unavailable (title and url are null, and nothing else about the item is returned). Pass next_cursor back as cursor for the next page; limit is 1 to 50 (default 20). Requires the read scope. An organization API key is refused: likes belong to a person.
  • DELETE /api/preview/user/likes/{capsuleId} removes the caller's own like, including one whose page or link is gone, and answers { capsule_id, liked: false } whether or not a like existed. Requires the update scope.

The web app's visitor report routes (POST /api/preview/public/reports, and a share page's POST /api/preview/share/actions/report) are not part of the public API.

Exempt routes

A small set of external-contract routes use a different error envelope and are out of scope for the Problem Details migration:

  • OAuth 2.0 token / client routes (/api/oauth/*) emit { "error": "invalid_grant", "error_description": "..." } per RFC 6749 §5.2.
  • NextAuth callback URLs (/api/auth/[...nextauth]) follow NextAuth's internal contract.
  • Stripe webhooks (/api/billing/webhook) follow Stripe's required envelope.

First-party clients (Flutter, MCP) tolerate both shapes during the rollout of the per-entity migration: they read detail first and fall back to error_description / error when the body is from an exempt route.

Encryption key pairs

These are app-internal routes used by Symbol's own apps, outside the public contract. They hold the X25519 key pair end-to-end encrypted organizations use to share keys with a person, and they need a completed second factor on a session.

  • POST /api/preview/user/keys registers or replaces the caller's own pair: { public_key, encrypted_private_key, key_params }, where key_params.algorithm is "X25519". public_key must be the standard base64 encoding of the 32 raw public-key bytes, with or without its trailing =. Anything else (the URL-safe alphabet, whitespace, another length, extra characters) is refused with 400 and nothing is stored, so a pair already stored is left as it was. A user_id in the body is ignored.
  • GET /api/preview/user/keys returns the caller's own pair, including the encrypted private key, or { has_key_pair: false }.
  • GET /api/preview/users/{id}/public-key returns another person's { has_key_pair, public_key } to any signed-in caller, so it can wrap a key for them. It never returns private material. A pair stored before the format check is returned as it was stored.

Moving and copying into a team

Personal content can be moved or copied into an organization the caller belongs to with a role that adds content (not viewer).

  • POST /api/preview/capsules/batch/move-to-workspace with { capsuleIds, targetWorkspaceId, targetTypeId, mode?: "move" | "copy", confirm_exposure? } (at most 100 ids). Each capsule must be one the caller created in their personal workspace, plaintext, not archived and not a log; others are reported per item in failed. A move keeps the capsule's id (its links, likes, saves, versions and attachments keep working), gives it a new ref in the target Type, joins it to the organization with the Type's visibility, and keeps its old @type/N ref and alias resolving for any reader who can read it there. Each item in succeeded names the source id, the capsuleId now in the team (the copy's for a copy), its new ref and alias, and droppedCollections. Encrypted capsules answer encrypted_not_movable.
  • POST /api/preview/projects/{id}/move-to-workspace with { targetWorkspaceId, typeMap?: { "<sourceTypeId>": "<targetTypeId>" | "create" }, mode?, confirm_exposure? } moves (or copies) a personal project and its capsules in one step. A source Type left out of typeMap maps to an organization Type with the same slug and fields the caller can add to, otherwise to a new Type created with the same fields, template and guidance. The project becomes org_view. Capsules that can't move stay personal and leave the project, listed in skipped.

Both answer 409 exposure_requires_confirm until confirm_exposure: true is sent, and nothing changes before then. A non-member's target organization is the uniform 404; a viewer gets the member-visible 403 with reason: "insufficient_role".

Duplicate to your personal workspace. POST /api/preview/capsules/{id}/duplicate accepts an optional body { "target": "personal" }. The copy lands in the caller's personal workspace, Private, in a Type of the source's shape; reading the source is enough, so a view-only member can take an editable copy. Without the body the copy lands beside its source and needs the write right, as before. Encrypted sources answer 422 encrypted_not_copyable.

Saving into a workspace. The save routes (POST /api/preview/share/actions/save, which takes the share token as token in its body, the app's POST /api/preview/share/{token}/save, and POST /api/preview/public/save) accept workspace_id: null or absent saves into the personal workspace, as before; an organization id saves into that workspace's General Type (or a Type of the same shape for content with fields), for a member who can add content there. A non-member's id answers 404, a viewer's 403. 409 already_has_access applies to a member only when the chosen workspace is the capsule's own, and carries actions naming the personal copy the saver can make instead.

Converting notes into a log

Ordinary capsules can be turned into dated entries of a log Type. Two routes share one request vocabulary and one response, the ConversionPreview:

  • POST /api/preview/types/{id}/convert-to-log with { rollover, log_timezone, date_source, field_map?, dry_run, preview_token? } converts a whole standard Type into a log Type, every capsule in it becoming one entry in the period bucket for its date. rollover is daily, weekly or monthly; log_timezone is an IANA zone. Needs permission to delete the Type and to update every capsule in it. At most 1,000 capsules per conversion.
  • POST /api/preview/capsules/batch/convert-to-entries with { capsuleIds, targetTypeId, target_log_capsule_id?, date_source, field_map?, dry_run, preview_token? } (1 to 50 ids) converts chosen capsules into entries of an existing log Type. Needs permission to update each capsule and the target Type. target_log_capsule_id is required for an owner-bound or manual-rollover log Type (a log capsule of that Type, or an owner capsule whose log is created on first use) and refused for a dated one.

date_source is created_at, updated_at or field:<name> for a date or datetime field; a capsule whose field is empty is filed by created_at and counted in date_fallbacks. field_map overrides the default mapping: keys are source field names plus @title, @body and @tags, each mapped to a field of the log's entry schema or to null to leave it out.

dry_run: true writes nothing and answers 200 with the preview:

MemberDescription
preview_tokenPass back with dry_run: false to convert exactly what this preview shows.
summary{ capsules, entries, new_buckets, existing_buckets }.
field_mapOne row per source: { source, target, target_is_new, kind_from, kind_to }.
unplacedSources with no target, as { source, capsules_with_value }.
periodsEntries per bucket, oldest first: { key, entries, bucket: "new" | "existing", log_capsule_id }.
date_fallbacksCapsules filed by created_at because their date field is empty.
effectsShare links withdrawn and people access removed (each listed), likes kept on the retired capsules, collection memberships and project assignments dropped, attachments moved to the log capsule, template_dropped, paragraph_rendering_change, body_renders_as_plain_text, widened_audience (per capsule, every reason that applies: private_draft for a Private or link-only capsule going into a log its workspace's members can read, type_share_link, bucket_share_link for an existing bucket with its own live link, bucket_public for a public one, bucket_grant for one shared with people by name) and added_bytes.
refusals{ capsule_id?, code, message, field? }. Without capsule_id it refuses the whole request.
type_changesConvert-to-log only: { structure, rollover, log_timezone, fields_added, settings_reset }.

dry_run: false with the preview_token converts, all or nothing, and answers 200 with the same preview plus result: { log_capsule_ids, entries }, each entry { capsule_id, entry_id, entry_number, log_capsule_id }. A write answers 409 conversion_has_refusals while any refusal stands and 409 preview_stale when the capsules, the Type or log, or their links changed since the preview, and 409 target_log_invalid when the named owner's log can no longer be used; each carries preview, and nothing is written. A write that would take the workspace past its content storage answers 413 content_quota_exceeded with a storage member. Without a token it answers 422 preview_token_required. The token is a digest of the request and the state it would run against; it authorizes nothing on its own.

Each converted capsule is retired: it leaves every listing, search and read route, its @type/N ref and alias resolve to its entry (GET /api/preview/capsules/by-ref answers the log capsule with converted_entry: { entry_number, entry_at, field_values }), its ref and alias are never reissued, and its versions stay readable through the entry's source history (GET /api/preview/capsules/{id}/entries/{entryId}/source-versions, and .../source-versions/{versionNum} for one version). Its share links and people access are withdrawn and its attachments move to the log capsule.

A capsule the caller cannot read is refused as not_found without its title, and a request in which none can be read answers 404 capsule_not_found. A capsule whose date falls in an existing bucket the caller may not add entries to is refused as bucket_not_permitted, naming the bucket only to a caller who can read it. One whose attachments would take the log capsule it goes into past 20 attachments is refused as attachment_limit: a shorter rollover spreads them over more buckets. A Type in another workspace is the uniform 404; one the caller may read but not delete is 403.

Discover

GET /api/preview/public/discover (listDiscover) searches, filters and sorts what owners made Public, the same catalogue the Discover page lists. It needs no credentials and returns only Public content: never link-only, team or self content.

Query parameters, all optional. Anything else, or a value out of range, is a 400 naming the parameter:

  • q: search text, up to 200 characters, in web-search syntax ("exact phrase", -exclude). With q, the best matches come first.
  • category: a category slug. A facet group's slug matches every category under it.
  • tag: a tag slug.
  • sort: new (the default; first publication, newest first) or popular (likes plus saves, then views, then first publication).
  • page: 1 to 500, 24 entries a page.

The response is { entries, total, page, page_size, total_pages, query, facets }. Each entry carries kind (type, collection or capsule), id, title, description, url (its public page), creator (username, name: the public name or null, and profile_url), published_at (the first time it was made public, which a private and public toggle never moves), member_count (null for a capsule), counts (likes, saves, views), categories and tags. facets lists every category (slug, name, group) and the 30 tags most used on public content (slug, name, count).

The route is limited to 60 requests a minute: per account for a signed-in caller (a session, an API key or an assistant), per IP address otherwise.

Retrying a capsule create

POST /api/preview/capsules accepts an optional Idempotency-Key header, any string you choose of 1 to 128 characters, so a create whose answer never arrived can be sent again without making a second capsule. Send the same key with the same body. What the resend gets depends on where the first request got to:

  • It finished: 201 with Idempotency-Replay: true and the capsule as GET /api/preview/capsules/{id} shows it now, files included. If you can no longer read that capsule, 404.
  • It is still running, including while its files are being attached: 409 with code: "IDEMPOTENT_REPLAY_IN_FLIGHT" and a Retry-After header. Wait that many seconds and send it again.
  • It was refused or rolled back: the key is free again, so the resend creates the capsule.
  • Its capsule was saved without its files and could not be removed: 422 with code: "draft_attachments_unresolved", rolled_back: false and the capsule_id, the same answer the first request gave. Add the files to that capsule.

The same key with a different body answers 422 IDEMPOTENCY_KEY_REUSED, and a blank or over-long key 400 IDEMPOTENCY_KEY_INVALID. Once a request that sent the header is signed in and its body is valid, every answer carries Idempotency-Replay: true or false. Keys belong to your account, so another account's key never reaches your capsules, and they are kept for 24 hours. Without the header a create behaves as it always has.

When a Type derives each capsule's alias from a field, a create whose alias is already taken answers 409 with code: "slug_source_conflict" and details: the slug, the source_field, and a reason of taken_live (another capsule has it), taken_deleted (a capsule in Recently deleted has it) or taken_tombstone with reclaimable: true (a deleted capsule's old alias, which reclaim_alias: true reuses).

Snapshot restore

POST /api/preview/snapshots/{id}/restore answers { stats } for both a dry run ({"dryRun": true}) and a real restore. Besides restored, removed and not_restored, the stats carry:

  • resumes_exposure: what the restore brings back with live links, a public page or a published skill. Each entry has resource_type (capsule, type, collection or project) and returns_from: archive for a capsule archived since the snapshot, whose links were only paused, and deletion for an item deleted since the snapshot, or removed by a restore you are now undoing, whose links the restore revives. A Type's ref is @<slug>; a collection or project has none.
  • removed_files: { attachments, capsule_images, type_images, bytes }, the files added since the snapshot that the restore removes, including those of items it removes. They stop counting against your storage once the restore completes.
  • links_resumed (real restore only): one { resource_type, id, links, visibility } per item whose links came back.

A deleted item's links come back only as its deletion left them: a link you revoked before deleting, a link that has expired or used up its views, and an item you made Private before deleting stay as they were. An item deleted before deletions recorded their links comes back without them, and not_restored names how many under share_links_not_resumed. Bringing links back is the same re-exposure as restoring an archived capsule, so an API key without the share scope gets 403 share_required with the resumes_exposure list, and nothing is restored.

A dry run also returns confirmation_token and confirmation_expires_at, 15 minutes out. A real restore sends that token back as confirmation_token, from a dry run of the same snapshot by the same account, so a restore is preceded by its own dry run. Without a valid token the restore answers 409 with code: "dry_run_required" before anything is read or the hourly allowance is spent, and the answer is the same for every snapshot id. Who is refused, and from when:

  • A token that is sent but does not verify (expired, malformed, or minted for another snapshot or account) is refused now, from any key.
  • Symbol's own assistant tools and CLI, which identify themselves with the x-symbol-ai-client header, are refused now when they send no token.
  • Any other API key or organization key that sends no token is refused from the date in the API changelog, and keeps the old behaviour until then.

Restores in the Symbol web app are not asked for a token: the dialog shows the dry run and asks you to confirm.

Version history

  • GET /api/preview/capsules/{id}/versions and GET /api/preview/types/{id}/versions list versions newest first, as { versions, next_cursor }, limit 1 to 100 (default 20). Send cursor= (empty) on the first request, then pass each next_cursor back unchanged as cursor until it comes back null. next_cursor is an opaque string: do not build or edit one.
  • With cursor present (an empty cursor= counts), any parameter other than limit, cursor, before, kept and ws is refused with 400 (the problem body names it in unknown_param), as is a cursor that does not decode or that came from the other kind of version list (a capsule cursor sent to a Type's list, or the reverse), and cursor together with before.
  • before=<version_num> still pages instead of cursor.
  • A request without cursor is answered the old way until the date in the changelog entry: next_cursor is a { "versionNum": n } object and unknown parameters are ignored. From that date every request gets the string cursor and the 400s above, with or without cursor.
  • A version number always names the same version. It is never given to a second version of the same capsule or Type, even after a version is deleted, old versions are pruned, or encryption is turned on and off again, so numbers can skip.
  • GET /api/preview/capsules/{id}/versions/{n} and GET /api/preview/types/{id}/versions/{n} are served Cache-Control: private, no-cache with an ETag. Send If-None-Match to get a 304 while the version exists; a deleted version answers 404.
  • An archived capsule's history is readable wherever the capsule is. Deleting one of its versions is refused with 409 capsule_archived until the capsule is restored.
  • List and detail rows carry edited_by, the account that made the version (null for versions written before Symbol recorded editors), and edited_by_name, that account's name when you made the version or belong to the workspace that owns the item, otherwise null. created_by is the item's owner, not the editor.
  • GET /api/preview/capsules/{id}/versions/compare?from=<n>&to=<n> and GET /api/preview/types/{id}/versions/compare?from=<n>&to=<n> report what changed from version from to version to (to defaults to the newest version you can see). A capsule comparison covers title, summary, meta (each prompt detail and agent setting that changed, with its value before and after), the authored body as a line diff, and fields, each changed value with its text before and after. A Type comparison covers summary, guidance and output_template as line diffs, and schema: each field added, removed, renamed, retyped or changed, with its definition on both sides, plus changes to field order, field mode, freeform policies and structure; and identity: each of the Type's name, slug, icon and color that changed, with its value before and after. A version written before Symbol captured Type schemas reports its schema as not_captured, one written before Symbol recorded a Type's identity reports its identity the same way, and one written before Symbol recorded a capsule's prompt details and agent settings reports meta the same way. Each not_captured section carries sides and may_have_changed, true when the revisions between the two versions may have changed that part: for a Type, when only one version recorded it; for a capsule's meta, when only one version recorded them and it holds some, or nothing else changed. unchanged is then false. In a line diff, unchanged runs collapse to two lines of context around each change. A text that changed too much to compare line by line answers { "status": "too_large", "before_line_count", "after_line_count" } and the rest of the comparison is still reported; read each version in full instead. A version you cannot see, on either side, answers 404 exactly as one that does not exist. Responses are Cache-Control: private, no-store.
  • POST /api/preview/capsules/{id}/versions/{n}/restore and POST /api/preview/types/{id}/versions/{n}/restore return new_version_num, the version the restore created, or null when it wrote none (for example when the restore matched the current state, or history was paused by its rate limits).
  • PATCH /api/preview/capsules/{id}/versions/{n} and PATCH /api/preview/types/{id}/versions/{n} keep, label or release a version, with { "kept": boolean, "label"?: string | null }. A kept version is not removed by the 50-version limit or the 30-day clean-up until it is released. label is trimmed and must be 1 to 80 characters on one line; null removes it, and leaving it out keeps the current one. Sending label with kept: false is a 400: releasing a version always clears its label. The answer is the version's list row plus kept_count, kept_limit and retention as it stands after the change (below). Keeping a version takes it out of the 50, so a full history's next save may then remove nothing. It needs the same access as a restore, and on a capsule a per-person edit grant also admits it (restore and delete stay closed to a grant). A person a grant admits only to read the capsule or Type gets 403 with reason: "grant_view_only". It follows the same plan gate as reading the history.
  • You can keep a version of one capsule or Type only while fewer than 10 of its kept versions are visible to you. Keeping another answers 409 with code: "kept_limit"; relabelling a version already kept never does. The count covers only the versions you can see, so a teammate whose history starts later than yours keeps their own 10, and you may see more than 10.
  • DELETE on a kept version answers 409 with code: "version_kept". Release it first. Keeping a version of an archived capsule answers 409 capsule_archived, as deleting one does.
  • List and detail rows carry kept and label. kept=true on GET .../versions lists only kept versions, on the same cursor.
  • GET .../versions also answers retention: cap (50), kept_count (the kept versions you can see), kept_limit (10) and eviction_candidates, empty unless the history is full, otherwise every version the next saved change removes, oldest first, as { version_num, changed_at }. That is one version at the cap, and more after releases leave the history over it. A restore never removes the version it restores from, so restoring a candidate removes eviction_after instead, the next version after the candidates, sent only when there is one. A version you cannot see is never named: the list stops before it.

Skills republished by an edit

When a write changes a capsule that is published as a skill, so that the served copy falls behind it, the reply says whether a republish was started. PUT /api/preview/capsules/{id}, POST /api/preview/capsules/{id}/versions/{n}/restore and each item in succeeded from POST /api/preview/capsules/batch/edit-fields and POST /api/preview/capsules/batch/edit-tags carry a republish object:

  • { "status": "started", "message" }: the republish was scheduled. It runs after the reply and completes on its own, normally within a few seconds. Read the capsule to confirm: packaging.published_state becomes "published".
  • { "status": "not_started", "reason", "message" }: the published skill was left stale. message says what to do; reason is one of:
reasonMeaning
opted_outThe request sent republish: false.
caller_defaultThe request did not send republish, and this caller does not republish by default: an API key or a signed-in person. An AI assistant does. Send republish: true.
blockedPublishing is blocked for this capsule (for example it became an agent, or it has open {{variables}}).
name_changedA republish would rename the served skill, which is never done automatically.
no_refresh_rightOnly someone who may share the capsule can update what members receive.
rate_limitedThe publish rate limit was reached.
check_failedThe republish could not be checked. Republish later.

republish is absent when there was nothing to republish: the capsule is not a published skill, or its served copy is still current. For an API key or a signed-in person, a not_started sentence also appears in warnings, as it did before republish existed (except check_failed, which only republish reports); an AI assistant reads it once, from republish.

packaging.published_state in the same reply is what is stored when the reply is written, so a started republish usually still reads stale there, with packaging.republish_refused null. Its values:

published_stateMeaning
draftNever published.
publishedThe host serves this version.
staleThe served copy is behind the capsule. If packaging.republish_refused is set, the last automatic republish was refused for that reason and does not retry by itself.
pendingA publish is in flight. It settles by itself, normally within seconds.
failedThe host refused the last sync, and it does not retry by itself. packaging.publish_error says why.
unknownThe host did not answer. It is checked again on a read after about 10 seconds, and by the background sweep.

An agent's report reads published or stale; its served copy is refreshed during the edit itself. A republish refused after the reply (for example a skill of the same name was published in the meantime) leaves the previous version served, so alsoAvailableAsSkill stays, published_state reads stale, and packaging.republish_refused (and republishRefused on the skill status) carries a sentence naming the cause. A later republish that stages clears it, and so does a later automatic attempt that fails for another reason, since the recorded cause no longer describes the last attempt.

Protected Types

Complete Symbol imports

A selected Symbol export that touches any protected destination waits as one change. This includes items bound for unprotected Types in the same selection. Nothing in that selection goes live until a person approves the reviewed graph. Without a protected destination, the existing ordinary import behaves as before.

For a chunked selection, send x-symbol-accept-pending: 1 and use these routes with create scope:

  1. POST /api/preview/import/runs sends workspace_id, configuration, item_count and descriptors. Configuration contains sources, each with source_type_slug and exactly one of target_type_id or create_type. It can also set mark_incomplete and confirm_exposure. Each descriptor contains a contiguous zero-based index, source_type_slug, bytes and lowercase SHA-256 sha256. Hash the canonical JSON of {files, source_type_slug}, with object keys sorted, encoded as UTF-8. Include the same export manifest in every chunk. A protected selection answers 201 with requires_review: true and a private run containing its ID, revision, selection digest and expiry. An unprotected selection answers 200, requires_review: false, without creating an upload. Continue with the ordinary importer.
  2. PUT /api/preview/import/runs/{id}/chunks/{index} sends {files: [{path, content}]}. Its 200 reply gives the current revision. Repeating identical bytes is idempotent; replacing an index is refused.
  3. POST /api/preview/import/runs/{id}/finalize sends the latest revision and the original selection_digest. Every declared chunk must be present and unchanged. One transaction stores the whole proposal and its acknowledgement. A 202 reply has the ordinary pending_approval shape below, never a completed-import result. Repeating finalization returns that original acknowledgement. If no valid nodes remain, 200 import_summary lists the skipped rows and confirms that nothing was created. Its legacy_result caches the equivalent ordinary zero-row answer.
  4. GET /api/preview/import/runs/{id} returns private upload progress and any original finalized acknowledgement. That acknowledgement records submission, not the change's current decision status. DELETE cancels an unfinalized upload with 204 and no body. It cannot withdraw a held change.

All upload actions require the original person and physical credential, with current workspace access. A different key belonging to the same person cannot resume a run. A run expires after one day. Each author may keep three open runs across their keys and workspaces. A protected selection is limited to 1,000 review items, including new Types, and 64 MiB of staged chunks. Each request retains the ordinary 4,000,000-byte and 1,000-file limits, including the manifest. The server counts the actual complete input again before planning, independent of the declared item_count. For a larger selection, import unprotected Types separately or select fewer Types.

A complete export that fits one request can use POST /api/preview/import with format: "symbol", files, workspace_id and selection containing that same configuration. Selection replaces the per-Type destination fields. Do not combine it with ordinary multi-call held_references or a signed type_slugs map. selection.mark_incomplete and a top-level mark_incomplete, if both supplied, must agree. As in ordinary Symbol import, frontmatter determines values; CSV column mappings do not reinterpret Symbol files. A complete single-Type export may still use its ordinary target_type_id or create_type fields. An ambiguous per-Type call from a larger protected export asks for the complete selection or the run protocol.

Invalid rows are skipped when the proposal is built. Human review lists them as Will not be imported, with reasons. Placements the author cannot make are omitted then and listed separately. Public project exposure still requires explicit confirm_exposure; approval does not authorize sharing. Approval creates exactly the reviewed nodes, links and placements or releases nothing. It rechecks the original author's rights and current public-share exposure.

Human change detail adds import_review: captured Type guidance, templates and fields, exact collection/project placements, internal graph addresses and reference shortcuts for the current item page. The browser and Symbol app navigate submitted references inside the held graph, without fetching unreleased live items. GET /api/preview/protected-changes/{id}/import-report pages every skipped or adjusted row and omitted placement. import-reference resolves a captured internal edge from source_key and reference to an item offset and state key. Both require revision and after_digest matching the review, and the same current human review authority as the change itself. Machine credentials receive status metadata, without this review data. Load every item and report page before approval. x-symbol-import-review: 1 advertises support for the complete import review. When approving, the client asserts it has shown the whole report. The server requires the claim but does not track page visits or verify that completeness. Clients without it are refused without release. Older apps are told to review the import in the browser. A capable app sends the same header when loading its native review. After showing every report page, it sends import_reviewed: true when creating its native review request. This client assertion is stored with the single-use request, bound to the revision and digest. A browser session of the same person still confirms with a recent proof. The assertion grants no decision authority and does not replace that confirmation. The legacy POST /import keeps its ordinary 200 shape when every selected row is invalid: created: 0, a destination type with created: false, and the skipped rows in failed. For an existing destination, type identifies that live Type. For a new destination, it contains the first selected new Type's name, slug and planned UUID. That UUID does not identify a live Type, and no Type was created. The answer is stored in the finalization transaction, so a later destination change cannot turn a finalized zero-row answer into an error. If the whole selection has no valid items and at least one skipped row, none of its new Types or placements is created, even when an empty Type was selected alongside the invalid rows. A selection containing only empty Types, with no invalid rows, still proposes those Types for review. import_summary is used by the private run's finalization response instead.

The import_symbol_export assistant tool exposes describe, start, upload, status, finalize and cancel actions for this protocol. Its finalization answer says Saved for approval, with the review link. It never approves the import.

A protected Type holds every change to itself and its capsules for approval. The Type is protected by its owner, or by an organization that protects all its content. The live capsule and Type rows are always the last approved state, so every read keeps answering the approved version, and a capsule created in a protected Type does not exist for readers until its creation is approved.

Writing to a protected Type

A client says it understands a held write by sending x-symbol-accept-pending: 1 on the write. It may also name itself in x-symbol-client (for example my-sync/1.2; labels longer than 120 characters are cut). The label is recorded on the change and shown to reviewers as the client's own claim, beside the credential the server resolved. It is never used for a decision.

A write that is held answers 202 Accepted:

{
  "pending_approval": true,
  "reason": "pending_approval",
  "detail": "Saved for approval. This Type is protected, so readers keep the approved version until the change is approved.",
  "change": {
    "id": "6f1c…",
    "revision": 1,
    "status": "pending",
    "operation": "capsule_update",
    "type_id": "0b7e…",
    "workspace_id": null,
    "review_url": "/changes/6f1c…"
  },
  "approved": { "kind": "capsule", "id": "a1d2…", "updated_at": "2026-11-01T09:30:00.000Z" }
}

change.workspace_id identifies the destination workspace for draft uploads that join a held create: null for personal, or the team's ID. Use this value instead of resolving the request's workspace name again. It is absent from older servers. Adding files needs create scope, with no extra Type read.

approved names the object readers still receive. It is absent when the write creates something: a held create has no capsule id yet. operation is one of capsule_create, capsule_update, capsule_delete, capsule_archive, capsule_unarchive, capsule_move, capsule_restore_version, type_update, type_delete, log_append, log_entry_update, log_entry_delete, publication or structural. A batch route does not fail as a whole: each held item is reported among that item's results as not applied, with code pending_approval, or with the refusal's reason as its code.

Refusals are Problem Details with a machine-readable reason. Branch on reason, never on detail:

StatusreasonMeaning
409pending_approval_unsupportedThe write did not send x-symbol-accept-pending: 1. Nothing was stored. A client that cannot report a held write is refused rather than allowed to report a save that did not happen.
409pending_change_openAnother change to the same object is already waiting. Carries change_id and review_url when the caller may see that change.
409protected_change_unsupportedThe write carries something an approval cannot replay. Nothing was stored.
409protection_enforced_by_organizationThe organization protects all its content, so a Type's protection cannot be changed.
409protected_change_requiredThe write reached storage outside an approved change. Nothing was stored. This indicates a defect, and is logged.

Reading, and turning protection on, never need the header.

Reading protected content

A client that composes protected content itself (an app, a sync client, an MCP server) says so by sending x-symbol-approved-delivery: 1 on its reads. It then receives each protected item with its approved composition attached, so it never pairs an approved item with a newer, unreviewed version of something the item refers to. The header only selects the format: what the caller may read is decided by its credential as always. A first-party browser session needs no header, since the server composes the page for it.

A read without the header is refused when it would return protected content:

StatusreasonMeaning
409approved_delivery_upgrade_requiredThe item, or a row of the requested page, is in a protected Type. Carries upgrade ({ "header": "x-symbol-approved-delivery", "version": "1" }). Nothing protected was sent.

A list, search, context, mention resolution, export or sync page that would include a protected item is refused as a whole, never returned with the item quietly left out, and a sync cursor is not advanced. Reads that include nothing protected answer as before.

GET /api/preview/capsules/{id}/instruction-export renders a protected capsule from its approved composition for every caller, browser sessions included: what it inlines is the material frozen at approval, a pointer is named by its token without the target's current summary, and an inline reference with nothing frozen for it stays a code span reported unavailable (or deleted). A caller that sent the header also receives the envelope the export was built from, under approved_delivery.

Following and deciding changes

RouteWhoWhat
GET /api/preview/protected-changesAny authenticated callerThe changes the caller proposed or may decide, newest first, as metadata only (never proposed content). Query: scope (personal, organization with organization_id, or all, the default), status (pending, the default, approved, rejected, cancelled or all), limit (1 to 100, default 50) and cursor (the previous page's next_cursor). An organization_id the caller does not belong to returns an empty listing.
GET /api/preview/protected-changes/{id}The author, or someone who may decide it{ change }. A first-party browser session also receives before and after, the approved and proposed state of each object. Any other credential receives the metadata only. 404 when the caller may not see the change or cannot read every object it touches.
POST /api/preview/protected-changes/{id}/approveSomeone who may decide it, from a browser session with a recent proofBody { "revision": n, "note"?: "…" }. Releases exactly that revision.
POST /api/preview/protected-changes/{id}/rejectSomeone who may decide it, from a browser sessionSame body. Closes the change, releases nothing and needs no proof.
POST /api/preview/protected-changes/{id}/withdrawThe author, with any credential that can writeBody { "revision": n }.

A listing row carries id, status, operation, revision, workspace_id, type (id, name, slug), target (kind, plus id and title only where the caller may read the object), author (id, name, is_you), credential (session, personal_key, mobile_key, oauth, organization_key, mcp or other, resolved by the server), client_label, encrypted, created_at, decided_at and can_decide. The detail adds targets, decided_by, decision_note, publication_intent and publication_status.

Review detail accepts offset (zero based) and limit (1 to 200, default 50). objects reports total, offset, limit and next_offset; item pages are also bounded by response bytes. The additive page_targets contains the existing targets on this item page, and target_total counts all existing targets. For changes of up to 500 items, targets keeps its complete previous shape and targets_truncated is false. For larger changes, targets is bounded to the current page and targets_truncated is true. Use page_targets with the page's states and target_total for totals rather than assuming targets is complete. New items have no live target yet. A log with many proposed entries pages its entries within that item; entry pages do not change the item's count. Load all item and entry pages before approving in the review.

An approved deletion of a protected Type stays listed after the Type is gone: its type.id is null, and type.name and type.slug are the deleted Type's. Its detail opens for the person who proposed it and the person who approved it, provided they can still read every object it moved or archived.

The people who may decide a change are the owner of a personal workspace, or an organization's owner and its Admins, and they must also be able to read every object the change touches. Decision answers:

StatusreasonMeaning
403session_requiredApprove and reject are refused to every API key, OAuth app, organization key and MCP connection.
403proof_requiredApprove needs a recent proof of identity, as described under Creating keys. Carries proof_mode and method.
403protected_change_forbiddenThe caller cannot decide this change.
404The change does not exist, or the caller may not see it.
409protected_change_staleThe change or an object it touches moved since that revision was reviewed, or the author no longer belongs to the organization. Nothing was released. Review it again.
409protected_change_decidedThe change was already decided differently. Carries status.
409protected_change_review_in_appThe change is encrypted. The server cannot show what it does, so it is reviewed and approved in the Symbol app.

One held change can contain at most 5,000 review items, or 1,000 for snapshot restore or a selected Symbol import. An oversized proposal or pending change answers 409 with reason protected_change_too_large and the operation's maximum_items. Split larger edits into smaller changes. For a tag rename, Type deletion or snapshot restore, an owner or Admin can turn protection off for the Type, or in team settings if it is enforced, while making the change. A snapshot restore has already restored unprotected content, so its successful response instead reports stats.protected_types.status: "not_staged", reason: "protected_change_too_large" and maximum_items: 1000. Its protected content stays unchanged. Unprotected changes keep their ordinary product limits.

Repeating the same decision on the same revision returns the recorded result and changes nothing.

Turning protection on and off

  • GET /api/preview/types/{id}/protection answers protected, own, source (owner, publication_default or null), enforced_by_organization, released_at, set_at and can_manage. PUT with { "protected": true | false } changes it. The Type's owner, or in an organization its owner or an Admin, may change it; organization keys are refused. Turning protection off needs a recent proof (403 proof_required otherwise), withdraws every change still waiting in the Type, and is remembered, so publishing a skill, agent or prompt does not protect the Type again by itself.
  • GET /api/preview/organizations/{id}/protection answers require_protection, set_at and can_manage. PUT with { "require_protection": true | false } changes it, for the organization's owner or an Admin. Removing it needs a recent proof; Types protected individually stay protected.

Limits

Approved delivery describes what Symbol serves. Older versions of the Symbol apps and Bridge may still show content they cached before they were updated, and can combine it with newer content they fetch, until they are updated and their caches are replaced. An organization cannot yet hand approval to an independent authority; its owner and Admins decide.

Rate limits

Authenticated requests to /api/preview/* count against up to three hourly budgets, from the narrowest to the broadest:

  • Per API key (api_key): a sub-ceiling on one API key or OAuth grant, so one integration cannot use up the whole API allowance.
  • API allowance (api_default): what your API keys, MCP clients and other integrations can send between them, counted per user.
  • Account ceiling (account_total): every request from every client of your account, the web app and the mobile app included, counted per user.

A few routes count against a limit of their own instead of these three, for example the billing and rate-limit status reads and the Bridge's guidance check.

The web app and the Symbol mobile app count only against the account ceiling, so using Symbol never spends your API allowance. A request from an integration counts against all three, narrowest first, and a request a narrower budget refuses never counts against a broader one: an integration that runs into its own limit cannot lock you out of the web or mobile app.

Limits today (subject to change, tracked on the changelog as cosmetic):

BucketDefault
Account ceiling (Free)4,200 requests per hour
Account ceiling (Pro)8,400 requests per hour
Account ceiling (Teams)8,400 requests per hour
API allowance (Free)250 requests per hour
API allowance (Pro)500 requests per hour
API allowance (Teams)500 requests per hour
Per-API-key (Free)200 requests per hour, tunable per key
Per-API-key (Pro)400 requests per hour, tunable per key
Per-API-key (Teams)400 requests per hour, tunable per key

The per-API-key default is sized to 80% of your API allowance so a single integration can use most of it while still leaving headroom for additional keys, and so a plan upgrade lifts the per-key default automatically without you having to edit each key. Override it per key in Settings → API Keys if you need a tighter or looser limit. An organization API key counts against its own per-key limit and an API allowance of its own, from the organization's plan.

Every authenticated response carries the budget headers so you can self-throttle without waiting for a 429:

HeaderMeaning
X-RateLimit-LimitCap of the most restrictive budget that applies to this caller.
X-RateLimit-RemainingApproximate budget left in the current window.
X-RateLimit-ResetUnix-second timestamp when the current window resets.

When a limit is exceeded the response is HTTP 429 with the standard Problem Details body. The headers describe the limit that refused the request, not your overall budget: a share-link 429 reports the share-link limit, a per-key 429 reports the key's limit.

HeaderNotes
Retry-AfterSeconds until the next request will succeed.
X-RateLimit-LimitCap of the policy that refused the request.
X-RateLimit-RemainingAlways 0 on a 429.
X-RateLimit-ResetUnix-second timestamp when that policy's window resets.
X-RateLimit-Scopeglobal (an account-wide budget: the account ceiling or the API allowance) or endpoint (per-key or per-route ceiling).
X-RateLimit-PolicyName of the policy that refused, for example account_total, api_default, api_key, share_create or invite_send. The same names appear in rate-limit-status.

The body carries the same facts for clients that read JSON:

FieldMeaning
detailA sentence naming the limit in words, for example "You've reached the share link limit (30 per hour)."
coderate_limited, or a domain code such as save_rate_limited.
policySame value as X-RateLimit-Policy.
scopeSame value as X-RateLimit-Scope.
retry_after_secondsSame value as Retry-After.
reset_atISO 8601 time when the window resets.
window_secondsLength of the policy's window in seconds (3600 for an hourly limit, 86400 for a daily one).

Per-route policies carry their own Retry-After and limit. The ones you are most likely to meet:

PolicyRouteLimit
share_createPOST /api/preview/share, and PUT /api/preview/share/visibility to link (or its deprecated alias unlisted), each only when it makes a new link: handing back an item's existing reusable link spends nothing30 per hour
grant_createPOST /api/preview/grants30 per hour
capsule_save_from_shareSaving a capsule from a share link20 per hour
invite_sendPOST /api/preview/organizations/{id}/invitations10 per hour
capsule_createPOST /api/preview/capsules and log appends100 per hour

One Type or Collection share link shares all its capsules, so sharing a library takes one share_create slot, not one per capsule.

Share links and invitations differ in two ways. A refused request is not counted: one answered 400, 403, 404, 409 or 422 does not use the limit; links that are created and invitations that are sent do. And both limits count a sliding hour, so the reset time on a share_create or invite_send 429 is an upper bound: Retry-After may overstate the wait, never understate it.

Sign-in, sign-up, password, email-verification and MFA routes are the exception. Their 429s do not state a reset time, because a precise time would help someone guessing credentials schedule the next attempt.

Treat Remaining as advisory, not authoritative. Under concurrent load, two requests racing the boundary can each see a non-zero remaining and one of them still gets the 429.

To inspect your current usage and per-API-key counters live, call GET /api/preview/user/rate-limit-status.

Stability & promotion

The stability contract (breaking-change notice periods, promotion criteria for preview → v1, and the channels Symbol uses to announce changes) lives in the dedicated API stability policy. The short version: anything under /api/preview/* may change with at least 14 days notice via the API changelog and an email to API key holders; once /api/v1/* ships, breaking changes there carry a 12-month deprecation window. The notice window is counted from the date each entry is published on the production changelog, which the changelog records automatically.

On this page