All three are properties of the Messenger Profile API, set with a POST to /me/messenger_profile and a Page access token that has pages_messaging. Each postback tap, from Get Started, an ice breaker or a postback menu item, comes back as a messaging_postbacks webhook with the payload you set. Set get_started first, because Meta requires it before a persistent menu works. Instagram supports ice breakers and the persistent menu, but Meta documents no Get Started button and no per-user menu there.
One endpoint sets all three properties
The endpoint is https://graph.facebook.com/v26.0/me/messenger_profile?access_token=PAGE_ACCESS_TOKEN (Messenger Profile API, accessed 2026-11-04). GET with ?fields= returns a data array. POST sets properties and returns {"result": "success"}. DELETE takes a fields array.
| Property | Type | What Meta says |
|---|---|---|
get_started |
Object | Its payload is sent as a messaging_postbacks event |
greeting |
Array of objects | “An array of locale-specific greeting messages to display on your Page Messenger welcome screen.” |
ice_breakers |
Array of objects | Up to 4 questions |
persistent_menu |
Array of objects | One object per locale |
account_linking_url |
String | “Must use https protocol.” |
Meta’s greeting reference page didn’t load on 2026-11-04. Its length limit and whether greetings still display are not confirmed, so don’t build a flow that depends on one.
Meta caps the API at “10 API calls per 10 minute interval,” enforced per Page. Set every property in one POST rather than one call each. In Development Mode, only people with a role on the app see the settings.
Set the Get Started button
The button sits on the welcome screen. Tapping it sends a messaging_postbacks webhook (welcome screen, accessed 2026-11-04). You need a Page token from someone who can perform the MESSAGING task, the pages_messaging permission and a messaging_postbacks subscription.
This is Meta’s sample, which runs as published. The version moves from v2.6 to v26.0, and the payload placeholder gets a value.
curl -X POST -H "Content-Type: application/json" -d '{
"get_started": {"payload": "GET_STARTED"}
}' "https://graph.facebook.com/v26.0/me/messenger_profile?access_token=PAGE_ACCESS_TOKEN"
Under Standard Access the welcome screen shows only to people with a role on the app. Meta’s page states no payload length limit for this button.
Add a persistent menu
Meta lists six requirements for the menu (persistent menu, accessed 2026-11-04). The person needs Messenger v106 or later on iOS or Android. The Page must be published, the bot set to public, and the bot must hold pages_messaging. A Get Started button must be set, and you need the Administrator role on the Page. The menu doesn’t appear when Messenger is opened in the Facebook mobile browser.
| Field | Rule |
|---|---|
locale |
At least one object must be "default", the fallback |
composer_input_disabled |
true disables the composer field; default false |
call_to_actions |
Top-level menu_item objects, “Maximum of 20 items.” Required when the composer is disabled |
menu_item.type |
web_url or postback |
menu_item.title |
“30 character limit.” |
menu_item.payload |
Required for postback, “1000 character limit.” |
menu_item.url |
Required for web_url; webview_height_ratio takes compact, tall or full |
The page describes only top-level items, so plan a flat menu of postback and link buttons. Meta prints the Page-level body alone, and this curl posts it to the Messenger Profile endpoint with the shop URL replaced by example.com.
curl -X POST -H "Content-Type: application/json" -d '{
"persistent_menu": [
{
"locale": "default",
"composer_input_disabled": false,
"call_to_actions": [
{ "type": "postback", "title": "Talk to an agent", "payload": "CARE_HELP" },
{ "type": "postback", "title": "Outfit suggestions", "payload": "CURATION" },
{ "type": "web_url", "title": "Shop now", "url": "https://www.example.com/", "webview_height_ratio": "full" }
]
}
]
}' "https://graph.facebook.com/v26.0/me/messenger_profile?access_token=PAGE_ACCESS_TOKEN"
Page-level updates “can take up to 24 hours”, so an old menu can stay on someone’s screen for a day after you change it.
Give one person a different menu
The user-level menu lives on /me/custom_user_settings and takes the person’s PSID. Meta’s sample mixes a -d JSON body with -F access_token, which curl can’t send together, so the token moves to the query string here.
curl -X POST "https://graph.facebook.com/v26.0/me/custom_user_settings?access_token=PAGE_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"psid": "PSID",
"persistent_menu": [
{
"locale": "default",
"composer_input_disabled": false,
"call_to_actions": [
{ "type": "postback", "title": "Talk to an agent", "payload": "CARE_HELP" }
]
}
]
}'
Read it back with a GET on the same path with psid=PSID. Remove it with a DELETE that adds params=[%22persistent_menu%22], which leaves the Page-level menu in place. User-level updates apply in real time, and they’re limited to “10 calls per user per 10 minutes.”
Add ice breakers
Ice breakers give a new visitor a list of frequently asked questions to start with (ice breakers, accessed 2026-11-04). “A maximum of 4 questions can be set via the Ice Breaker API.” Each locale gets its own object with call_to_actions of question and payload. The default locale is required.
This is Meta’s localized sample, which is valid JSON as published. It is compacted here, and the en_GB list is trimmed from three questions to two.
curl -X POST -H "Content-Type: application/json" -d '{
"ice_breakers": [
{
"locale": "default",
"call_to_actions": [
{ "question": "Where are you located?", "payload": "LOCATION_POSTBACK_PAYLOAD" },
{ "question": "What are your hours?", "payload": "HOURS_POSTBACK_PAYLOAD" }
]
},
{
"locale": "en_GB",
"call_to_actions": [
{ "question": "What are your hours?", "payload": "HOURS_POSTBACK_PAYLOAD" },
{ "question": "What services do you offer?", "payload": "SERVICES_POSTBACK_PAYLOAD" }
]
}
]
}' "https://graph.facebook.com/v26.0/me/messenger_profile?access_token=PAGE_ACCESS_TOKEN"
Ice breakers and Get Started compete for the same spot. Meta says “When both are set, one will take precedence over the other”. API ice breakers rank above the Get Started button, which ranks above questions set in the Page Inbox. A DELETE “will delete ALL the ice breakers”, and you can’t remove one locale.
Handle messaging_postbacks
Meta fires the event “when a person clicks a postback button, Get Started button, or persistent menu item” (messaging_postbacks, accessed 2026-11-04). The ice breaker pages say a selected question returns its payload the same way. The event carries postback.title, postback.payload and, from an m.me link, ad, QR code or welcome screen, postback.referral.
Meta’s sample on that page uses sender.user_ref and a source value that contradicts its own text, so it’s not used here. This router is built from the field reference, with the usual sender.id PSID. It runs on Python 3.9 with the standard library.
import json
ROUTES = {"GET_STARTED": "send_welcome", "CARE_HELP": "open_agent_thread", "CURATION": "send_suggestions"}
BODY = """{"object": "page", "entry": [{"id": "PAGE_ID", "time": 1458692752478, "messaging": [
{"sender": {"id": "PSID"}, "recipient": {"id": "PAGE_ID"}, "timestamp": 1458692752478,
"postback": {"mid": "MESSAGE_ID", "title": "Get Started", "payload": "GET_STARTED",
"referral": {"ref": "spring-promo", "source": "SHORTLINK", "type": "OPEN_THREAD"}}}]}]}"""
def route(body):
actions = []
for entry in body.get("entry", []):
for event in entry.get("messaging", []):
postback = event.get("postback")
if not postback:
continue
action = ROUTES.get(postback.get("payload", ""), "fallback")
ref = (postback.get("referral") or {}).get("ref")
actions.append((event["sender"]["id"], action, ref))
return actions
if __name__ == "__main__":
print(route(json.loads(BODY)))
referral.ref accepts letters, numbers, -, _ and =. source is SHORTLINK for m.me links and ADS for ads. Route unknown payloads to a fallback, because taps on a menu you already replaced can keep arriving while the Page-level update spreads.
What works on Instagram
| Feature | Messenger | Instagram Login | Facebook Login (Instagram) |
|---|---|---|---|
| Get Started button | Yes | Not documented | Not documented |
greeting |
Profile property | Not documented | Not documented |
| Ice breakers | Up to 4 questions | Up to 4, "platform": "instagram" in the body, not on desktop |
?platform=instagram, not on desktop |
| Persistent menu | Up to 20 items | platform set to instagram |
?platform=instagram |
| Per-user menu | custom_user_settings |
Not supported | Not supported |
On Instagram Login the calls go to graph.instagram.com/v26.0/me/messenger_profile with an Instagram User token (Instagram Login persistent menu, accessed 2026-11-04). Meta’s menu samples there use v20.0 and omit platform, although the text requires it. Add both before you copy them.
The Instagram menu has its own limits. “A menu is not updated in real time”, and existing conversations see a new menu only after the person refreshes the inbox. composer_input_disabled and webview_height_ratio are not available. Meta suggests keeping the menu to five items, which is guidance rather than a cap. After a tap, “You have 24 hours to respond to the person after the CTA.”
On Facebook Login the Instagram menu needs what Meta calls “Messenger API support for Instagram v226 or above” on iOS or Android. Meta’s sample breaks -d from its body across lines, so it’s joined and trimmed here (Instagram persistent menu, accessed 2026-11-04).
curl -X POST -H "Content-Type: application/json" -d '{
"persistent_menu": [
{
"locale": "default",
"call_to_actions": [
{ "type": "postback", "title": "Talk to an agent", "payload": "CARE_HELP" },
{ "type": "web_url", "title": "Shop now", "url": "https://www.example.com/" }
]
}
]
}' "https://graph.facebook.com/v26.0/me/messenger_profile?platform=instagram&access_token=PAGE_ACCESS_TOKEN"
Subscribe the Instagram account to messages and messaging_postbacks so the taps reach you. The token and webhook steps for Messenger are in the Messenger Send API setup. When a menu item like “Talk to an agent” should pass the thread to a person, use the handover protocol.
Z-API Omni team