> ## Documentation Index
> Fetch the complete documentation index at: https://visaflo.ca/knowledge-base/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a case

> Create a VisaFlo case and its configured forms.

`POST https://api.visaflo.app/api/public/case/create`

Case fields depend on the immigration case type and its questionnaires. Get the accepted payload shape from **Settings** > **API Settings** in the target workspace, then persist the returned VisaFlo case ID.

```json theme={null}
{
  "clientEmail": "jane@example.com",
  "caseType": "study_permit"
}
```

The API validates and normalizes the case data before creation. A successful response includes `data` for the created case; use its `caseId` for files, form generation, status changes, tasks, and notes.

<Warning>
  `caseId` is not the human-readable `caseNumber` shown in the dashboard.
</Warning>
