Skip to main content
POST
Upload Document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required
document_category
string
required
resource_type
string | null
resource_id
string | null
description
string | null
tags
string | null
is_public
boolean
default:false
allowed_departments
string | null
allowed_users
string | null
allowed_roles
string | null

Response

Successful Response

success
boolean
required
message
string
required
data
DocumentResponse · object
required