Files

Create a folder

Changed on

Create a folder in a project, account, contact, intake, or the Library, at the top level or inside another folder: pass exactly one of projectId, accountId, contactId, intakeId, or library. If a folder with that name is already there, a number is appended, as in "Evidence (2)". The folder is a file of type folder, read and changed at /files/{id}.

post/folders

Request

  • Base URL
    https://api.parley.so/v1
  • URL
    https://api.parley.so/v1/folders
  • Auth
    HTTP bearer

Request body

projectIdstring

Create it in this project's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.

accountIdstring

Create it in this account's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.

contactIdstring

Create it in this contact's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.

intakeIdstring

Create it in this intake's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.

libraryunknown
namestring required

Folder name. If a folder with this name is already there, a number is appended, as in "Evidence (2)".

folderIdstring

Put it inside this folder. Omit for the top level.

Response

Created.

OR

Changes