Skip to main content
POST
Create documents company

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
type
string
required
companyId
string<uuid>
required
workspaceId
string<uuid>
required
attachmentId
string<uuid>
required
originalFileName
string
required
fileType
string
required
fileSize
integer
required
mutationId
string
description
string
folderId
string<uuid> | null
contractType
string | null
originalContractName
string | null
contractStatus
string | null
expirationDate
string<date-time> | null
index
string
permission
string | null

Response

Public mutation payload

success
enum<boolean>
required
Available options:
true
data
any
required

Presented entity

mutationId
string
lastSyncId
number
contentLastSyncId
number
syncAckSource
enum<string>
Available options:
commit,
non_commit