Skip to content

Get RIDE (PDF)

Downloads the RIDE (Representación Impresa del Documento Electrónico) as a PDF. Only available for authorized documents.

GET /v1/documents/:accessKey/ride

Authentication

Authorization: Bearer <api-key> and X-Issuer-Id: <issuer-id> (UUID from GET /v1/issuers)

Path parameters

ParameterDescription
accessKeyThe 49-digit access key of an AUTHORIZED document

Response

200 OK — PDF file download.

Content-Type: application/pdf
Content-Disposition: attachment; filename="RIDE-<accessKey>.pdf"

The PDF is generated on demand and is not stored. Each request generates a fresh copy.

Errors

CodeStatusWhen
BAD_REQUEST400X-Issuer-Id header missing or malformed
BAD_REQUEST400Document is not in AUTHORIZED status
UNAUTHORIZED401Missing or invalid API key, or environment mismatch (sandbox key targeting a production tenant or vice versa)
FORBIDDEN403X-Issuer-Id issuer belongs to a different tenant
NOT_FOUND404X-Issuer-Id issuer does not exist
NOT_FOUND404Document not found

Comprobify API Documentation