Send documents to a client

Overview

Creates one document per file on a matter. Unless direction is internal, it also adds a message with the documents to the matter's conversation, so the client sees them in the client portal.

Files

  • Send files that are already in the business's library ("My documents", see GET /v2/file_records) as JSON, with their UIDs in file_record_ids.
  • Upload new files as multipart/form-data, in files[N][file].
  • Both can be combined in one multipart request. Up to 10 files per request, up to 100 MB per file. ZIP files are rejected.

Matter

Pass conversation_id (the matter UID) to send on one matter. With client_id instead, a copy is created on every matter of the client that the staff member can see.

Email

With shared_with_email: true, the client also gets an email. When the client has no email address, no email is sent and the request still succeeds, so check the client's email first.

Signature

The client is asked to sign when a library file's signature_required is true, or when files[N][signature_required] is true for an upload. The message is then a signature request.

Available for Staff tokens.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Send library files. Pass conversation_id or client_id, and file_record_ids.

string

Matter UID to send the documents on. Prefer it over client_id (e.g., "mt5f1c9a2b7d4e6q").

string

Client UID. Creates a copy on every visible matter of the client (e.g., "c9i4nkl5tzp9o42k").

file_record_ids
array of strings

UIDs of library files to send (e.g., ["fr7d2k9q4m1x8z3c"]).

file_record_ids
string

Text of the message that goes with the documents. HTML is removed. Under 50,000 characters (e.g., "Hi Dana, here is the warranty document.").

boolean
Defaults to false

When true, the client also gets an email (e.g., true, false).

string
enum
Defaults to pivot_to_client

pivot_to_client shares the documents with the client. internal stores them on the matter without a message (e.g., "pivot_to_client", "internal").

Allowed:
string

Document title. Used only when one file is sent (e.g., "One-year termite warranty").

string

UID of the staff member the documents are sent as. Defaults to the token's staff member (e.g., "3so2q8r2b35x7phd").

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json