POST https://open-sandbox.douyin.com/api/apps/share_config
Type | 说明 |
---|---|
1 | 黑名单增加用户 |
2 | 白名单增加用户 |
3 | 黑名单删除用户 |
4 | 白名单删除用户 |
err_no
,错误信息会携带在 err_tips
中,错误码含义如下:错误号 | 描述 |
---|---|
-1 | 系统错误 |
10001 | 传入 appid 为空 |
10010 | 传入抖音号为空 |
10011 | 传入 accessToken 为空 |
11016 | accessToken 校验不通过 |
11017 | 无效的 uniqID |
11018 | 无效的操作行为类型 |
curl --location --request POST 'https://developer.toutiao.com/api/apps/share_config' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "tt5daf2b12c28****",
"uniq_id": "20107****",
"access_token": "08011218466f624b33532f75514364726168334243325a7********",
"type": 1
}'
{
"data": "string",
"err_no": 0,
"err_tips": "string"
}