---
title: "Post Public Prefill"
method: POST
path: "/intake/public/{tenantSlug}/{formSlug}/prefill"
tags: ["Intake Forms"]
---

# Post Public Prefill

`POST /intake/public/{tenantSlug}/{formSlug}/prefill`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/intake/public/{tenantSlug}/{formSlug}/prefill`
- Auth: none declared

Legacy slug URL for the prefill endpoint. Same behaviour as /intake/public/by-id/{publicId}/prefill.

## Path parameters

- `tenantSlug` string, required
- `formSlug` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required
  - `data` string: Current answers as a JSON object string
  - `language` string: Language for suggestions (en, de, fr, es)

## Response `200`

data is { fileName, suggestions }

## Other responses

- `400`: Missing file, invalid data, or an unreadable multipart body (extra fields or files)
- `404`: Form not found or prefill unavailable
- `413`: File too large
- `415`: Not a PDF or .docx file (extension, MIME type and content must match)
- `422`: File could not be read
- `429`: Rate limit or form budget reached; see the Retry-After header
- `500`: Internal server error
- `502`: Model call failed

## Changes

> 144 revisions in range; 16 not diffed.

- **2026-10-28** `c573e1754034`: 1 info
  - added the new optional request property `language`
- **2026-10-28** `43aac1f61735`: 3 breaking, 7 info
  - added the new path request parameter `formSlug`
  - added the new path request parameter `tenantSlug`
  - added required request body
  - added the non-success response with the status `400`
  - …6 more
- **2026-10-28** `c4df4bbcdac6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/intake/public/:tenantSlug/:formSlug/prefill/post.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) - [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verifywise-ai/apis/verifywise-api/revisions/c573e1754034?raw)
