Publish App
publish_appPublish the app to production or set up a custom domain — call when the user wants the app live or asks about a domain. Already-published apps needing a rebuild use republish_app instead. Read get_guides('publishing') for modes, inputs, and statuses before your first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | floot_subdomain only: subdomain label (lowercase, digits, hyphens, max 40). Ignored for custom_domain — the wizard collects the domain. | |
| projectId | Yes | ||
| add_another | No | custom_domain only: the project ALREADY has a custom domain and the user has explicitly asked for an ADDITIONAL one. Without it, a custom_domain call on a project that already has domains returns those domains instead of opening the wizard — so a user whose domain is already connected is told so rather than sent to add it again. | |
| domain_type | No | Omit to show the publish form (unpublished) or current status (published). 'custom_domain' for domain setup — a paid-plan feature (get_publish_status reports `paid`); it fails for free accounts. | |
| include_made_with_floot | No | false removes the 'Made with Floot' badge (paid plans only — fails for free accounts). Omit to keep the current setting. |