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

# Download the KYB investigation report (PDF)

> Renders the KYB investigation report for a case to a PDF (application/pdf, served inline) — the dashboard "Download report" action. Tenancy comes from the path (the web session must belong to the organization). Returns 503 when PDF generation is not configured for the environment (the gotenberg render service is not wired).



## OpenAPI

````yaml https://api.dataspike.io/openapi/kyb/public.json get /webapi/v4/kyb/organization/{organizationId}/verifications/{caseId}/pdf
openapi: 3.1.0
info:
  description: Know Your Business (KYB) — case creation and the embedded onboarding widget.
  title: Dataspike KYB API
  version: '1.0'
servers: []
security: []
paths:
  /webapi/v4/kyb/organization/{organizationId}/verifications/{caseId}/pdf:
    get:
      tags:
        - KYB Verifications
      summary: Download the KYB investigation report (PDF)
      description: >-
        Renders the KYB investigation report for a case to a PDF
        (application/pdf, served inline) — the dashboard "Download report"
        action. Tenancy comes from the path (the web session must belong to the
        organization). Returns 503 when PDF generation is not configured for the
        environment (the gotenberg render service is not wired).
      operationId: >-
        GET_/webapi/v4/kyb/organization/:organizationId/verifications/:caseId/pdf
      parameters:
        - description: Organization id.
          in: path
          name: organizationId
          required: true
          schema:
            type: string
        - description: KYB case id (the `id` from the list).
          in: path
          name: caseId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: d5293a33-1d10-4aa2-8ff9-4a2c9a2d1e19
            application/xml:
              schema:
                $ref: d5293a33-1d10-4aa2-8ff9-4a2c9a2d1e19
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrCaseNotFound'
            application/xml:
              schema:
                $ref: '#/components/schemas/ErrCaseNotFound'
          description: Case not found.
        default:
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/uint8'
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/uint8'
                type: array
          description: PDF file (application/pdf).
      security:
        - Session: []
components:
  schemas:
    ErrCaseNotFound:
      description: ErrCaseNotFound schema
      example:
        code: case_not_found
        message: Case not found
      properties:
        code:
          example: email_otp_expired
          type: string
        message:
          example: OTP has expired
          type: string
        param:
          nullable: true
          type: string
      type: object
    uint8:
      description: uint8 schema
      maximum: 255
      minimum: 0
      type: integer
  securitySchemes:
    Session:
      description: Session cookie for web dashboard authentication.
      in: cookie
      name: ds-prod-session
      type: apiKey

````