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

# Record a public resume PDF download

> Records a visitor's explicit PDF download after the browser starts saving the file. Requires access to the public resume. For password-protected resumes, first call verifyResumePassword (POST /resumes/{username}/{slug}/password/verify) with the password, then send the returned HttpOnly resume_access_<resumeId> cookie with this request. A missing or invalid access cookie returns NEED_PASSWORD (HTTP 401); the cookie expires after 10 minutes. Owner downloads are excluded. Rate limited per resume and visitor.



## OpenAPI

````yaml /spec.json post /resumes/{username}/{slug}/statistics/download
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 5.2.8
  description: Reactive Resume API
  license:
    name: MIT
    url: https://github.com/amruthpillai/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: hello@amruthpillai.com
    url: https://amruthpillai.com
servers:
  - url: https://rxresu.me/api/openapi
security:
  - apiKey: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /resumes/{username}/{slug}/statistics/download:
    post:
      tags:
        - Resume Statistics
      summary: Record a public resume PDF download
      description: >-
        Records a visitor's explicit PDF download after the browser starts
        saving the file. Requires access to the public resume. For
        password-protected resumes, first call verifyResumePassword (POST
        /resumes/{username}/{slug}/password/verify) with the password, then send
        the returned HttpOnly resume_access_<resumeId> cookie with this request.
        A missing or invalid access cookie returns NEED_PASSWORD (HTTP 401); the
        cookie expires after 10 minutes. Owner downloads are excluded. Rate
        limited per resume and visitor.
      operationId: recordResumeDownload
      parameters:
        - name: username
          in: path
          required: true
          schema:
            type: string
        - name: slug
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The download event was accepted.
          content:
            application/json:
              schema:
                type: boolean
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.

````