Skip to content

Fill Forms

POST
/org/sessions/{session_id}/fill
curl --request POST \
--url https://engine.bindly.insure/org/sessions/example/fill

Generate the session’s filled PDFs from everything collected so far, the REST twin of the MCP fill_forms tool. Returns the per-form outcome, never the PDF bytes; download each via the /forms/{form_key}/pdf route.

session_id
required
Session Id
string

Successful Response

Media typeapplication/json
FillFormsResponse
object
forms
required
Forms
Array<object>
FilledFormOutcome
object
form_key
required
Form Key
string
fields_written
Any of:
integer
sparse_suspected
required
Sparse Suspected
boolean
warnings
Warnings
Array<string>
note
required
Note
string
Examplegenerated
{
"forms": [
{
"form_key": "example",
"fields_written": 1,
"sparse_suspected": true,
"warnings": [
"example"
]
}
],
"note": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}