You can utilize the standard upload endpoint if your file is 16MB or less. Anything above 16MB you need to utilize the chunk upload endpoint.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request POST '/api/attachment/upload' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"id": 1921,
"name": "file1.pdf",
"type": "application/pdf",
"size": 245311
}
Modified at 2025-08-09 05:39:41