授权
API密钥

感谢使用WeShop唯象API,开始前请先购买 (opens in a new tab)API授权套餐。

之后,请点击我的API (opens in a new tab)生成API密钥,每个API套餐用户可生成5个有效的API密钥。

在请求API接口时,请求头须包含正确的密钥信息:Authorization: <API密钥>。示例:

curl --location 'https://openapi.weshop.com/openapi/v1/agent/info?agentName=aimodel&agentVersion=v1.0' \
--header 'Authorization: <API密钥>'