Skip to content

API Console

Use this page to run POST /api/v1/render requests directly from the documentation.

  • pick a built-in example or paste your own JSON
  • set your endpoint and Bearer token
  • inspect PDF output, JSON errors, and response headers in one place

API Console

Postman-style runner for gPdf. Edit the request on the left and inspect PDF, error JSON, and headers on the right.

Preview PDF output, inspect error JSON, and check response headers.

  • 10-second startMinimal request to verify token, endpoint, and PDF bytes.
  • Recommended first production sampleHeader, footer, image asset, barcode, and common text fields.
  • Image asset shorthandTop-level asset + format form for object-storage images.
  • Image explicit Base64 sourceExplicit source.kind = base64 form for inline payloads.
  • Block textRecommended full text contract with frame/defaults/content.blocks.

A Bearer token is required for direct API calls.

Optional. Leave empty to let the service generate one.

Requests are sent as POST with application/json.

Response

Run a request to preview the PDF here.