Skip to main content

v2.media.get_video_upload_result

GET /api/v2/media/get_video_upload_result

Use this API to retrieve the current status and result of a video upload task. You can also use video_upload_result_push to get notified immediately when a video upload reaches a final status (SUCCEEDED, FAILED, or CANCELLED).

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/media/get_video_upload_result

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
video_upload_idstringTruesg-11110201-6kh48-mepm7a0ttcw3c3The unique ID of the upload task, returned by v2.media.init_video_upload.

Response Parameters

NameTypeSampleDescription
errorstringIndicate error type if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. Empty if no error happened.
warningstringIndicate warning message you should take care.
request_idstringe3e3e7f33ee88a7454c64e7a0b546e01The identifier for an API request for error tracking.
responseobject
statusstringSUCCEEDEDCurrent status of the upload task. Possible values: - INITIATED: Upload task has been created (via init_video_upload) but no parts have been uploaded yet. - UPLOADING: Video file parts are being uploaded. The upload has started but is not yet completed. - UPLOADED: All video parts have been uploaded successfully, waiting for complete_video_upload to trigger processing. - PROCESSING: Video is being transcoded/validated by the system (duration, format, resolution checks). - SUCCEEDED: Video upload and transcoding completed successfully. Video URL and cover URL are available for use. - FAILED: Upload or processing failed (e.g., invalid format, duration not within allowed range, transcoding error). - CANCELLED: Upload task was explicitly canceled by the client (cancel_video_upload), and the video is discarded.
reasonstringDetailed fail or cancel reason, will be returned if status is FAILED or CANCELLED.
update_timetimestamp1758018336The time of video status updates.
video_infoobjectTranscoded video info, will be returned if status is SUCCEEDED.
video_urlstringhttp://play-src.vod.shopee.com/api/v4/11110201/mms/sg-11110201-6kh48-mepm7a0ttcw3c3.Video playback url.
video_thumbnail_urlstringhttp://img.sp.mms.shopee.sg/sg-11110201-6kh48-mepm7a0ttcw3c3\_coverVideo thumbnail image url.
thumbnail_widthint321920Video thumbnail image width.
thumbnail_heightint321080Video thumbnail image width.
durationint32105Video duration in seconds.
resolutionstring960x540Video resolution, e.g., "1280x1280".