InstagramInstagramSocial

Your Instagram Direct message threads

instagram.x.user-messages

List Instagram Direct conversations that customers started with your account

价格
free按供应商原价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/instagram.x.user-messages预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

Direct Instagram Login uses the Instagram Professional account id and an Instagram User token. Existing Facebook-backed connections use the linked Page id, add platform=instagram, and keep the same public endpoint id. Conversation ids are Graph API ids; an instagram.com/direct/t/... browser thread id is not interchangeable.

参数类型必填说明示例
路径参数
page_id字符串必填required with Facebook Page authorization: linked Facebook Page id123456789012345
ig_user_id字符串必填required with Instagram Login: numeric Instagram Professional account id17841400000000000
查询参数
limit整数可选25
fields字符串可选request participants and messages together when preparing a replyid,updated_time,participants,messages{id,from,to,message,created_time}
platform字符串必填required with Facebook Page authorization; selects Instagram rather than Messenger conversationsinstagram
  • 路径参数
  • page_id字符串必填

    required with Facebook Page authorization: linked Facebook Page id

    示例:123456789012345

  • ig_user_id字符串必填

    required with Instagram Login: numeric Instagram Professional account id

    示例:17841400000000000

  • 查询参数
  • limit整数可选

    示例:25

  • fields字符串可选

    request participants and messages together when preparing a reply

    示例:id,updated_time,participants,messages{id,from,to,message,created_time}

  • platform字符串必填

    required with Facebook Page authorization; selects Instagram rather than Messenger conversations

    示例:instagram

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.x.user-messages' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。