快工助手跨境电商知识与商机助手

How to get the list of sticker_id with images?

Shopee 官方资料 · Shopee Open Platform 常见问题(FAQ) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.faq
语言
en
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/help_centertopic/apitopic/chattopic/developertopic/faqtopic/feature-apis

资料正文

§1 How to get the list of sticker_id with images?

Available value and its meaning

env(environment):live

region(region):sg,ph,id,vn etc.

pid(package id of a package which contains several stickers)

sid(sticker id which is same with sticker_id in the OpenAPI)

The procedure to get the sticker data:

1.combine a url with this format https://deo.shopeemobile.com/shopee/shopee-sticker-<env>-<region>/manifest.json

Response data format:

packs: [{

md5: ‘’,

pid: ‘’,

reg: [‘SG’, ‘PH’]

}]

2.According to the region you want to get for, you need to visit the above url with traversal,as long as response parameter “reg” includes your request region, you can save that pid so that you are able to get an array for the "pid" for each region.

Sample:

3.By requesting with "pid" in the array with traversal, you can get the list of "sticker_id" in each sticker package by visiting this url https://deo.shopeemobile.com/shopee/shopee-sticker-<env>-<region>/packs/<pid>/<pid>.json

Response data format:

Sample:

4.Finally, you will be able to combine the url of each sticker with this url.

https://deo.shopeemobile.com/shopee/shopee-sticker-<env>-<region>/packs/<pid>/<sid>@1x.<ext>

you need to pass the "sid" and "ext" with the above value of response. "sid" is the sticker_id in the chat OpenAPI.

Sample:

#