POST
/
v1
/
template
/
{id}
/
async
All provided options are optional and will be merged with those defined in the template.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
webhook
object
required

Webhook to call when screenshot is generated.

page
object

Page options.

screenshot
object

Screenshot options, only used if Template's output is "SCREENSHOT".

pdf
object

Pdf options, only used if Template's output is "PDF".

storage
object

Response

201 - application/json
id
string
required

Id of the queued job.

status
enum<string>
required

Status of the job.

Available options:
PENDING,
RUNNING,
FAILED,
COMPLETED

Was this page helpful?