Set the approved sites
Replaces the business’s approved sites with embedDomains: send every site each time, and an empty list to remove them all. Each entry is reduced to its origin (https://host, with a port if you give one): a path, query or trailing / is dropped, and duplicates are removed. Needs a live key, and the key’s owner must be an owner or admin of the business. At most 5 saves per minute.
AgentaOS-Account header. The two must match, or the call returns 403 You cannot act as this business.Authorizations
Your secret key, from app.agentaos.ai -> Settings -> Developers -> API Keys. The key's prefix is both its identity and its environment: sk_test_... (sandbox, free, no verification) or sk_live_... (real money, requires business verification). A missing or invalid key returns 401.
Path Parameters
The business UUID.
Body
Every site the business approves, as https:// addresses. This list replaces the saved list.
10Response
The saved list, as stored.
Every site the business approves, as https:// addresses. This list replaces the saved list.
10