Skip to main content
files

Upload Overview Image

PUT
/api/files/{company_name}/{permission_object_type}/{permission_object_id}/{object_type}/{object_id}/overview
Authorizationstringheaderrequired

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

company_namestringrequired
permission_object_typeenum<string>required
Available options: machines, templates, chat
permission_object_idstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
object_typeenum<string>required
object_idstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
convert_toenum<string> | nullquery

Supported image formats

Available options: image/webp, image/png, image/jpeg

Body

multipart/form-data
filestringrequired

Response

application/json

Successful Response

detailstringrequired