IGSID: the Instagram-scoped user ID and how to read a profile

What the IGSID is, why it differs from one account to another, where it shows up in the webhook and how to read a contact’s name and username.

The IGSID, or Instagram-scoped User ID, is the identifier Meta creates when a person comments on or messages an Instagram professional account. It represents that person in front of that account, not the person across all of Instagram. It is the value that arrives in the webhook as the message sender, and the one your app uses to reply and to read the contact’s profile, with name, username and picture, as long as the person has given the consent Meta requires.

What is an IGSID?

The Instagram Platform overview explains that when someone interacts with your customer’s professional account, through a comment or a message, an Instagram-scoped User ID is created that represents that person on that app. The same page says the ID is specific to the person and the Instagram account they are interacting with.

The Messenger Platform follows a similar rule: a PSID is created when the person messages a Facebook Page, and an IGSID when they message an Instagram professional account. The Messenger Platform overview adds that this scoped ID allows you to map interactions for the same person across multiple messaging apps. For your contact database, though, what counts is the person-and-account pair, because the IGSID is specific to that combination.

Why does the IGSID differ between accounts?

Because the scope is the account. If the same person messages two different professional accounts, each account sees a different IGSID for them. For an agency or a CRM serving many customers, that has three direct consequences.

  • Your contact key is the pair of connected account and IGSID, never the IGSID alone.
  • You cannot merge one customer’s contact with another’s automatically through the IGSID.
  • An IGSID stored for one account is useless for sending from a different account.

Instagram and Facebook do not mix either. The Messenger Platform overview says a person logged in to Facebook cannot message your Instagram professional account, and vice versa. And user IDs from Facebook Login integrations are app-scoped and do not work with the Messenger Platform. Each channel’s identifiers are compared in the article on PSID, IGSID, wa_id and BSUID.

Where does the IGSID show up?

In the messaging webhook. The user profile page says the IGSID is the value of the messages.sender.id property when the user sends a message. That is the value you store as the contact identifier and use as the recipient when you reply.

Two precautions prevent fake contacts and misdirected sends. The first is the echo: messages sent by the account itself arrive with is_echo: true and should not become a new contact, so filter echoes before you create records. The second is private replies to comments: there the recipient is given as recipient.comment_id, the comment’s ID, not an IGSID. That flow is in the article on comments vs direct messages, and webhook fields are in the article on messaging webhooks.

How do you read the contact’s name and username?

With a GET on the IGSID itself, requesting the profile fields. The Instagram Login user profile page shows the call with these fields:

# Profile of the person who sent a message (the IGSID arrives in messages.sender.id) # Called with the connected professional account's token GET https://graph.instagram.com/<IGSID> ?fields=name,username,profile_pic,follower_count,is_user_follow_business,is_business_follow_user
  • name: the person’s name. It can be null, so keep a fallback such as the username.
  • username: the Instagram username.
  • profile_pic: the profile picture URL. The documentation warns that the URL will expire in a few days.
  • follower_count: the number of followers.
  • is_user_follow_business and is_business_follow_user: whether the person follows the account and whether the account follows the person.

The call requires the instagram_business_basic and instagram_business_manage_messages permissions. The picture needs extra care: since the URL expires in a few days, do not treat it as permanent data. Fetch the profile again when you need the picture after that, or show a default avatar.

When does reading the profile fail?

When consent is missing or the person has blocked the account. The user profile page says consent is set only when the Instagram user sends a message to the professional account, or taps an ice breaker or a persistent menu item. Without it, the API returns an error saying user consent is required to access the user profile.

SituationProfile read
The person sent the account a messageAllowed
The person tapped an ice breaker or the persistent menuAllowed
The person only commented on a postRefused: commenting does not grant consent
The person blocked the professional accountRefused: the app cannot view the profile

The comment case is confusing because an IGSID is also created when someone comments. Having the ID does not mean having consent. Keep the two as separate states in your data model: the contact exists from the comment onward, but the profile can only be read after a message or a tap on an ice breaker or menu item.

How should you model a contact around the IGSID?

Based on the rules above, a simple Instagram contact model covers these points:

  • Unique key: connected account plus IGSID.
  • Origin: message, comment, ice breaker or menu, so you know whether you have consent to read the profile.
  • Profile: name, which can be null, and username, with the date of the last read.
  • Picture: the URL plus the date it was fetched, since it expires in a few days.
  • Time of the contact’s last message, to compute the 24-hour window.

The persistent menu has one IGSID-related limit worth noting here: the documentation says you cannot customize a menu based on the recipient’s IGSID. Every contact of the account sees the same menu.

How CRPRO Hub will handle this (coming soon): on the Instagram channel, the contact will write first, and every message will arrive through the same API and the same webhooks as WhatsApp numbers. See the channel page.

Frequently asked questions

Is a person’s IGSID the same on every account?

No. The documentation says the IGSID is specific to the person and the Instagram account they interact with. The same person has different IGSIDs on different accounts.

Where do I find the IGSID of someone who sent a message?

In the messaging webhook, in the messages.sender.id property.

Why does the API refuse to read the profile of someone who commented?

Because commenting does not grant consent. Consent is set only after the person sends a message or taps an ice breaker or the persistent menu.

Can I store the profile picture URL?

You can, but it expires in a few days, according to the documentation. Read the profile again to get a valid URL.

Fontes

Documentação oficial da Meta, conferida em 8 de novembro de 2026.