{
"input": "https://example.com/document.pdf",
"url": "https://example.com",
"width": 1280,
"format": "png"
}
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}Document
URL Screenshot
Capture a screenshot of a web page
POST
/
v1
/
document
/
url-screenshot
{
"input": "https://example.com/document.pdf",
"url": "https://example.com",
"width": 1280,
"format": "png"
}
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"input": "https://example.com/document.pdf",
"url": "https://example.com",
"width": 1280,
"format": "png"
}
| Param | Type | Description |
|---|---|---|
| url | string | Web page URL to capture |
| width | integer | Viewport width in pixels |
| format | string | Output image format (e.g., “png”, “jpg”) |
Authorizations
Body
application/json