whitelisted_domains Reference
Updated: Jul 1, 2025
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 bot’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 the
Checkbox Plugin.
To set or update the domain whitelist you must have the ‘Administrator’ role for the Page associated with the bot.
Domain Name and HTTPS Required
Domains must meet the following requirements to be whitelisted:
Served over HTTPS
Use a fully qualified domain name, such as https://www.messenger.com/. IP addresses and localhost are not supported for whitelisting.
Whitelisting in Page Settings
In addition to using the Messenger Profile API, Page admins may also update their domain whitelist in Page settings by doing the following:
- Click Settings at the top of your Page
- Click Advance Messaging on the left
- Edit whitelisted domains for your page in the Whitelisted Domains section
whitelisted_domains Format
{
"whitelisted_domains":[
"<WHITELISTED_DOMAIN>",
"<WHITELISTED_DOMAIN>",
...
]
}
|
Property
|
Type
|
Description
|
|---|
| | A list of domains being used. All domains must be valid. Up to 50 domains allowed. |
Calls to the Messenger Profile API are limited to 10 API calls per 10 minute interval. This rate limit is enforced per Page.