Skip to main content
Facebook Messenger Endpoint logo
The Facebook Messenger Endpoint enables you to connect AI Agents to the Facebook Messenger platform.

Prerequisites

Generic Endpoint Settings

Learn about the generic Endpoint settings on the following pages:

Specific Endpoint Settings

How to Set Up

  1. Log in to your Facebook account. Go to the Pages section.
  2. Click Create New Page, select a type (Business or Community), and provide a name and category.
  3. Go to the Facebook (Meta) Developer Center.
  4. Click Manage Apps, then Add a New App.
  5. Fill in the required details to complete the app creation.
  6. In your app’s product overview, locate Messenger and click Set Up.
  1. Go to Messenger > Access Tokens. Add the Facebook Page created earlier.
  2. Click Generate Token, acknowledge the warning, and copy the token.
  1. In the left-side menu of the Cognigy.AI Project, go to Deploy > Endpoints.
  2. On the Endpoints page, click + New Endpoint.
  3. In the New Endpoint section, do the following:
    1. Select the Messenger Endpoint type.
    2. Add a unique name.
    3. Select a relevant Flow from the list.
  4. Open the Facebook Page Setup section. Paste the Page Access Token from the Facebook App.
  5. (Optional) Enter your App ID and App Secret for additional security.
  6. Copy the Endpoint URL for later use.
  1. Go to the Facebook app. Under Messenger > Webhooks, click Add Callback URL.
  2. Paste the Endpoint URL as the callback URL.
  3. Enter the Verify Token from Cognigy.AI:
    • For https://trial.cognigy.ai, use the token 6a1ed94ef26462d1a529ab80afabe135e5ac7cc8b414ef762e1208f3339f887196d3433c996c0f30ea15295fbd86293cd7516abaa9b9e78d641ebb514eea32b4.
    • For other environments, contact Cognigy technical support for more information.
  4. Click Verify and Save.
  5. Add Subscription Fields: select messages, messaging_postbacks, and optionally messaging_referrals. Save the settings.

More Information

Last modified on June 15, 2026