List PDFs
Send a GET request to this endpoint to retrieve a list of generated PDFs. Images are listed separately by List Images.
ℹ️
You will need to authenticate to use this API. See authentication.
Request
GET https://api.ojo.so/v1/pdfQuery Parameters
| Parameter | Type | Description |
|---|---|---|
| page | number | (Optional) Page number for pagination (default: 1) |
| pageSize | number | (Optional) Number of items per page (default: 10) |
| sort | string | (Optional) Sort order: ‘asc’ or ‘desc’ (default: ‘desc’) |
cURL
curl --request GET \
--url 'https://api.ojo.so/v1/pdf?page=1&pageSize=10&sort=desc' \
--header 'Authorization: Bearer <API Key>'Response
200
Successfully retrieved the list of PDFs.
{
"items": [
{
"id": "pdf-id-1.pdf",
"pdfUrl": "<content domain>/path/to/document1.pdf",
"pages": 2,
"createdAt": "2026-09-28T12:34:56Z"
}
],
"totalItems": 1,
"totalPages": 1,
"currentPage": 1,
"pageSize": 10
}pdfUrl has no scheme. Prefix it with https:// to fetch the file.