Skip to main content
POST
/
markdown
/
render
Render markdown to a PDF
curl --request POST \
  --url https://pdfs.platform.arb.inc/markdown/render \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "markdown": "# Sample Document\n\nThis is **bold text** and this is *italic text*.\n\n- Item 1\n- Item 2\n- Item 3\n"
}
'
"%PDF-1.7 ... (binary pdf data) ... %%EOF"

Authorizations

Authorization
string
header
required

access token

Body

application/json
markdown
string
required

The markdown content to render into a PDF.

Example:

"# Sample Document\n\nThis is **bold text** and this is *italic text*.\n\n- Item 1\n- Item 2\n- Item 3\n"

Response

200 - application/pdf

PDF successfully rendered from markdown.

The rendered PDF file.

Example:

"%PDF-1.7 ... (binary pdf data) ... %%EOF"