公众号当天发文
请求地址 POST https://www.xmedi.cn/api/v1/wechat/accounts/posts/today。调用成功才扣费,参数错误、平台侧失败或超时不扣费。
请求参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
account_id |
string | 否 | 公众号原始 ID(gh_ 开头);不支持 __biz / 微信号 / 名称 |
gh_id |
string | 否 | 公众号原始 ID(gh_ 开头),与 account_id 等价 |
返回 data 字段
| 字段 | 类型 | 说明 |
|---|---|---|
has_more | boolean | |
items | array<object> | |
page | number | |
page_size | number | |
total | number |
调用示例
curl -X POST https://www.xmedi.cn/api/v1/wechat/accounts/posts/today \
-H "X-XMEDI-Key: xm_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"account_id":"gh_363b924965e9"}'
需要接入这个接口?
免费注册
注册后创建 API Key,或留下联系方式获取方案