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

# Download credential evaluation PDF

> Downloads a completed credential evaluation. Send exactly one of evaluationId or credentialId; credentialId selects the general evaluation regardless of configured target institutes. Returns a binary attachment, not a JSON success envelope. Each request regenerates the PDF with a new report ID and QR verification link. Poll evaluation JSON for progress instead of downloading repeatedly.



## OpenAPI

````yaml /partner-api/openapi.json get /cases/{id}/evaluation/report/pdf
openapi: 3.0.3
info:
  title: TruEnroll Partner API
  version: 1.0.0
  description: >-
    Submit academic documents and retrieve extraction, forensics, translation,
    and operator-completed evaluation results and reports.
servers:
  - url: https://eval-api.trential.dev/partner/v1
    description: Sandbox
  - url: https://api.truenroll.com/partner/v1
    description: Production
security:
  - apiKey: []
tags:
  - name: Cases
    description: Create and manage processing cases.
  - name: Results
    description: >-
      Fetch extraction, forensics, translation, and operator-completed
      evaluation results and reports.
  - name: Webhooks
    description: Register endpoints that receive case events.
paths:
  /cases/{id}/evaluation/report/pdf:
    get:
      tags:
        - Results
      summary: Download credential evaluation PDF
      description: >-
        Downloads a completed credential evaluation. Send exactly one of
        evaluationId or credentialId; credentialId selects the general
        evaluation regardless of configured target institutes. Returns a binary
        attachment, not a JSON success envelope. Each request regenerates the
        PDF with a new report ID and QR verification link. Poll evaluation JSON
        for progress instead of downloading repeatedly.
      operationId: getCaseEvaluationReportPdf
      parameters:
        - $ref: '#/components/parameters/CaseRef'
        - name: evaluationId
          in: query
          required: false
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
          description: >-
            Select one evaluation in this case, including target-specific
            evaluations. Exactly one of evaluationId or credentialId is
            required.
        - name: credentialId
          in: query
          required: false
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
          description: >-
            Select this credential's general (null-target) evaluation. Exactly
            one of evaluationId or credentialId is required.
      responses:
        '200':
          description: Binary PDF report attachment.
          headers:
            Content-Disposition:
              description: Attachment filename.
              schema:
                type: string
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid identifier or query selector.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Inactive API key or key is not a partner key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: >-
            Case not found, deleted, or outside your organization; requested
            resource is not in this case.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Evaluation is not completed yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  parameters:
    CaseRef:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: >-
        Identifies the case: its TruEnroll case ID, or the case number (the
        number shown in TruEnroll and printed on reports). Case numbers are
        unique across all organizations and lookups are scoped to your own.
  schemas:
    ErrorResponse:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
      required:
        - statusCode
        - message
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Partner API key. Also accepted as `Authorization: Bearer <key>`.'

````

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