Skip to Content
Get PDF

Get PDF

Send a GET request to this endpoint to retrieve one generated PDF.

ℹ️

You will need to authenticate to use this API. See authentication.

Request

GET https://api.ojo.so/v1/pdf/:pdfId

Path Parameters

ParameterTypeDescription
pdfIdstringThe id returned when the PDF was created or listed
curl --request GET \ --url https://api.ojo.so/v1/pdf/<PDF ID> \ --header 'Authorization: Bearer <API Key>'

Response

Successfully retrieved the PDF.

{ "id": "pdf-id.pdf", "pdfUrl": "<content domain>/path/to/document.pdf", "pages": 2, "createdAt": "2026-09-28T12:34:56Z" }

pdfUrl has no scheme. Prefix it with https:// to fetch the file.