How do you create an Instagram direct message link?

GuidesBy Team Winly 7 min read

On this page
  1. How to build your ig.me link
  2. Where to put the link
  3. How the ref parameter works
  4. What happens when someone taps it
  5. Why a link might not work
  6. How Winly fits
  7. Frequently asked questions
  8. Sources

An Instagram direct message link is a short URL, https://ig.me/m/yourusername, that opens a chat with your account. Swap yourusername for your handle without the @. Meta runs the ig.me service. Tapping the link opens a new thread, or your existing one with that person. Add ?ref= to tell links apart.

  • The format. https://ig.me/m/<USERNAME>, with your handle and no @. This comes from Meta's documentation.
  • Label each placement. Add ?ref=label. Your DM tool must read it from Meta's webhook.
  • Test on a phone. Meta says ig.me links are not supported on Instagram Web.
  • The person opens the chat. Instagram shows them a notice that they came from a link.

We make Winly.

Get Started for FreeSee a Demo

Free plan: connect your own AI, no card. Workflows are on Sales team plans.

How do you build your ig.me link?

Put your Instagram username after https://ig.me/m/, then open the result on a phone to test it. Meta documents the format, and Meta operates the ig.me service.

  1. Copy your username. Use your handle without the @. Use the account that your DM tool is connected to.
  2. Add it to the format. The link is https://ig.me/m/<USERNAME>. For the made-up account northwind.studio, that is https://ig.me/m/northwind.studio.
  3. Add a label if you will use more than one link. Put ?ref= and a short label on the end: https://ig.me/m/northwind.studio?ref=bio.
  4. Test it on a phone. Open it from a different Instagram account on the Instagram app. Meta says ig.me links are not supported on Instagram Web, so a desktop test can mislead you.
Illustration. A chat opened from https://ig.me/m/northwind.studio?ref=bio. Sample data.

Which link type do you need?

Instagram and Messenger link formats, from Meta's documentation
LinkFormatUse it when
Plain ig.me linkhttps://ig.me/m/<USERNAME>You have one placement and do not need to tell links apart.
ig.me link with a refhttps://ig.me/m/<USERNAME>?ref=<REF>You use several placements and want each chat labelled with where it came from.
m.me link (Facebook)http://m.me/PAGE-NAMEYou want the same thing for your Facebook Page. Meta also lists a text parameter for m.me, which prefills a message.

Sources: Meta: ig.me links and Meta: m.me links, checked Nov 23, 2026. Meta's ig.me page lists ref and does not list a prefilled-text parameter.

Where should you put an Instagram DM link?

Meta suggests your website contact page, email newsletters, QR codes on packaging or signage, and text messages. Give each placement its own ref label so you can see which one worked.

Placements for an Instagram DM link, with a ref label for each (the labels are our examples)
PlacementMeta's documented useExample ref label
Contact page on your websiteMeta lists this use: people can message you instead of calling.site-contact
Email newsletter or signatureMeta lists email newsletters among the places to use an ig.me link.email-footer
QR code on packagingMeta's example: a customer reaches you for support or a coupon toward the next purchase.box-insert
QR code on a poster, billboard, TV ad or in a storeMeta's example: people sign up for a loyalty or membership account.expo-2026
Text message to a callerMeta's example: give callers the option to message you on Instagram, by sending an ig.me link with a ref.sms-missed-call

Tell people what to send. Next to the link, add a short prompt such as "Message us the word PRICING." A keyword gives a Winly workflow with the Message Text trigger something to match.

How does the ref parameter track where chats come from?

Meta passes the ref value to your server through a webhook when the person opens the chat. The link alone reports nothing, so your DM tool has to receive that webhook.

Rules for the ref parameter, from Meta's ig.me documentation
RuleWhat Meta says
Allowed charactersLetters, numbers, and the characters -, _ and =.
LengthA string of up to 2,083 characters.
New conversationsIce breakers must be set up on your Instagram experience for the ref to arrive on a new thread.
Published accountThe Instagram account the app is connected to must be published. People with the developer, tester or admin role on your app are the exception.
App versionThe person needs Instagram on iOS or Android, version 235 or above.

Source: Meta: ig.me links, checked Nov 23, 2026. Meta lets you set up to 4 ice breakers; see Meta: Instagram ice breakers.

Illustration. Once your DM tool reads the ref, every chat shows the placement it came from. Sample data.

What happens when someone taps the link?

Instagram opens a new thread if the person never messaged you, and the existing thread if they did. For a link with a ref, Meta describes three cases.

New chat from an ice breaker

The person taps one of your ice breakers.

Your tool receives a messaging_postback event with the ref.

New chat with a typed message

The person skips the ice breakers and sends a message.

Your tool receives a messages event with the ref.

Back in an existing chat

The person opens your link and lands in the old chat.

Your tool receives a messaging_referral event with the ref, if your webhook is subscribed to it. Meta says this resets the 24-hour window for standard messaging.

The person sees a notice. Instagram shows the person that they opened the conversation from a link. For what you can send afterwards, read Meta's 24-hour messaging window.

Why is your Instagram DM link not working?

Most failures come down to a mistyped handle, testing on desktop, or a missing setting on the Meta side. Check the symptom below, then the fix.

Troubleshooting an Instagram DM link
SymptomLikely causeFix
Nothing opens on a computerMeta says ig.me links are not supported on Instagram Web.Test on the Instagram app on a phone.
The wrong profile opensThe username in the link is mistyped.Copy the handle again from your profile and rebuild the link.
The chat opens but your tool shows no refNo ice breakers on a new thread, an unpublished account, an old app version, or a ref with characters Meta does not allow.Work through the four rules in the ref table above.
A returning contact shows no refThe webhook is not subscribed to messaging_referral.Subscribe to that event in your app settings, or ask your DM tool vendor whether it does.

How does Winly work with your Instagram DM link?

Winly connects your Instagram account through Meta's official API. A Winly workflow can answer a keyword in a new message and give the lead an owner.

  1. Add a keyword next to the link. For example, "Message us PRICING." People who open the chat know what to send.
  2. Start a workflow from the keyword. Use the Message Text trigger with that word.
  3. Reply with a message or buttons. Use Send Message, or Send Message with Buttons with up to 3 buttons: normal buttons run their own path.
  4. Hand off. Use Add Contact Tag or Change Contact Owner so a rep picks the lead up.
Illustration. A keyword workflow: the word from your link starts it, a reply with buttons goes out, and a rep becomes the owner. Sample data.

Plans. Workflows are on Sales team plans. The Free plan ($0, 300 one-time credits, 1 Instagram account and 1 Facebook Page, no card) connects Winly to your own AI.

Related: Instagram story reply automation uses the same Message Text trigger, and Instagram comment to DM starts from a comment instead. Winly does not send cold DMs, message new followers or scrape profiles.

Frequently asked questions

What is an Instagram direct message link?

It is a short URL that opens a chat with your Instagram account: https://ig.me/m/<USERNAME>. Meta operates the ig.me service. Tapping it opens a new thread, or your existing thread with that person.

How do I find my Instagram DM link?

You build it. Take your Instagram username without the @ and put it after https://ig.me/m/. Open the result on your phone to test it.

Can an ig.me link open with a message already typed?

Meta's ig.me documentation lists a ref parameter and no prefilled-text parameter. Its m.me documentation does list text for Facebook. For Instagram, put a short prompt such as "Message us PRICING" beside the link.

Does an ig.me link work on desktop?

Meta says ig.me links are not supported on Instagram Web. For the ref parameter, Meta lists Instagram on iOS and Android, version 235 and above.

How do I tell which link a chat came from?

Add ?ref= and a label to each link. Meta passes the label to your server by webhook, so your DM tool has to receive it. Ice breakers must be set up for new threads.

Does tapping the link reset the 24-hour window?

Meta says it does when the person already has a thread with you and the link carries a ref: it resets the 24-hour window for standard messaging. To be notified, your webhook must be subscribed to messaging_referral. See Meta's 24-hour messaging window.

Can I use an ig.me link to message someone who never wrote to me?

No. The link opens a chat for the person who taps it. Winly does not send cold DMs, message new followers or scrape profiles.

Sources

Sell in Instagram and Facebook DMs as a team

Free to start. No card. Works with ChatGPT, Claude, Gemini and more. Workflows and saved replies are on Sales team plans.