Submits Share Documents Form

Overview

Submits Share Documents Form to the business.

Authentication

Available for Client Tokens only.

Critical Requirement

The matter_uid query parameter must reference a matter with an assigned staff member. Without this, the endpoint returns 500 due to a server-side bug.

Request Format

This endpoint requires multipart/form-data format with actual binary file uploads (not JSON). Documents must be uploaded as form fields with proper content types.

Important: Field Naming Convention

Document fields MUST use explicit numeric indices (e.g., [0], [1]), NOT empty brackets [].

This is because the server expects a Hash structure, not an Array.

Captcha

When the business has the captcha_intake_form feature enabled, a valid captcha_token is required.

Example cURL

curl -X POST 'https://api.vcita.biz/client_api/v1/portals/{business_uid}/share_documents_form/submit?matter_uid={matter_uid}' \
  -H 'Authorization: Bearer {token}' \
  -F 'form_data[fields][title]=My Document' \
  -F 'form_data[fields][message]=Please review' \
  -F 'form_data[fields][documents][0][email protected];type=application/pdf'
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!