> ## 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.

# Generate forms

> Start form generation for a VisaFlo case.

`POST https://api.visaflo.app/api/public/case/:caseId/generate-forms`

Call this after the case data is complete. The body may omit `forms` to generate the full configured bundle, or provide a non-empty array (or comma-separated string) of form codes to generate a subset.

```json theme={null}
{ "forms": ["IMM1294"] }
```

Generation is asynchronous. Start the job, then use [Get autofill status](/knowledge-base/developers/endpoints/get-autofill-status) from your server with backoff until it reaches a terminal state.
