Update answers for a specific form within a packet. Provide a list of answer updates keyed by form element ID.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/form-packet/{formPacketId}/form/{formId}
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location/{locationId}/form-packet/{formPacketId}/form/{formId}
curl -i -X PUT \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/form-packet/{formPacketId}/form/{formId}?includeAnswers=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"answers": [
{
"formElementId": 11111,
"value": "John"
}
]
}'Form answers updated successfully
Response
{ "answers": [ { … } ], "formTemplateId": 999, "formTemplateName": "Patient Intake Form", "id": 54321, "isComplete": true, "status": "COMPLETED" }