Browse documentation
Render API v1 reference
Discover template fields, approve a render under a Credits limit, and retrieve the finished file.
Authentication
Use the HTTPS origin of your Rendloom site. Generate a key in the workspace and send it only from your server with Authorization: Bearer <API_KEY>. Save it when it is shown. Each account can have one active key, and revoking it blocks further requests with that key.
List template schemas
GET /api/v1/templates
This public endpoint returns a templates array. Each entry includes templateId, version, name, medium, inputSchema and examples. Build your inputs from the schema or start with an example. Image fields use the template’s asset IDs.
For Product Card and Listing Story, you can also paste an Asset ID from My assets into an image field. The API key and uploaded image must belong to the same account.
Open the live JSON catalogQuote a render
POST /api/v1/renders
Send action: "quote", the template ID, version as a string and the field values. A successful quote returns quoteId, credits, expiresAt in Unix milliseconds, and the fixed output metadata. The quote lasts five minutes and uses no Credits.
{
"action": "quote",
"templateId": "print-in-motion",
"version": "1",
"inputs": {
"city": "Toronto",
"venue": "Cedarline Studio",
"date": "2027-03-13",
"start_time_local": "14:00"
}
}Accept a quote
POST /api/v1/renders
Use action: "accept" with the returned quote ID, accepted: true, a UUID request key, and an integer maxCredits between 0 and 100. Save the payload before sending it. If the response is lost, send the identical payload again to recover the same operation. A different payload with the same key conflicts.
{
"action": "accept",
"quoteId": "<quoteId from quote response>",
"accepted": true,
"maxCredits": 1,
"requestKey": "<one UUID for this acceptance>"
}Save the returned operationId. PNG acceptance normally returns the render result. MP4 acceptance can return before encoding finishes. Only one unfinished render is allowed per account.
Check render status
GET /api/v1/renders/{operationId}
The response includes operationId, state, templateId, inputs, output, error and expiresAt. The operation returned at acceptance uses the same shape.
- rendering
- Wait and poll the same operation.
- succeeded
- Download the finished file.
- failed
- The render failed. Check the error before requesting another quote.
- unknown
- Use the original operation ID to check again. Credits may still be reserved.
Download a file
GET /api/v1/renders/{operationId}?download=1
Send the same account’s Bearer key to receive PNG or MP4 bytes. Save the response as a binary file. Downloads are private, and final renders are available for 30 days.
Errors
Errors return a JSON object with an error message.
- 400 / 413 / 415
- Send valid JSON with Content-Type: application/json. Keep the request body at or below 8 KiB.
- 401 / 403
- Check the Bearer token and verify the account’s primary email.
- 404
- Check the ID and use a key from the account that owns the quote or work.
- 409
- The quote may have expired, the balance may be too low, a prior render may still be unresolved, or the download may be pending. Read the error before retrying.
- 410
- The output expired. Request a new quote if you still need the file.
- 422
- Check the fields, template version, or accepted Credits limit.
- 503
- Wait briefly if the service or a template asset is unavailable. Retry an interrupted acceptance with the original payload.