Mark a form as complete. Every required form element must have an answer; otherwise the request is rejected with a 422 listing the missing fields. Once submitted, the form is considered finalized. If all forms in the packet are complete, the packet is also marked complete.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/form-packet/{formPacketId}/form/{formId}/submit
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location/{locationId}/form-packet/{formPacketId}/form/{formId}/submit
curl -i -X PUT \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/form-packet/{formPacketId}/form/{formId}/submit?includeAnswers=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Form submitted successfully
Response
{ "answers": [ { … } ], "formTemplateId": 999, "formTemplateName": "Patient Intake Form", "id": 54321, "isComplete": true, "status": "COMPLETED" }