whitelisted_domains Reference

Messenger Profile API

whitelisted_domains is a property of the Messenger Profile API. For information on retrieving, setting, updating, and deleting whitelisted_domains, see the Messenger Profile API Reference.

The whitelisted_domains property of your app's Messenger profile specifies a list of third-party domains that are accessible in the Messenger webview for use with the Messenger Extensions SDK, and for the checkbox plugin.

Contents

Requirements

To set or update the domain whitelist you must have the 'Administrator' role for the Page associated with the app.

whitelisted_domains Format

{
  "whitelisted_domains":[
    "<WHITELISTED_DOMAIN>",
    "<WHITELISTED_DOMAIN>",
    ...
  ]
}

Properties

Property Type Description

whitelisted_domains

Array<String>

A list of domains being used. All domains must be valid. Up to 50 domains allowed.