Apply data template
apply_data_templateUse when the user wants a contact form, waitlist, RSVP, guestbook, counter, or leaderboard on the page. Adds a ready-made data feature to a site: provisions the recipe's collection (access mode + schema) and returns the HTML block to insert into the page (then publish with update_site). Needs Pro; scoped to a site you own. See list_data_recipes for ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site to add the feature to | |
| recipe_id | Yes | A recipe id from list_data_recipes (e.g. "contact-form") | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |