Fill Forms
POST
/org/sessions/{session_id}/fill
const url = 'https://engine.bindly.insure/org/sessions/example/fill';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://engine.bindly.insure/org/sessions/example/fillGenerate 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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
Session Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
FillFormsResponse
object
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>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}