Skip to main content

v2.livestream.get_session_detail

GET /api/v2/livestream/get_session_detail

Get basic information about the live streaming room, including cover, title, description, type (test live or normal live), create time, update time, stream url, etc. (For TW, ID, TH, PH, MY, SG, VN)

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/livestream/get_session_detail

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.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
user_idint1Shopee's unique identifier for a user.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by(depends on different APIs) partner_id, api path, timestamp, access_token, user_id and partner_key via HMAC-SHA256 hashing algorithm.

Request Parameters

NameTypeRequiredSampleDescription
session_idint64True6236215The identifier of livestream session.

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.
request_idstringe3e3e7f3360690a5b55f0689f8a4e801The identifier for an API request for error tracking.
responseobjectDetail informations you are querying.
session_idint646236215The identifier of livestream session.
titlestringtest titleThe title of the livestream session.
descriptionstringtest descriptionThe description of the livestream session.
cover_image_urlstringhttps://cf.shopee.sg/file/id-11134104-7r98o-m9y7ly25ngg927The cover image URL of the livestream session.
statusint321The status of the livestream session, the enumeration values are as follows: 0 - Initial 1 - Ongoing 2 - Ended
share_urlstringhttps://live.test.shopee.co.id/share?from=live&session=6905656The share link of the livestream session.
is_testbooleanfalseIndicate whether this livestream session if for testing purpose only.
create_timeint641747651742003The creation time of the livestream session. It's unix timestamp in seconds.
update_timeint641747651742003The update time of the livestream session. It's unix timestamp in seconds.
start_timeint641747651742003The start time of the livestream session, 0 if session is not started yet. It's unix timestamp in seconds.
end_timeint641747651742003The end time of livestream session, 0 if session is not ended yet. It's unix timestamp in seconds.
stream_url_listobject
push_urlstringrtmp://push-zl.lvb.test.shopee.co.id/liveThe push stream url for the livestream session.
push_keystringid-test-1987885338002432-6905656?zlSecret=61ef843a6d8e48357ac3d94db52447bf&zlTime=682FF4B1&pushDomain=push-zl.lvb.test.shopee.co.id&cdnID=ZENLAYER&session_id=6905656The push stream key for the livestream session.
play_urlstringhttp://play-zl.livestream.test.shopee.co.id/live/id-test-1987885338002432-6905656.flv?auditkey=1.0~9EzaSlc1o3iNfkh\_yixD-7yKuXaLPvJNR3CXbUw\_8mN08xmA2QEcpACaVOBSP61kDO4cbhwVwM5B10kAms4mgKsTQJS-ji50MBDkH-m81cE~e298bae2599bf1447f21131e2d73a6baf97bd9edcbe460a17e09cdce2c80c40d&cdnID=ZENLAYER&expire\_ts=1747714157The pull stream url of the livestream session.
domain_idint6457The identifier of the stream domain, need to be passed in request for v2.livestream.start_session.