Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Security & data handling

    Connecting an agent gives it access to data in the workspaces you authorize. Review the requested permissions before connecting, especially write access and access to creator contact details.

    Transport and credentials

    • Every request uses HTTPS and carries its own credentials. Archive does not issue a session ID.
    • Archive issues and validates opaque tokens. Clients do not decode them or call an introspection endpoint.
    • An API bearer token can read and write, as it can on /api/v2. Each OAuth 2.1 connection belongs to the person who authorized it. It can write only if that person granted the write scope. It also follows that person’s workspace role: an action the role denies in the Archive app, such as managing webhooks, managing sources or spending credits, is refused for that connection in that workspace.
    • OAuth discovery follows RFC 9728 and RFC 8414, with RFC 7591 Dynamic Client Registration and mandatory S256 PKCE.

    Uniform error responses

    A missing, malformed, revoked, or disabled token returns the same authentication error. An unknown workspace and a workspace outside your access also return the same workspace error. These responses do not reveal whether a credential or an inaccessible workspace exists.

    Workspace isolation

    Except for getWorkspaces, each tool call acts on one workspace. Archive checks that the credential can access it before running the tool. MCP uses the same validation and workspace permissions as /api/v2.

    Auditing

    Each write records one audit event, including failed writes. It includes who made the call, the authentication method, the MCP client name, the result, and any userErrors.

    What a connected agent can read

    An agent can read captured content and media, engagement metrics, creator profiles, contact details, and saved views in its authorized workspaces. Each tool’s output schema lists the fields it returns. The MCP server cannot access data outside those workspaces. It does not read your conversation history, files, or memory.

    Collection, use, retention, and third-party sharing are governed by the Archive privacy policy and the terms of service.

    Report a vulnerability

    Email [email protected] with SECURITY in the subject line, a description of the issue, steps to reproduce, and the affected endpoint. We acknowledge reports within two business days. Don’t test against workspaces you don’t own, and don’t access data that isn’t yours.