Submit a Form
post
/public/v1/forms/{form}/submissionsRecords a submission of the form. Answers are validated exactly as the app validates them. By
default no notification, confirmation email or webhook is sent; set notification_behaviour to
send to send them as a submission in the app would. Upload each file first with Create a
temporary upload, then answer a file field with [{"temporary_upload_id": "<id>"}]. Send money
answers in cents; the response, like List form submissions, shows them in dollars.
formstringrequiredThe form UUID
Body
application/jsonsubmitted_urlstring<uri> | nullform_submission_request_idstring | nullform_fieldsobject[]requiredmin items 1max items 500▶Show 2 child attributesHide child attributes
field_idstringrequiredvaluestring
associablesobject[] | nullmax items 10▶Show 2 child attributesHide child attributes
typeenum<string>Available options:participantshiftsiteuseridstring<uuid>
submitted_atstring | nullnotification_behaviourenum<string> | nullAvailable options:nonesendsubmitted_bystring | null
Response
200application/jsonFormSubmissionResource
dataobjectrequired▶Show 8 child attributesHide child attributes
idstringrequiredExample:f0s1u2b3-a4b5-46c7-8d9e-0f1a2b3c4d5esubmitted_urlstring | nullrequiredExample:https://app.astalty.com.au/form/f1o2r3m4-a5b6-47c8-9d0e-1f2a3b4c5d6esubmitted_atstringrequiredExample:2024-01-15T10:30:00+00:00archived_atstring | nullrequiredcreated_atstringrequiredExample:2024-01-15T10:30:00+00:00formobjectrequired▶Show 1 child attributesHide child attributes
idstringrequiredExample:f1o2r3m4-a5b6-47c8-9d0e-1f2a3b4c5d6e
submitted_byobject | nullrequired▶Show 3 child attributesHide child attributes
idstringrequiredExample:u1s2e3r4-a5b6-47c8-9d0e-1f2a3b4c5d6efirst_namestringrequiredExample:Johnlast_namestringrequiredExample:Doe
fieldsobject[]required▶Show 7 child attributesHide child attributes
idstringrequiredExample:f1e2l3d4-a5b6-47c8-9d0e-1f2a3b4c5d6elabelstring | nullrequiredExample:Date of birthcontentstring | nullrequiredExample:Section heading or rich text contenttypestringrequiredExample:datefillablebooleanrequiredExample:truevalueanyrequireddisplay_valueanyrequired
401Unauthenticated403Authorization error404Not found422Validation error