Skip to main content
POST
Adds domains that are allowed to use your business’s API key. Once domains are set, the key only works on those domains — this protects your credits if the key is copied from your site.

Path parameters

integer
required
ID of the business.

Body

string[]
required
List of your domains, for example ["https://first-domain.com", "https://second-domain.app"].

Response

boolean
true when the domains are added.
object
The business, including access_list with every allowed domain.