Set paths on your domain (which name opens which page)
set_domain_routeChoose which page or folder each name opens on the user’s own domain: path="/" is the home page, path="/autumn-plan" is https://go.acme.com/autumn-plan. Pass proposal_id or folder_id; remove=true deletes the path. A page always shows its current version (no need to set it again after a new version). The domain does not have to be live yet: set paths first and they open the moment it goes live. Whether readers can see the page is decided by that page’s own visibility (set_visibility). Names are 1–64 lowercase letters, digits and hyphens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path: / or / plus a name, such as /autumn-plan | |
| remove | No | true = delete this path (do not pass proposal_id / folder_id) | |
| hostname | No | The domain itself, such as go.acme.com; pass this or domain_id | |
| domain_id | No | The domain_id returned by bind_domain / list_domains; pass this or hostname | |
| folder_id | No | Open this folder (pass this or proposal_id) | |
| proposal_id | No | Open this page (pass this or folder_id) |