Messenger Platform


Opt-in Callback

This callback will occur when the Send to Messenger plugin has been tapped, or when a user has accepted a message request using Customer Matching.

When using the plugin, the optin.ref parameter is set by the data-ref field on the "Send to Messenger" plugin. This field can be used by the developer to associate a click event on the plugin with a callback.

You can subscribe to this callback by selecting the messaging_optins field when setting up your webhook.




optin object

Field Name Description Type


data-ref parameter that was defined with the entry point