Skip to main content
GET
/
v1
/
documents
/
{documentId}
/
pg_
{pageNumber}
.png
Get page image
curl --request GET \
  --url https://res.okrapdf.com/v1/documents/{documentId}/pg_{pageNumber}.png \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

API key as Bearer token: Authorization: Bearer okra_xxx

Path Parameters

documentId
string
required
pageNumber
integer
required

Response

200 - image/png

PNG image

The response is of type file.