Renders
Render a document
Renders template with data and returns a signed URL. Returns 200 when the render finished inside the request, 202 when it was queued. A cache hit always returns 200.
post/v1/render
Request
- Base URL: https://api.galleyrender.com
- URL: https://api.galleyrender.com/v1/render
- Auth: HTTP bearer
Request body
Example request
{
"template": "invoice@3",
"data": {
"lang": "pt-BR"
},
"options": {
"margin": "18mm"
},
"webhook_url": "https://example.com/hooks/galley"
}Response
Rendered inside the request, or served from cache.
Example response
{
"id": "rnd_7hq2m4x8k1bv",
"template": "invoice@1",
"warnings": [
{
"path": "data.deposit",
"did_you_mean": "data.deposit_amount"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.