infipostdocs
Clipping

Get a Clipping

GET /clipping/{id} — Infipost Public API

GET/public/v1/clipping/{id}

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
curl --request GET \
  --url 'https://api.infipost.asia/public/v1/clipping/{id}' \
  --header 'Authorization: YOUR_API_KEY'

Authorization

Authorizationstring · headerrequired

Workspace API key or OAuth access token. Send the token directly without a Bearer prefix.

Parameters

idstring · pathrequired

ID of the clipping

Response

The clipping and its clips

application/json
{
  "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"
    }
  ]
}
idstring
urlstring

The YouTube URL that was clipped

statusstring

The step the clipping is on. `completed` and `failed` are final

"analysing""transcribing""picking""rendering""completed""failed"
errorstringnull

Why the clipping failed. A completed clipping can also carry an error when something after the rendering (like the draft posts) went wrong

titlestringnull

Title of the source video, known after the analysing step

thumbnailstringnull

Thumbnail of the source video

durationintegernull

Length of the source video in seconds

createdAtstring
clipsarray[]
Show child attributes
idstring
titlestring

Title written for the clip

contentstring

Post text written for the clip

startnumber

Start of the clip in the source video, in seconds

endnumber

End of the clip in the source video, in seconds

statusstring
"pending""completed""failed"
errorstringnull

Why this clip failed

mediaIdstringnull

ID of the clip in the media library

pathstringnull

Hosted URL of the rendered clip. Works as a media URL in Create Post

thumbnailstringnull

URL of the clip's thumbnail

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.