Documents
Documents#index
Retrieves all firm documents
GET /documentsQuery Parameters:
Search: returns documents filtered by title.
GET /documents?search=some%20titleResponse:
Returns a 200 OK with an array of documents:
[
{
"id": 1,
"title": "John Doe's G28",
"firm_id": 1,
"client_id": 7,
"created_at": "2019-09-02T17:56:46.492-05:00",
"updated_at": "2019-09-02T17:56:46.492-05:00",
"archived": false,
"size": 369233,
"user_id": 3,
"uploaded_by_email": null,
"doc_url": "https://app.docketwise.com/documents/:id"
}
]Documents#show
Returns a single document
Response:
Returns a 200 OK with a single contact:
Documents#download
Generates a 1 hour public url for the document to be downloaded.
Response:
Returns a 200 OK with a temporary url:
Documents#create
Creates a new document. Keep in mind to send document data inside a document root key.
You should pass a JSON with the following parameters:
title stringfilename string This needs to include the extension of the doc i.e. pdf.pdf, doc.docbase64_data string File data should be sent as strict base 64 datadescription stringclient_id integermatter_id integer
Response:
Returns a 201 created.
Last updated
Was this helpful?