Skip to main content
POST
/
documents
/
folders
Create a folder
curl --request POST \
  --url https://api.sftpsync.io/documents/folders \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "connectionId": "<string>",
  "path": "<string>",
  "force": true
}
'
{
  "created": true,
  "path": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
connectionId
string
required
path
string
required
force
boolean

Response

Created folder

created
enum<boolean>
required
Available options:
true
path
string
required