cURL
curl --request PUT \ --url https://api.simplicity.ai/v1/forms/{form_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "form_description": "<string>", "form_title": "<string>", "source_document_ids": [ "<string>" ] } '
{ "form_id": "<string>", "source_document_details": [ { "file_key": "<string>", "external_document_id": "<string>", "document_id": "<string>", "extension": "<string>", "original_filename": "<string>", "metadata": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "form_description": "<string>", "form_title": "<string>", "form_name": "<string>", "original_form_name": "<string>", "form_url": "<string>", "updated_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "last_filled_at": "2023-11-07T05:31:56Z", "file_size": 123, "fillable_field_count": 123 }
Update the details of an existing form. You can update your form_title, form_description, and especially the source_document_ids used to fill your form.
form_title
form_description
source_document_ids
Successful Response
Show child attributes