获取公众号下订阅用户
获取公众号下订阅用户
请求方法
GET:https://<your-domain-url>/media-platform/mc/qryusers.json
正文参数
HTTP 请求正文数据格式为 application/x-www-form-urlencoded
,支持以下 HTTP 表单参数:
字段 | 类型 | 描述 |
---|---|---|
mcId | String | 公众号账号 Id, 具有唯一性(必传) |
limit | Int | 分页数量 |
offset | Int | 起始数量 |
请求示例
POST /media-platform/mc/qryusers.json HTTP/1.1
Host: your-domain-url
App-Key: uwd1c0sxdlx2
Timestamp: 1408710653491
Nonce: 14314
Signature: 45beb7cc7307889a8e711219a47b7cf6a5b000e8
Content-Type: Application/x-www-form-urlencoded
mcId="mcId1"&limit=20&offset=0
返回结果
HTTP 响应正文包含具有以下结构的 JSON 对象:
字段 | 类型 | 描述 |
---|---|---|
code | Int | 返回码,200 为正常。 |
userIds | String[] | 订阅用户 列表 |
返回结果示例
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"code":200,
"userIds":[
"uccmUoQJAPjDF6uZWpfXhG",
"YH6o4Xzq9cqwpYotzJKHLD"
]
"limit":20,
"offset":0
}