Duplicate a render
Creates a duplicate of an existing render.
The duplicated render will use the same template and payload as the original render and can be customized independently.
Duplicating a render counts towards your API quota.
Parameters
id string
REQUIRED
The render id of the render that you want to duplicate.
Sample Request
Here’s a sample request to duplicate a render:
POST /v1/render/:id/duplicate
fetch(`https://api.templated.io/v1/render/${id}/duplicate`, { method: 'POST', headers: { 'Authorization' : `Bearer ${API_KEY}` }})
Response
The API returns a JSON object with the duplicated render details.
{ "id": "new-render-id-456", "url": "https://templated-assets.s3.amazonaws.com/renders/new-render-id-456.jpg", "width": 1920, "height": 1080, "format": "jpg", "status": "COMPLETED", "templateId": "template-id-123", "templateName": "Sample Template", "createdAt": "2024-01-15T10:30:00Z",}