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/:pdfIdPath Parameters
| Parameter | Type | Description |
|---|---|---|
| pdfId | string | The id returned when the PDF was created or listed |
cURL
curl --request GET \
--url https://api.ojo.so/v1/pdf/<PDF ID> \
--header 'Authorization: Bearer <API Key>'Response
200
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.