Skip to content

Connect Messenger to Click2Reply chat

Messages your customers send on Messenger arrive in Click2Reply as chats, and your agents’ replies go back through Messenger.

  1. In the agent app, open Settings > Messaging apps and choose Messenger.
  2. Sign in with Facebook and pick the pages whose Messenger messages should arrive here. Or choose to connect with your own app, and fill in the fields below.
  3. Under New chats go to, pick the group that answers this channel, then connect.
  4. Finish the steps the app shows in the provider's console, below.

From your own Meta app: the Facebook Page ID, a page access token for it, and the app secret.

FieldKey
Facebook Page IDpage_idrequired
Page access tokenpage_access_tokenrequired, secret
App secretapp_secretrequired, secret

A secret is stored encrypted and never shown again, only a hint of it.

The app lists these under One more step in the provider's console, with the exact values to paste:

  • In your Meta app's Webhooks settings, subscribe with the callback URL and verify token the app shows.
  • Subscribe to the webhook fields it lists.

With a token holding channels.manage, connect with one call; group_id is optional:

Terminal window
curl -sS -X POST "https://api.click2reply.com/v1/channels/connections" \
-H "Authorization: Bearer $C2R_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channel":"messenger","name":"Messenger support","credentials":{"page_id":"<page_id>","page_access_token":"<page_access_token>","app_secret":"<app_secret>"}}'

The answer is { connections, manual_steps }: the connection, and each step left to do by hand as a code and the value to paste, such as the webhook URL.