POST
/
matters
/
{matterId}
/
documents
/
files
/
bulk
curl --request POST \
  --url https://api.smokeball.com/matters/{matterId}/documents/files/bulk \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '[
  {
    "fileName": "court filing.pdf",
    "folderId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
    "userId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
    "folderPath": "Court Filings/2023/January",
    "fileAdditionalData": {},
    "dateCreated": "2023-04-23T14:00:00Z",
    "dateModified": "2023-04-24T14:00:00Z"
  }
]'
[
  {
    "fileId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
    "uploadUrl": "",
    "expiry": "2022-04-23T14:30:00Z"
  }
]

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

matterId
string
required

Body

The body is of type object[].

Response

202
application/json

When request is accepted.

The response is of type object[].