Skip to main content
POST
Create file object

Authorizations

Authorization
string
header
required

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

Body

application/json
tenantId
string<uuid>
required

Tenant ID associated with the file

Example:

"550e8400-e29b-41d4-a716-446655440010"

name
string
required

Name of the file

Example:

"project_document.pdf"

type
string
required

Type of the file

Example:

"application/pdf"

Link to the file storage

Example:

"https://example.com/files/project_document.pdf"

createdBy
string<uuid>
required

User ID who created the file

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

201 - application/json

File created successfully

statusCode
number
required

HTTP Status code

Example:

200

timestamp
string
required

Timestamp of the response

Example:

"2026-01-12T09:12:23.874Z"

message
string
required

Response message

Example:

"Success"

data
object
required

Response data