This section explains how to use the file API in Kommo
Using Files API, you can perform various actions, such as loading files, deleting them, creating file versions, and associating files with entities.
To use Files API, you need to pass your Access Token in the Authorization header with the Bearer keyword.
Most of the file API methods are available through a dedicated File service domain.
When you add a file to a shared location, some functions, like searching for the file, may not be available immediately. To get the address of the service that serves your account, you can request the account properties with the
with=drive_url
flag.
Requirements for working with API files
To work with Files API, you need to set the Access to files scope. To delete files, you need to set the Deleting files scope in addition to the Access to files scope.