Polyv Help Center

Help Center

Get Invitation Poster QR Code URL

Updated: 2025-11-20 18:36:49

Purpose

Retrieve the user-defined invitation poster QR code URL for display on the invitation poster (can be used for mini-programs and other page integrations).

Details

After setting the interface URL, when the invitation poster is loaded on the viewing page, the server will make a GET request to the configured URL to obtain the QR code returned by the user, and render it on the invitation poster. For example:

http://abc.com/test.do?channelId=2453970&invitePosterId=13dradfdada&timestamp=1629334739239&sign=109ee59cd94091f9d37228ee85231e4f

Request Parameter Description

Parameter Type Required Description
channelId Integer Yes Channel ID
invitePosterId String Yes Inviter ID (invitation poster feature)
timestamp Long Yes 13-digit timestamp
sign String Yes Encrypted string for verification, generated by the rule md5(AppSecret+timestamp), where AppSecret is the live streaming system's secret key
saleCode String No Sales ID (one-customer-one-code feature)
inviteCustomerId String No Customer ID bound to the salesperson (one-customer-one-code feature)
inviteWatchSaleId String No Inviter ID (invitation viewing feature)

Note: If invitePosterId, saleCode, inviteCustomerId, or inviteWatchSaleId are passed, they need to be carried in the URL link when the invitee enters the viewing page (e.g., https://live.polyv.cn/watch/{channelId}?invitePosterId={invitePosterId}&saleCode={saleCode}&inviteCustomerId={inviteCustomerId}&inviteWatchSaleId={inviteWatchSaleId})

Response Parameter Description

Parameter Type Description
code Integer Response code (200 for success, other numbers for failed requests)
message String Error message
data Object Response data
status String Response status (success for success, error for failure)
data.qrcodeUrl String QR code URL
联系客服,在线咨询