POST
/
matters
/
{matterId}
/
documents
/
folders
curl --request POST \
  --url https://api.smokeball.com/matters/{matterId}/documents/folders \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "Property Documents",
  "parentFolderId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
  "userId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8"
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

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

Path Parameters

matterId
string
required

Body

Response

202
application/json

When request is accepted. Returns a hypermedia 'Link' object of the folder to be created.

The response is of type object.