> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dekasign.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read hosted PDF

> Not an integration-key endpoint. Requires the dedicated session/identity flow described in the guide.



## OpenAPI

````yaml /openapi.json get /api/v1/hosted-editor/{sessionId}/document
openapi: 3.0.3
info:
  title: DekaSign sandbox and session API
  version: '2026-10-18'
  description: >-
    Management endpoints are sandbox-only and may return SANDBOX_API_DISABLED on
    production hosts. Template authoring and human approval decisions are not
    machine-key APIs. Session routes are separately authenticated. Responses are
    intentionally extensible; narrative guides document key fields. This
    specification does not grant access or enable feature flags.
servers:
  - url: https://{workspace}.dekasign.com
    description: Use the authorized sandbox workspace supplied by your administrator.
    variables:
      workspace:
        default: your-workspace
security: []
paths:
  /api/v1/hosted-editor/{sessionId}/document:
    get:
      tags:
        - hosted-editor
      summary: Read hosted PDF
      description: >-
        Not an integration-key endpoint. Requires the dedicated session/identity
        flow described in the guide.
      operationId: get_hosted_editor_sessionId_document
      parameters:
        - name: sessionId
          in: path
          required: true
          schema:
            type: string
          description: Opaque secret session credential; do not log.
      responses:
        '200':
          description: Private PDF bytes.
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid operation or layout.
        '401':
          description: Invalid or expired credential/session.
        '403':
          description: Scope, environment, tenant or authority denied.
        '404':
          description: Not found or outside app scope.
        '409':
          description: Stale version, active usage or idempotency conflict.
        '422':
          description: Invalid schema or required idempotency key.
        '429':
          description: Rate limited.
        '503':
          description: Sandbox disabled or operation temporarily unavailable.
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.