Message Types: Inbound
Inbound messages
Text
{
"type": "txt",
"text": "Hi",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNzE3Mjg3NzkwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE5NTkxMjYyMjQ1NDY5MzozMDc2NTc3MzIxNTk5MzIwNzQ4MDgzNDY0MTY3MTIyNTM0NAZDZD"
}
Text with Postback Data
{
"type": "txt",
"text": "Hi",
"postbackText": "Hi Clicked",
"refmsgid": "msg001"
}
Image
{
"type": "image",
"text": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=1349640515851578&signature=Abya2yR944Yf4Ylz_svpwphranNp0e7zwZrA5z7LYqLyZ26EFqRerMKR3ynT61aDapoQXTpS7twx8ZPQHVw027FowxH6viKs3jnNTkPRKUgGzpsDUf3C0vHW3o0zjgASP-058t-ew5tBOhzRazct0JezecPYJnE4P1RQ9LcnOzzZ8BzTV1NoxBSpmuGLzuJbKxvkZrDAVLAjq6TiJtJoGHofjTttrg",
"url": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=1349640515851578&signature=Abya2yR944Yf4Ylz_svpwphranNp0e7zwZrA5z7LYqLyZ26EFqRerMKR3ynT61aDapoQXTpS7twx8ZPQHVw027FowxH6viKs3jnNTkPRKUgGzpsDUf3C0vHW3o0zjgASP-058t-ew5tBOhzRazct0JezecPYJnE4P1RQ9LcnOzzZ8BzTV1NoxBSpmuGLzuJbKxvkZrDAVLAjq6TiJtJoGHofjTttrg",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNzE3Mjg3NzkwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE5NTkxMjYyMjQ1NDY5MzozMDc2NTc3ODE5MjE4OTA2NTUyMDUyMzk4MzMzMDQ3NjAzMgZDZD"
}
Audio
{
"type": "audio",
"text": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=421796486652310&signature=AbzW6pWIX7jDcOxJBeoYd1IERWtEQxabEL6_AuuUUeDbbHrPh3HAfAVoOVWHEDJ0MEpZTyEWk-8tbvVfLADX6SbepnmIm3JkcbNCyat_9tcqouDfSB_4KTM9bg-RnehNFnZoka6xiCdvXiH6AtmiAHGNj62qpaoTs0TTkNqvVdKCfl-WdpcFQ4jyRaxkePSR5ggumgQGRPzyrwvB4HtW09krR7JA",
"url": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=421796486652310&signature=AbzW6pWIX7jDcOxJBeoYd1IERWtEQxabEL6_AuuUUeDbbHrPh3HAfAVoOVWHEDJ0MEpZTyEWk-8tbvVfLADX6SbepnmIm3JkcbNCyat_9tcqouDfSB_4KTM9bg-RnehNFnZoka6xiCdvXiH6AtmiAHGNj62qpaoTs0TTkNqvVdKCfl-WdpcFQ4jyRaxkePSR5ggumgQGRPzyrwvB4HtW09krR7JA",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNzE3Mjg3NzkwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE5NTkxMjYyMjQ1NDY5MzozMDc2NTc3OTU4ODcyMzk5MDg1NTQ0MjE0NzkzMjM3Mjk5MgZDZD"
}
Video
{
"type": "video",
"text": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=677757094100744&signature=Abx5QCm4r2WtVlU7G-WIX3yZ4NI9t30d8iN4QWJiz7_h4utlBbam1G3rdmQKJL4-CdFyjgLW54FRftKwMHMJiGUXX1nv0amsWIRj0rOB8bRqSjpboqIcQZVrn4-WVvdUg5o-HzXteaV8WYEZyfjyhEn0qGq0_O3uTWln0UO2Y9w4qJIuz7vqwfUQQg2_2Z_SBUckRp_W3WrbUBgWf-P9HD0lJoQ_",
"url": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=677757094100744&signature=Abx5QCm4r2WtVlU7G-WIX3yZ4NI9t30d8iN4QWJiz7_h4utlBbam1G3rdmQKJL4-CdFyjgLW54FRftKwMHMJiGUXX1nv0amsWIRj0rOB8bRqSjpboqIcQZVrn4-WVvdUg5o-HzXteaV8WYEZyfjyhEn0qGq0_O3uTWln0UO2Y9w4qJIuz7vqwfUQQg2_2Z_SBUckRp_W3WrbUBgWf-P9HD0lJoQ_",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNzE3Mjg3NzkwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE5NTkxMjYyMjQ1NDY5MzozMDc2NTc4MTU0NDY2NTU2MTM2MzkxODk1MTUxNzUxOTg3MgZDZD"
}
Post Comment
{
"type": "reply",
"text": "Amazing"
}
IG Live Comment
{
"type": "live_comment",
"text": "Amazing"
}
IG Reels Comment
{
"type": "reels_comment",
"text": "Amazing"
}
Recurring Notification Event
// Opt-In
{
"type": "notification_optin",
"timestamp": 0,
"postbackText": "Get the latest updates from the world of gaming",
"notificationToken": "8344314132832671282",
"notificationFrequency": "DAILY",
"notificationTimezone": "Asia/Kolkata",
"tokenExpire": 1668856190089,
"notificationTokenStatus": "NOT_REFRESHED"
}
// Pause Notifications
{
"type": "notification_optin",
"timestamp": 0,
"postbackText": "Get the latest updates from the world of gaming",
"notificationToken": "8344314132832671282",
"notificationFrequency": "DAILY",
"tokenExpire": 1668856190089,
"notificationTokenStatus": "NOT_REFRESHED",
"notificationStatus": "STOP_NOTIFICATIONS"
}
// Resume Notifications
{
"type": "notification_optin",
"timestamp": 0,
"postbackText": "Get the latest updates from the world of gaming",
"notificationToken": "8344314132832671282",
"notificationFrequency": "DAILY",
"tokenExpire": 1668856190089,
"notificationTokenStatus": "NOT_REFRESHED",
"notificationStatus": "RESUME_NOTIFICATIONS"
}
// Re Opt-In
{
"type": "notification_optin",
"timestamp": 0,
"postbackText": "Get the latest updates from the world of gaming",
"notificationToken": "8344314132832671282",
"notificationFrequency": "DAILY",
"notificationTimezone": "Asia/Kolkata",
"tokenExpire": 1684408190089,
"notificationTokenStatus": "REFRESHED"
}
Story Reply
{
"type": "story_reply",
"text": "Same",
"url": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=17939809034312547&signature=AbwBNpjZdBO-kZ-AMckKFXinAeyPs6DyYM98g3XxFYI1lhqb1Hoc0LbC8tSGpvv6vQyTBBn8N9diGuNlrGzHoz1k7qOxma7TVLtjZBAkS1EuScOZ3Pb_owkpRnbyIj_-ToSMS2ujlXEoXkj0RheXB03MOIUjoExEIMRNVCr8YZSKoLaBdPVnPM3TStJjzp0PkV0gNBAuHzYKwZx2aLIHU7QpkLMvQKY",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwMjYzNTI0MjU3OjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODEzOTYyNDM0ODg0NTYxNzozMDc1OTMyMDc5MzQ0OTg4OTMxNDI5ODg4MTA0NzAwMzEzNgZDZD",
"storyId": "17939809034312547"
}
Story Mention
{
"type": "story_mention",
"url": "https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id=18255558877117210&signature=AbynnRZe9cEgFKK6fKaKidPvdYb5zofMghb4NyewXAt51PgM5cAy3j3TYjRq23dyMWl-l8e06FkY_Sp0cNJrIF4ADP4P5pydRB7U0MsNg_-WjwRVs-fHwCKgEJvCm8-Luv-uUle0738hdZNZ7DCXHHYw8TVAKGz8oKdmwj8soRSFWING6690uPPZMWBRpEiswSG4Soueid23A9hNp8iJcHsIp_AAzzM",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwMjYzNTI0MjU3OjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODEzOTYyNDM0ODg0NTYxNzozMDc1OTMxNzU2NTMwMDk4MDUzOTgyMDQzMzM1NjA5NTQ4OAZDZD"
}
Share - Message Forward - Same as text
{
"type": "txt",
"text": "Hi",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNzE3Mjg3NzkwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE5NTkxMjYyMjQ1NDY5MzozMDc2NTc5ODM1ODI1MzMyNDQzNzQzNjAwOTA0ODcwMjk3NgZDZD"
}
Message Deleted Event - User unsend own message
{
"type": "event",
"text": "deleted",
"id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNzE3Mjg3NzkwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE5NTkxMjYyMjQ1NDY5MzozMDc2NTgwMjcxMDY0NTYxNzgyNTAzMzMyMDU3NzEwNTkyMAZDZD"
}
Referral Link Clicked Event - ig.me short link click
{
"type": "event",
"text": "referrallinkclicked",
"referralParam": "Shortlink clicked"
}
Updated about 2 years ago