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

# Export a submission as PDF

> Exports a single submission as a PDF attachment (filename `form_data.pdf`). For signable forms, the PDF includes the respondent's signature images.




## OpenAPI

````yaml openapi-forms GET /api/forms/{form_id}/submissions/{submission_id}/submission-pdf
openapi: 3.0.0
info:
  title: Paubox Forms API
  description: >
    The Paubox Forms API has two kinds of endpoints. Public, respondent-facing
    endpoints (retrieving a form definition for rendering and submitting a form
    response) require no authentication. Authenticated management endpoints
    (creating, listing, updating, copying, archiving forms, and reading or
    exporting submissions) require a Paubox API key with the "forms" scope, sent
    as `Authorization: Bearer YOUR_API_KEY`. API keys are generated in the
    Paubox dashboard.
  version: 1.0.0
servers:
  - url: https://api.paubox.com/v1/forms
    description: Paubox Forms API
security: []
tags:
  - name: Forms
    description: Retrieve form definitions and accept submissions
  - name: Form management
    description: Create, list, update, copy, and archive forms (requires API key)
  - name: Submissions
    description: List and export form submissions (requires API key)
paths:
  /api/forms/{form_id}/submissions/{submission_id}/submission-pdf:
    get:
      tags:
        - Submissions
      summary: Export a submission as PDF
      description: >
        Exports a single submission as a PDF attachment (filename
        `form_data.pdf`). For signable forms, the PDF includes the respondent's
        signature images.
      operationId: exportSubmissionPdf
      parameters:
        - name: form_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID of the form
        - name: submission_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID of the submission to export
      responses:
        '200':
          description: PDF file with the submission
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '401':
          description: Missing or invalid API key, or the key lacks the "forms" scope
        '500':
          description: >
            Form or submission not found. The service currently returns 500
            (rather than 404) when either the form or the submission does not
            exist.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Paubox API key sent as `Authorization: Bearer YOUR_API_KEY`. API keys
        are created in the Paubox dashboard and must have the "forms" scope; a
        key without the forms scope receives 401 Unauthorized. A valid key used
        against a resource that belongs to a different customer receives 403
        Forbidden.

````