get https://api.heygen.com/v1/video.list
This endpoint retrieves a list of videos associated with the user.
Response
Field | Type | Description |
---|---|---|
code | int | Status code indicating the result of the API request (e.g., 100 for success). |
data | object | Contains the list of videos associated with the user. |
data.token | string | Pagination token to retrieve next set of videos. null if no pagination is needed. |
data.videos | array | An array of video objects. |
data.videos[].video_id | string | The unique identifier for the video. |
data.videos[].status | string | The current status of the video (e.g., completed , processing , failed , draft ). |
data.videos[].created_at | numbers | Creation time (Unix timestamp) |
data.videos[].type | string | Type of video, either GENERATED orTRANSLATED |
message | string | Similar to msg , used for returning additional messages or error details. null in this case. |