> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/introduction.md

## Article Content:

# About the Intake Forms API

The Intake Forms API creates and manages AI-generated client intake forms used in Content Collector, the Studio workspace feature for collecting project content from clients. A partner creates a form for a client project, shares it with the client by adding their email address, and the client fills out an AI-generated questionnaire. Forms live in the partner's Studio workspace, so no site ID is needed for any method.

An intake form gathers project information from a partner's client, for example
the client's name, their project details, and their answers to a tailored
questionnaire, so the partner can kick off work with everything they need.
It wraps a questionnaire with project context, the AI-generated background
material used to tailor it, the client the form is shared with, and the
client's form interaction state. The questionnaire is generated with AI the
first time the form is opened.

With the Intake Forms API, you can:

- Create, retrieve, update, and delete intake forms, including in bulk.
- Query and search intake forms across a partner's account, for example to
  export all submitted forms to an external system or to power an AI assistant
  that works with a partner's own data.
- Store AI-generated context and the source materials used to generate a form's
  questionnaire.
- Retrieve a client's submission: their answers, the files they uploaded, and
  their notes.
- Share a form with one or more clients and track when it was shared and
  when it was submitted. Clients open a shared form at
  `https://www.yoursitebrief.com/content-collector/{intakeFormId}`.
- Notify team members through Wix Automations when a client submits a form or
  adds a note to it.
- View an intake form and manage its lifecycle in Content Collector at
  `https://manage.wix.com/content-collector/partner/{intakeFormId}`.

## Finding intake forms

The API provides two ways to find intake forms in a partner's account:

- [Query Intake Forms](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/query-intake-forms.md)
  is for simple structured filtering, with sorting by `createdDate`. Use it when
  you know exactly which forms you want, for example the forms created after a
  given date.
- [Search Intake Forms](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/search-intake-forms.md) matches a free-text expression against the client name
  and project name, and supports filtering, sorting, and aggregations on more
  fields. Use it for keyword lookup, for example to find the forms for a client
  a user asked about, or to sort forms by `clientFormInteraction.submissionDate`,
  for example to export submitted forms.

Both methods are scoped to the caller's account and don't require a site ID.

## Before you begin

It's important to note the following points before starting to code:

- Forms live in the partner's Studio workspace and aren't tied to any specific
  site. A site ID isn't needed and isn't accepted by any method. A valid
  intake form ID belonging to a different partner returns not found.
- All requests require an `Authorization` header with a partner-scoped access
  token or API key. To learn how to obtain credentials, see
  [Wix API Authentication](https://dev.wix.com/docs/api-reference/account-level/about-account-level-apis.md#authorization-strategies-for-account-level-apis).
- The questionnaire is generated with AI the first time the form is opened. The
  Content Collector app generates the questionnaire and stores the resulting
  `context`. This API stores the generated content but doesn't perform the
  generation itself.
- Submission state is populated asynchronously, shortly after the client acts.
  `clientFormInteraction.lastEditDate` is updated each time the client saves
  answers, including before they submit. Only
  `clientFormInteraction.submissionDate` indicates that the client submitted
  the form.
- Sharing is also processed asynchronously. `publishDate` is set shortly after
  the first email address is added to `clientEmails`, and cleared when all email
  addresses are removed.
- An intake form's `language` can be set only when the form is created. A form
  with no `language` uses English.
- [Get Intake Form Submission](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/get-intake-form-submission.md)
  returns the client's current answers, including answers saved before they
  submit the form. To check whether the client has submitted, check
  `clientFormInteraction.submissionDate` on the intake form. Answers are
  returned as text, with choice answers as the option labels the client
  selected. File download URLs are permanent, so you can store them.
- Deleting an intake form is permanent. [Delete Intake Form](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/delete-intake-form.md)
  also deletes the generated questionnaire behind the form. This is irreversible.
- Clients sign in with a Wix account. A client can open a shared form only if
  they're signed in with an email address listed in the form's `clientEmails`.

## Use cases

- [Create an intake form and share it with a client](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/sample-flows.md#create-an-intake-form-and-share-it-with-a-client)
- [Export submitted intake forms to an external system](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/sample-flows.md#export-submitted-intake-forms-to-an-external-system)
- [Find a client's intake forms for an AI assistant](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/content-collector/intake-form-v1/sample-flows.md#find-a-clients-intake-forms-for-an-ai-assistant)

## Terminology

- **Partner**: A Wix agency or freelancer who uses the Studio workspace and
  Content Collector to manage client projects. Forms are scoped to the calling
  partner and aren't tied to any specific site.
- **Content Collector**: The Studio workspace feature for collecting project
  content from clients. It generates the AI questionnaire and hosts the
  client-facing form view.
- **Intake form**: The entity managed by this API. It wraps a questionnaire with
  project context, source materials, the clients it's shared with, and submission
  state.
- **Client**: The partner's customer, who fills out the form. Identified by the
  email addresses in `clientEmails`.
- **Submission**: The client's answers to the questionnaire, together with the
  files they uploaded and any notes they added.
- **Client form interaction**: The state of the client's response, reflected on
  the intake form through `clientFormInteraction` (for example, `submissionDate`).
- **Context**: AI-generated background text used to tailor the questionnaire,
  stored on the intake form.
- **Source materials**: The partner-provided inputs (project description, uploaded
  files, an existing questionnaire) used to generate the form.

