← Back to API index
GET /screenshot/pdf

Retrieve rendered PDF

Options

Options are grouped for easier scanning, similar to parameter-focused docs.

App

filename

query string Optional

Optional filename for Content-Disposition attachment

id

query integer Required

Screenshot ID

Responses

200

PDF content

No JSON example provided in OpenAPI.

401

Unauthorized

{
  "success": false,
  "error": "Unauthorized",
  "code": "UNAUTHORIZED"
}
404

Screenshot or PDF not found

{
  "success": false,
  "error": "PDF not found for screenshot",
  "code": "NOT_FOUND"
}
500

Server error

{
  "success": false,
  "error": "Invalid API key",
  "code": "INVALID_API_KEY",
  "details": {
    "request_id": "req_123456"
  }
}