docrocket-ai Get Document API

The Get Document API from docrocket-ai — 1 operation(s) for get document.

Operations 1

GET /get-document Fetch a document #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/docrocket-ai:docrocket-ai-get-document-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

docrocket-ai-get-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DocRocket Get Document API
  description: 'DocRocket surfaces: (1) **HTTPS JSON API** at `api.docrocket.ai/v1` — POST a single JSON envelope with `action` plus optional `account_id`, `user_id`, and a `body` object for action-specific fields. Use an Auth0 access token or DocRocket API key JWT in `Authorization: Bearer`. (2) **MCP-aligned HTTP paths** on the MCP gateway for high-level document flows. (3) **Direct Lambda invoke** with the same envelope shape for batch/tool integrations.'
  version: 1.0.0
  contact:
    email: hello@docrocket.ai
    url: https://docrocket.ai
  x-mcp-endpoint: https://mcp.docrocket.ai/v1/mcp-tools/docrocket-control/mcp
servers:
- url: https://api.docrocket.ai/v1
  description: Production HTTPS API (Auth0 or API key JWT)
- url: https://mcp.docrocket.ai/v1/mcp-tools/docrocket-control
  description: DocRocket MCP HTTP gateway (OAuth / MCP client flows)
security:
- oauth2: []
tags:
- name: Get Document
paths:
  /get-document:
    get:
      servers:
      - url: https://mcp.docrocket.ai/v1/mcp-tools/docrocket-control
        description: MCP gateway base URL for these paths
      operationId: docrocket_get_document
      summary: Fetch a document
      description: Retrieve a previously generated document's metadata, PDF URL, and shareable web URL.
      parameters:
      - name: document_id
        in: query
        required: true
        schema:
          type: string
        description: The document ID returned by docrocket_generate_document
      responses:
        '200':
          description: Document metadata
          content:
            application/json:
              schema:
                type: object
                properties:
                  document_id:
                    type: string
                  web_url:
                    type: string
                  pdf_url:
                    type: string
                  brand_name:
                    type: string
                  template:
                    type: string
                  title:
                    type: string
                  generated_at:
                    type: string
                    format: date-time
      tags:
      - Get Document
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Auth0 access token (DocRocket SPA audience) or DocRocket-issued API key JWT.
    oauth2:
      type: oauth2
      description: OAuth 2.0 via DocRocket account. No API keys needed.
      flows:
        authorizationCode:
          authorizationUrl: https://app.docrocket.ai/oauth/authorize
          tokenUrl: https://app.docrocket.ai/oauth/token
          scopes:
            documents:write: Generate documents
            documents:read: Read documents
            brands:write: Create and update brands
            brands:read: Read brands
            templates:read: Read templates