Skip to main content
POST
Create folder

Authorizations

Authorization
string
header
required

Personal API key (sl_api_…) or OAuth access token (sl_oat_…)

Headers

Idempotency-Key
string

Optional. Safe retries for create/send: same key + route + workspace returns the cached success body for 24h. API/OAuth only.

Maximum string length: 256

Body

application/json
name
string
required
Maximum string length: 255
companyId
string<uuid>
required
workspaceId
string<uuid>
required
subtype
enum<string>
required
Available options:
document,
note
description
string
Maximum string length: 1000
index
string
permission
enum<string> | null
Available options:
read,
readWrite,
admin

Response

Success

data
object