Video ClipsCreate Content clip
Video Clips

Create Content clip

curl -X POST "https://api.videograph.ai/video/services/api/v1/contents/example_string/clips" \
  -H "Content-Type: application/json" \
  -H "Authorization: Basic YOUR_CREDENTIALS" \
  -d '{
  "title": "example_string",
  "description": "example_string",
  "tags": [
    "example_string"
  ],
  "metadata": [
    {
      "key": "example_string",
      "value": "example_string"
    }
  ],
  "startTimeInSecs": 42,
  "endTimeInSecs": 42
}'
{
  "status": "Success",
  "message": "Updated video details",
  "code": 200,
  "data": {
    "title": "Video title",
    "description": "Video description",
    "contentId": "",
    "tags": [
      "tag1",
      "tag2"
    ],
    "metadata": [
      {
        "key": "abc",
        "value": "pqr"
      }
    ],
    "playback_policy": [
      "public",
      "signed"
    ],
    "mp4_support": true,
    "save_original_copy": true,
    "statusId": 1,
    "status": "Processing",
    "duration": 100,
    "thumbnails": [],
    "created_at": 0
  }
}
POST
/video/services/api/v1/contents/{CONTENT_ID}/clips
POST
Security Scheme
Basic Authentication
Usernamestring
Required

Username for basic authentication

Passwordpassword
Required

Password for basic authentication

path
CONTENT_IDstring
Required

Provide the Content ID as available in Videograph dashboard.

Content-Typestring
Required

The media type of the request body

Options: application/json
descriptionstring

Describe your content.

tagsarray

Provide a list of tags that best describe your clip.

metadataarray

Provide clip metadata as key value pairs.

startTimeInSecsinteger
Required

Mention clip start time in seconds from start of the video.

Format: int64
endTimeInSecsinteger
Required

Mention clip end time in seconds from start of the video.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

basicAuth
header
Authorizationstring
Required

Basic authentication credentials. Provide username and password encoded in Base64 format: Basic base64(username:password)

Path Parameters

CONTENT_IDstring
Required

Provide the Content ID as available in Videograph dashboard.

Body

application/json
descriptionstring

Describe your content.

tagsarray

Provide a list of tags that best describe your clip.

metadataarray

Provide clip metadata as key value pairs.

startTimeInSecsinteger
Required

Mention clip start time in seconds from start of the video.

endTimeInSecsinteger
Required

Mention clip end time in seconds from start of the video.

Responses

OK

Was this page helpful?
Built with Documentation.AI

Last updated Dec 29, 2025