Add a domain to the site tracking whitelist by name. Site tracking must be enabled first (PUT /api/3/siteTracking) - adding a domain while it is disabled returns 403.
A name may begin with * to whitelist subdomains (for example *.example.com), and must otherwise match /^\*?[a-zA-Z0-9-.]*[a-zA-Z0-9]$/: no scheme, no port, no path. Supply the bare domain, not a URL.
The response echoes the submitted object with 201. This is the v3 equivalent of the API v2 tracking/whitelist action, which took a domain parameter and answered {"domain": ..., "success": 1}; v3 reports the outcome with the status code instead of a success flag. Use POST /api/3/prism/urlWhitelistings when you need to set the page pattern or the web personalization and conversations flags at the same time.
