post
https://{youraccountname}.api-us1.com/api/3/prism/urlWhitelistings
Add a domain to the site tracking whitelist as a Prism whitelisting resource, which also carries the page pattern and the tracking, web personalization and conversations flags.
To whitelist a domain by name only, POST /api/3/siteTrackingDomains takes a simpler body.
{
"data": {
"attributes": {
"whitelisted_domain": "example.com",
"whitelisted_page": "*",
"conversations_enabled": false,
"wp_enabled": false,
"tracking_enabled": true
},
"type": "urlWhitelistings"
}
}{
"data": {
"type": "urlWhitelistings",
"id": "534756",
"attributes": {
"whitelisted_domain": "example.com",
"whitelisted_page": "*",
"tracking_enabled": true,
"conversations_enabled": false,
"wp_enabled": false,
"url_regex": "#^example\\.com(\\/.*)?$#",
"updated_at": "2025-07-29T05:40:11Z",
"created_at": "2025-07-29T05:40:11Z"
}
}
}