// Node.js (using fetch)
import fetch from "node-fetch";
const apiUrl = "https://api.joinoverlap.com/render";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
};
const payload = {
companyId: "brandlive-prod",
clipId: "<CLIP_ID>"
};
fetch(apiUrl, {
method: "POST",
headers,
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
import requests
api_url = "https://api.joinoverlap.com/render"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
}
payload = {
"companyId": "brandlive-prod",
"clipId": "<CLIP_ID>"
}
response = requests.post(api_url, json=payload, headers=headers)
print(response.json())
curl -X POST "https://api.joinoverlap.com/render" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"companyId": "brandlive-prod",
"clipId": "<CLIP_ID>"
}'
Render Clip
POST endpoint to re-render a clip after subtitle or trimming updates
POST
/
render
// Node.js (using fetch)
import fetch from "node-fetch";
const apiUrl = "https://api.joinoverlap.com/render";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
};
const payload = {
companyId: "brandlive-prod",
clipId: "<CLIP_ID>"
};
fetch(apiUrl, {
method: "POST",
headers,
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
import requests
api_url = "https://api.joinoverlap.com/render"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
}
payload = {
"companyId": "brandlive-prod",
"clipId": "<CLIP_ID>"
}
response = requests.post(api_url, json=payload, headers=headers)
print(response.json())
curl -X POST "https://api.joinoverlap.com/render" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"companyId": "brandlive-prod",
"clipId": "<CLIP_ID>"
}'
Endpoint
POST https://api.joinoverlap.com/render
Authentication
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Request Body
{
"companyId": "string",
"clipId": "string" // As obtained from the clip document in /workflow-results
}
// Node.js (using fetch)
import fetch from "node-fetch";
const apiUrl = "https://api.joinoverlap.com/render";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
};
const payload = {
companyId: "brandlive-prod",
clipId: "<CLIP_ID>"
};
fetch(apiUrl, {
method: "POST",
headers,
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
import requests
api_url = "https://api.joinoverlap.com/render"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
}
payload = {
"companyId": "brandlive-prod",
"clipId": "<CLIP_ID>"
}
response = requests.post(api_url, json=payload, headers=headers)
print(response.json())
curl -X POST "https://api.joinoverlap.com/render" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"companyId": "brandlive-prod",
"clipId": "<CLIP_ID>"
}'
Field Descriptions
| Field | Type | Description |
|---|---|---|
companyId | string | Organization identifier |
clipId | string | ID of the clip to re-render |
Response
{
"status": "finished" | "failed" | "rendering",
"renderUrl": "string",
"error": // if relevant
"code": // Specific error event, if relevant
}
Field Descriptions
| Field | Type | Description |
|---|---|---|
status | string | success or error |
renderUrl | string | URL of the newly rendered clip |
Performance & Behavior
- Runs synchronously
- Expected runtime:
20 seconds + video_length_seconds * 0.5
View Clip Data Model
Understand all available clip fields
Was this page helpful?