InstagramInstagramSocial

Your Instagram Direct message threads

instagram.x.user-messages

List Instagram Direct conversations that customers started with your account

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/instagram.x.user-messagesPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

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.

ParameterTypeRequiredDescriptionExample
Path parameters
page_idstringRequiredrequired with Facebook Page authorization: linked Facebook Page id123456789012345
ig_user_idstringRequiredrequired with Instagram Login: numeric Instagram Professional account id17841400000000000
Query parameters
limitintegerOptional25
fieldsstringOptionalrequest participants and messages together when preparing a replyid,updated_time,participants,messages{id,from,to,message,created_time}
platformstringRequiredrequired with Facebook Page authorization; selects Instagram rather than Messenger conversationsinstagram
  • Path parameters
  • page_idstringRequired

    required with Facebook Page authorization: linked Facebook Page id

    Example: 123456789012345

  • ig_user_idstringRequired

    required with Instagram Login: numeric Instagram Professional account id

    Example: 17841400000000000

  • Query parameters
  • limitintegerOptional

    Example: 25

  • fieldsstringOptional

    request participants and messages together when preparing a reply

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

  • platformstringRequired

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

    Example: instagram

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

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

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.