pages.create
Create a new static website for this Vee3 account.
Returns a page id and public URL at {slug}.vee3.site. Deploy uploaded files next with pages.deploy.
Cost = 200 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the page. Does not change the public URL. At most 80 characters. | |
| slug | Yes | Page slug used for the public hostname ({slug}.vee3.site). Must be unique across Vee3. Lowercase alphanumeric characters and hyphens only; 1-48 characters; must start and end with an alphanumeric character. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL for the page (https://{slug}.vee3.site until a custom domain is attached). | |
| name | No | Display name for the page, if set. | |
| slug | No | Page slug. | |
| status | No | Current page status. | |
| page_id | No | Unique identifier for the page. | |
| hostname | No | Preview hostname ({slug}.vee3.site). Always present, including when a custom domain is attached. | |
| created_at | No | When the page was created. | |
| custom_domain | No | Custom hostname attached to the page, if any. |