API Reference
Initialize Render Job
Creates a new render job with a unique ID, sets up S3 storage for template and data files, and generates presigned upload URLs if needed. Requires subscription check.
AuthorizationBearer <token>
In: header
data?null|
typestring
Value in
"react" | "latex" | "html" | "ejs" | "pptx" | "xlsx" | "docx"targetstring
Value in
"jpg" | "png" | "pptx" | "xlsx" | "docx" | "html" | "pdf"templateId?null|string
formatOpts?null|
Response Body
application/json
curl -X POST "https://api.pogodoc.com/v1/documents/init" \ -H "Content-Type: application/json" \ -d '{ "type": "docx", "target": "pdf" }'{
"jobId": "string",
"target": "pdf",
"presignedDataUploadUrl": "string",
"presignedTemplateUploadUrl": "string"
}