TheDocumentation Index
Fetch the complete documentation index at: https://docs.blinkpdf.io/llms.txt
Use this file to discover all available pages before exploring further.
/v1/render endpoint is the core of Blink PDF. You send a JSON body containing your Markdown content and optional document metadata, and the API returns a binary PDF file — typically in under 100 milliseconds. Use this endpoint to generate invoices, reports, documentation, letters, or any document whose content you can express in Markdown.
Only successful
200 OK render responses count toward your plan’s render quota. Requests that return an error (4xx or 5xx) are not counted.Request Headers
Your Blink PDF API key, provided as a Bearer token.Format:
Bearer sk_live_...See Authentication for details on obtaining and using your API key.Must be
application/json. The request body is always a JSON object.Request Body
The full Markdown content you want to convert to a PDF. Standard CommonMark syntax is supported, including headings, bold, italic, lists, tables, and code blocks.The maximum allowed size depends on your plan. Payloads that exceed the limit receive a
413 Payload Too Large response.Optional PDF document metadata embedded in the output file. This information is read by PDF viewers and is useful for document management systems.
Response — 200 OK
A successful request returns a binary PDF file. Write the response body directly to a.pdf file — do not attempt to read it as text or JSON.
Always
application/pdf. The response body is a raw binary PDF — write it directly to a file.Server-side render duration in milliseconds. Useful for performance monitoring and benchmarking.
A unique identifier for this request, formatted as
req_xxxxxxx. Include this value when contacting support so the team can locate your request in logs.Error Responses
| Status Code | Meaning |
|---|---|
400 Bad Request | The request body is malformed, is not valid JSON, or the required markdown field is missing |
401 Unauthorized | The Authorization header is absent or the API key is invalid or revoked |
403 Forbidden | Your plan does not include a feature used in this request |
413 Payload Too Large | The markdown field exceeds your plan’s maximum input size |
429 Too Many Requests | You have hit your plan’s rate limit. Wait the number of seconds indicated in the Retry-After response header before retrying |
500 Internal Server Error | The rendering pipeline encountered an unexpected error. If this persists, contact support with your X-Request-Id |