Get a Clipping
GET /clipping/{id} — Infipost Public API
Get the status of a clipping and its clips. Poll it (every 30 seconds is plenty) until the status is `completed` or `failed`. A `completed` clipping can still carry failed clips: every clip has its own `status`. When the status is `failed` no clip was made and the clipping minutes were given back.
curl --request GET \
--url 'https://api.infipost.asia/public/v1/clipping/{id}' \
--header 'Authorization: YOUR_API_KEY'Authorization
Authorizationstring · headerrequiredWorkspace API key or OAuth access token. Send the token directly without a Bearer prefix.
Parameters
idstring · pathrequiredID of the clipping
Response
The clipping and its clips
{
"id": "0b6f1c1e-5f0a-4c55-9a53-2f1f6f7f7c11",
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"status": "completed",
"error": null,
"title": "How we built our product",
"thumbnail": "https://i.ytimg.com/vi/VIDEO_ID/maxresdefault.jpg",
"duration": 2520,
"createdAt": "2026-09-21T10:30:00.000Z",
"clips": [
{
"id": "6d1f0a52-3c5e-4a53-8d5b-0f1b3f7c9a21",
"title": "Why we rewrote everything",
"content": "We threw away six months of work. Here is why it was the best decision we made.",
"start": 312.4,
"end": 358.9,
"status": "completed",
"error": null,
"mediaId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"path": "https://uploads.postiz.com/clip-6d1f0a52-3c5e-4a53-8d5b-0f1b3f7c9a21.mp4",
"thumbnail": "https://uploads.postiz.com/clip-6d1f0a52-3c5e-4a53-8d5b-0f1b3f7c9a21.jpg"
}
]
}idstringurlstringThe YouTube URL that was clipped
statusstringThe step the clipping is on. `completed` and `failed` are final
"analysing""transcribing""picking""rendering""completed""failed"errorstringnullWhy the clipping failed. A completed clipping can also carry an error when something after the rendering (like the draft posts) went wrong
titlestringnullTitle of the source video, known after the analysing step
thumbnailstringnullThumbnail of the source video
durationintegernullLength of the source video in seconds
createdAtstringclipsarray[]Show child attributes
idstringtitlestringTitle written for the clip
contentstringPost text written for the clip
startnumberStart of the clip in the source video, in seconds
endnumberEnd of the clip in the source video, in seconds
statusstring"pending""completed""failed"errorstringnullWhy this clip failed
mediaIdstringnullID of the clip in the media library
pathstringnullHosted URL of the rendered clip. Works as a media URL in Create Post
thumbnailstringnullURL of the clip's thumbnail
Clipping not found
{
"statusCode": 404,
"message": "Clipping not found"
}The path of a completed clip is already hosted by Infipost, so it works as a media URL in Create Post without uploading it again.