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

# Download the background check as a PDF

> One PDF for the whole deal - a contents index, the outcome, every policy check, and each subject's findings. Renders the same data the background check page shows, and returns the file itself rather than a JSON envelope, so a client can save the response directly.




## OpenAPI

````yaml https://app.herondata.io/swagger get /api/end_users/{end_user_heron_id}/background_check/pdf
openapi: 3.0.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data API
  version: '2021-07-19'
servers:
  - description: Production
    url: https://app.herondata.io
security:
  - ApiKeyAuth:
      - key_XXX
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/
paths:
  /api/end_users/{end_user_heron_id}/background_check/pdf:
    get:
      tags:
        - EndUsers
      summary: Download the background check as a PDF
      description: >
        One PDF for the whole deal - a contents index, the outcome, every policy
        check, and each subject's findings. Renders the same data the background
        check page shows, and returns the file itself rather than a JSON
        envelope, so a client can save the response directly.
      parameters:
        - description: The Heron ID of the end user
          in: path
          name: end_user_heron_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf:
              schema:
                format: binary
                type: string
          description: The rendered PDF, as an attachment.
        '404':
          description: End user not found, or no background check has been run for the deal
        '409':
          description: The deal's background check is still running, or did not succeed
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````