Get a comment
Returns the details of the specified comment, including the file it is attached to and the comment text. Requires comment_view permission on the associated file.
The unique identifier of the comment.
With parameters
Determines the detail level of the response body.
Returns the comment record.
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Unique identifier (UUID) for the user.
Email address associated with the user.
Full name of the user.
URL or identifier for the user's profile icon.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
Unique identifier (UUID) of the associated object (file or folder).
Role assigned to the member.
Unique identifier (UUID) of the user.
Unique identifier of the LDAP group.
User details of the member.
Role details assigned to the member.
Group details if the member belongs to a group.
Details of the user who shared the file or folder.
Date when the file or folder was shared.
Inherited role ID from the parent folder, if applicable.
List of allowed folder role IDs.
Email associated with the member.
Rank of the member role.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
Role ID
Role name
Role rank
Role type
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Details of the user who created the object.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
List of permissions associated with the object.
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
List of members who have access to the object.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
The role of the current user in this folder.
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Folder that directly contains this object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Permanent URL for accessing the object in the web application
Basic profile information of the user who created the object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Current user's permissions (Explicit field. May be retrieved only if mentioned in "with" parameter)
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Class Object
Author of the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
Class Comment
Permissions of the current user regarding the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/comments/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the comment.
url = f"https://{{instance}}.kiteworks.com/rest/comments/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Update a comment
Updates the text of the specified comment. Requires comment_edit permission on the associated file. Only the comment author or a folder manager may update the comment.
The unique identifier of the comment.
Text content of the comment
Indicates whether HATEOAS links should be included in the response
Returns the updated comment record.
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Unique identifier (UUID) for the user.
Email address associated with the user.
Full name of the user.
URL or identifier for the user's profile icon.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
Unique identifier (UUID) of the associated object (file or folder).
Role assigned to the member.
Unique identifier (UUID) of the user.
Unique identifier of the LDAP group.
User details of the member.
Role details assigned to the member.
Group details if the member belongs to a group.
Details of the user who shared the file or folder.
Date when the file or folder was shared.
Inherited role ID from the parent folder, if applicable.
List of allowed folder role IDs.
Email associated with the member.
Rank of the member role.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
Role ID
Role name
Role rank
Role type
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Details of the user who created the object.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
List of permissions associated with the object.
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
List of members who have access to the object.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
The role of the current user in this folder.
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Folder that directly contains this object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Permanent URL for accessing the object in the web application
Basic profile information of the user who created the object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Current user's permissions (Explicit field. May be retrieved only if mentioned in "with" parameter)
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Class Object
Author of the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
Class Comment
Permissions of the current user regarding the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unprocessable Content
Possible error codes: ERR_INPUT_MAX_VALUE, ERR_INPUT_HTML_TAGS_INVALID, ERR_INPUT_REQUIRED
Error code
Error message
Request blocked by WAF
curl -X PUT \
"https://{instance}.kiteworks.com/rest/comments/:id" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"contents": "string",
"addLinks": true
}'import requests
id = "VALUE" # The unique identifier of the comment.
url = f"https://{{instance}}.kiteworks.com/rest/comments/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"contents": "string",
"addLinks": true
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Delete a comment
Deletes the specified comment. Requires comment_delete permission on the associated file. Only the comment author or a folder manager may delete the comment.
The unique identifier of the comment.
The comment was successfully deleted. Returns no content.
Request blocked by WAF
curl -X DELETE \
"https://{instance}.kiteworks.com/rest/comments/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the comment.
url = f"https://{{instance}}.kiteworks.com/rest/comments/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())Get file comments
Returns a list of comments on the specified file. Requires comment_view permission on the file.
The unique identifier (UUID) of the file.
Unique identifier of the parent comment
Unique identifier of the parent comment. Search for results that match any of the specified values for this parameter.
Unique identifier of the comment author
Unique identifier of the comment author. Search for results that match any of the specified values for this parameter.
The creation date of the comment.
The creation date of the comment.. Search for results where this parameter value is greater than the specified value.
The creation date of the comment.. Search for results where this parameter value is greater than or equal to the specified value.
The creation date of the comment.. Search for results where this parameter value is less than the specified value.
The creation date of the comment.. Search for results where this parameter value is less than or equal to the specified value.
The last modification date of the comment.
The last modification date of the comment.. Search for results where this parameter value is greater than the specified value.
The last modification date of the comment.. Search for results where this parameter value is greater than or equal to the specified value.
The last modification date of the comment.. Search for results where this parameter value is less than the specified value.
The last modification date of the comment.. Search for results where this parameter value is less than or equal to the specified value.
Content of the comment. Search for results that contain the specified characters in this parameter.
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
Returns a paginated list of comments for the specified file.
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Details of the user who created the object.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
List of permissions associated with the object.
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
List of members who have access to the object.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
The role of the current user in this folder.
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Folder that directly contains this object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Permanent URL for accessing the object in the web application
Basic profile information of the user who created the object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Current user's permissions (Explicit field. May be retrieved only if mentioned in "with" parameter)
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Class Object
Author of the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
Class Comment
Permissions of the current user regarding the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/files/:id/comments" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier (UUID) of the file.
url = f"https://{{instance}}.kiteworks.com/rest/files/{id}/comments"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Add file comment
Adds a comment to the specified file. To reply to an existing comment, include a parentId in the request body. Requires comment_add permission on the file.
The unique identifier (UUID) of the file.
If set to true, returns information about the newly created entity.
Determines the detail level of the response body.
Unique identifier of the parent comment. Set this value when replying to an existing comment
Text content of the comment
Indicates whether HATEOAS links should be included in the response
Returns the newly created comment record.
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Unique identifier (UUID) for the user.
Email address associated with the user.
Full name of the user.
URL or identifier for the user's profile icon.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
Unique identifier (UUID) of the associated object (file or folder).
Role assigned to the member.
Unique identifier (UUID) of the user.
Unique identifier of the LDAP group.
User details of the member.
Role details assigned to the member.
Group details if the member belongs to a group.
Details of the user who shared the file or folder.
Date when the file or folder was shared.
Inherited role ID from the parent folder, if applicable.
List of allowed folder role IDs.
Email associated with the member.
Rank of the member role.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
Role ID
Role name
Role rank
Role type
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Details of the user who created the object.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
List of permissions associated with the object.
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
List of members who have access to the object.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
The role of the current user in this folder.
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Folder that directly contains this object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Permanent URL for accessing the object in the web application
Basic profile information of the user who created the object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Current user's permissions (Explicit field. May be retrieved only if mentioned in "with" parameter)
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Class Object
Author of the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
Class Comment
Permissions of the current user regarding the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INPUT_MAX_VALUE, ERR_INPUT_HTML_TAGS_INVALID, ERR_INPUT_REQUIRED
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/files/:id/comments" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"parentId": 1,
"contents": "string",
"addLinks": true
}'import requests
id = "VALUE" # The unique identifier (UUID) of the file.
url = f"https://{{instance}}.kiteworks.com/rest/files/{id}/comments"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"parentId": 1,
"contents": "string",
"addLinks": true
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())List comments for the folder
Returns all comments on files within the specified folder. Requires comment_view permission on the folder.
The unique identifier (UUID) of the folder.
Unique identifier of the parent comment
Unique identifier of the parent comment. Search for results that match any of the specified values for this parameter.
Unique identifier of the comment author
Unique identifier of the comment author. Search for results that match any of the specified values for this parameter.
The creation date of the comment.
The creation date of the comment.. Search for results where this parameter value is greater than the specified value.
The creation date of the comment.. Search for results where this parameter value is greater than or equal to the specified value.
The creation date of the comment.. Search for results where this parameter value is less than the specified value.
The creation date of the comment.. Search for results where this parameter value is less than or equal to the specified value.
The last modification date of the comment.
The last modification date of the comment.. Search for results where this parameter value is greater than the specified value.
The last modification date of the comment.. Search for results where this parameter value is greater than or equal to the specified value.
The last modification date of the comment.. Search for results where this parameter value is less than the specified value.
The last modification date of the comment.. Search for results where this parameter value is less than or equal to the specified value.
Content of the comment. Search for results that contain the specified characters in this parameter.
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
Returns a paginated list of comments for files within the specified folder.
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Unique identifier (UUID) of the folder.
Unique identifier (UUID) of the parent object.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the folder.
Details of the user who created the object.
The date and time when the object was created.
The date and time when the object was last modified.
Expiration timestamp of the object, if applicable.
List of permissions associated with the object.
Indicates whether the object has been deleted.
Indicates whether the object has been permanently deleted.
Permanent URL link to access the object.
Path to the folder in the hierarchy.
List of members who have access to the object.
Vendor document ID associated with the object.
Name of the vendor document associated with the object.
Indicates whether the folder or the parent folder containing the file is marked as secure.
ID representing the source of the object (1 - Salesforce, 2 - Teams).
Indicates if the folder is shared with other users.
Indicates if the folder can be synced by Desktop Sync Client.
Time duration (in days) for which the files in this folder are kept after being added to the folder.
The description of the folder.
Indicates if the folder is marked as a favorite by the user.
The number of files that have been pushed to mobile apps in this folder.
The role of the current user in this folder.
The Antivirus (AV) status of the folder.
The Data Loss Prevention (DLP) status of the folder.
Total number of members who have access to this folder.
Total number of subfolders within this folder.
Total number of files within this folder.
The maximum expiration date allowed for files in this folder.
The maximum duration (in days) that files in this folder can be kept after being added to the folder.
Indicates if the folder is part of an LDAP group.
Indicates if this folder is a subfolder of the user's "My Folder".
A list of IDs representing the path of the folder within the folder hierarchy.
Indicates if this folder is a root folder.
The ID of the root folder if this is a subfolder.
Indicates if a folder quota is applied to this folder.
The storage quota for the folder (in bytes).
The total storage size used by the folder (in bytes).
The amount of free space available in the folder (in bytes).
Indicates if a folder inherits permissions from the parent folder
Permanent URL for accessing the object in the web application
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Unique identifier of object
Date and time when the object was created
Indicates whether the object is deleted
Indicates whether the object is permanently deleted
Date and time when the object expires and becomes inaccessible
Date and time when the object was last modified
Display name of the object
Parent Folder identifier
Unique identifier of Object creator
Folder that directly contains this object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Permanent URL for accessing the object in the web application
Basic profile information of the user who created the object (Explicit field. May be retrieved only if mentioned in "with" parameter)
Current user's permissions (Explicit field. May be retrieved only if mentioned in "with" parameter)
Identifier of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Display name of the corresponding document in the external vendor system (Explicit field. May be retrieved only if mentioned in "with" parameter)
Numeric code identifying the external system that originated this object (e.g. Salesforce, Teams)
HATEOAS links associated with the entity
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
Comment unique identifier
Unique identifier of the parent comment, if the comment is a reply
Unique identifier (UUID) of the file being commented on
Unique identifier (UUID) of the folder containing the object being commented on
Unique identifier (UUID) of the user who authored the comment
Date and time when the comment was created
Date and time when the comment was last modified
Text content of the comment
Indicates whether the comment has been deleted
Indicates whether the item is a comment
Class Object
Author of the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
Class Comment
Permissions of the current user regarding the comment (Explicit field. May be retrieved only if mentioned in "with" parameter)
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
HATEOAS links associated with the entity
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/folders/:id/comments" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier (UUID) of the folder.
url = f"https://{{instance}}.kiteworks.com/rest/folders/{id}/comments"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Return the list of permissions available on a comment
Returns the list of actions the current user is allowed to perform on the specified comment, such as editing or deleting it.
ID of the comment
Unique action identifier
Unique action identifier. Search for results that match any of the specified values for this parameter.
Action name
Action name. Search for results that contain the specified characters in this parameter.
Determines if one has permissions to perform action
Determines if the given action is available considering the current object state (locked, deleted, etc.).
With parameters
Determines the detail level of the response body.
Comment permissions retrieved successfully.
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/permissions/comment/:comment_id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
comment_id = "VALUE" # ID of the comment
url = f"https://{{instance}}.kiteworks.com/rest/permissions/comment/{comment_id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())