Skip to main content
POST
/
v1
/
jobs
{
  "input": "https://example.com/page.html",
  "operations": [
    { "type": "html_to_pdf", "params": { "page_size": "A4", "margin": "1cm" } }
  ]
}
{
  "id": "<string>",
  "status": "pending"
}
{
  "input": "https://example.com/page.html",
  "operations": [
    { "type": "html_to_pdf", "params": { "page_size": "A4", "margin": "1cm" } }
  ]
}
ParamTypeDescription
page_sizestringOutput page size (e.g., “A4”, “Letter”)
marginstringPage margin (e.g., “1cm”, “0.5in”)

Authorizations

X-API-Key
string
header
required

Body

application/json
input
required

Single input URL

Example:

"https://example.com/video.mp4"

operations
object[]
required
Example:
[
{
"type": "transcode",
"params": { "format": "mp4", "codec": "h264" }
}
]
webhook_url
string

URL to receive job completion notification

file_size
integer

File size hint in bytes (for plan limit validation)

Response

Job accepted

id
string
status
string
Example:

"pending"