Return the list of all exports for all users
Returns a paginated list of all data exports across all users, including each export's status, type, date range, and download URL. Requires admin privileges.
Unique identifier of user
Unique identifier of user. Search for results that match any of the specified values for this parameter.
Status of the generated report
Status of the generated report. Search for results that contain the specified characters in this parameter.
Offset
Limit
With parameters
Determines the detail level of the response body.
List of exports retrieved successfully.
Export task unique identifier
Export start date
Export end date
Current status of the export. Accepted values: inprocess, error, completed, nodata
URL for downloading the exported data
Export type. Accepted values: activities, files, emails
Unique identifier of the user
Date when the report was generated
Name of the generated export report file available for download
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.
Forbidden
Possible error codes: ERR_LICENSE_DLI
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/exports" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/dli/exports"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Start generating export for the specified user
Initiates one or more data export jobs for the specified user based on the requested report types and date range. Returns the newly created export record(s) in a pending state. Requires admin privileges.
ID of the user
If set to true, returns information about the newly created entity.
Determines the detail level of the response body.
Export start date
Export end date
Export type. Accepted values: activities, files, emails
Indicates whether HATEOAS links should be included in the response
Export job(s) created successfully.
Export task unique identifier
Export start date
Export end date
Current status of the export. Accepted values: inprocess, error, completed, nodata
URL for downloading the exported data
Export type. Accepted values: activities, files, emails
Unique identifier of the user
Date when the report was generated
Name of the generated export report file available for download
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.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INPUT_INVALID_DATE, ERR_INPUT_DATE_NOT_BEFORE, ERR_INPUT_REQUIRED, ERR_INPUT_DATE_NOT_AFTER, ERR_INPUT_NOT_ARRAY, ERR_INPUT_NOT_IN_LIST
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/dli/exports/users/:id" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"types": [
"string"
],
"addLinks": true
}'import requests
id = "VALUE" # ID of the user
url = f"https://{{instance}}.kiteworks.com/rest/dli/exports/users/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"types": [
"string"
],
"addLinks": true
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Return information of an export such as status, download url, user ID, etc.
Returns the details of a specific export job, including its status, type, date range, the user it belongs to, and the download URL when the export is complete. Requires admin privileges.
ID of the export
Export details retrieved successfully.
Export task unique identifier
Export start date
Export end date
Current status of the export. Accepted values: inprocess, error, completed, nodata
URL for downloading the exported data
Export type. Accepted values: activities, files, emails
Unique identifier of the user
Date when the report was generated
Name of the generated export report file available for download
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.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/exports/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the export
url = f"https://{{instance}}.kiteworks.com/rest/dli/exports/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Delete the specified export.
Permanently deletes the specified export record and its associated data. Requires admin privileges.
ID of the export
Export deleted successfully.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X DELETE \
"https://{instance}.kiteworks.com/rest/dli/exports/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the export
url = f"https://{{instance}}.kiteworks.com/rest/dli/exports/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())Download the generated export.
Downloads the generated export file as a binary stream. The export must be in a completed state before it can be downloaded. Requires admin privileges.
ID of the export
Export file returned as a binary stream.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/exports/:id/content" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the export
url = f"https://{{instance}}.kiteworks.com/rest/dli/exports/{id}/content"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Return the list of Activities for this file
Returns all activities performed by the specified user on the specified file. Each activity includes the affected object, a human-readable message, the acting user, and whether the action was successful. Requires admin privileges.
ID of the file
The unique identifier of the user.
Number of days back to search
Start date
End date
Filter activities by scope. Accepted values: all, my.
Search by mail body, subject and sender/recipients
Filter activities by type. Accepted values: all, folder_changes, file_changes, user_preferences, mail, tasks, comments, kitepoint.
Transaction ID associated with the activities
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
List of file activities for the user retrieved successfully.
Activity creation date
Contains information about affected entities
List of actions allowed for the user on the object in the activity
Activity event name
Unique Activity identifier
User-friendly message
Activity type. Accepted values: folder_changes, file_changes, user_preferences, mail, tasks, comments, kitepoint, admin
User associated with the activity
Indicates whether the activity was successful
Contains information about the affected file or folder
Direct user associated with the activity
Indirect users associated with the activity
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:fileId/users/:userId/activities" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
fileId = "VALUE" # ID of the file
userId = "VALUE" # The unique identifier of the user.
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{fileId}/users/{userId}/activities"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Retrieve information about the file specified.
Returns metadata for the specified file, including its name, size, MIME type, content fingerprint, creation and modification dates, deletion status, and lock state.
ID of the file
With parameters
Determines the detail level of the response body.
File metadata retrieved successfully.
Unique identifier (UUID) of the file.
Unique identifier (UUID) of the parent folder.
Name of the object.
Type of the object.f – File.d – Folder.
Unique identifier (UUID) who created the file.
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 file.
Path to the object 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.
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.
Role ID
Role name
Role rank
Role type
LDAP Group ID
LDAP Group name
LDAP Group domain name
LDAP Group email
LDAP Group description
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.
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).
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 size of the file in bytes.
The MIME type of the file.
A unique hash identifying the file.
The algorithm used to generate the fingerprint (e.g., sha3-256, md5).
The resulting hash value representing the fingerprint of the file or object.
The date and time when the file was created on the client side.
The date and time when the file was last modified on the client side.
Indicates whether the expiration date for the file has been overridden.
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 file was shared.
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.
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.
Role ID
Role name
Role rank
Role type
LDAP Group ID
LDAP Group name
LDAP Group domain name
LDAP Group email
LDAP Group description
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.
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
The ID of the original file if this one is a copy.
Indicates the file version's availability status based on Antivirus (AV) settings and whether it has been scanned or detected as infected.
Indicates the file version's availability status based on Data Loss Prevention (DLP) settings and whether it has been scanned or detected as infected.
Indicates the file version's availability status based on the administrator's quarantine status.
Indicates if the file is locked.
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.
Indicates if the file is shared with other users.
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.
Unique identifier (UUID) for the pushed object.
Unique identifier (UUID) for the user who pushed the object.
The date and time when the object was pushed.
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.
A list of IDs representing the path of the file within the folder hierarchy.
The WOPI (Web Application Open Platform Interface) source URL for the mobile application.
Unique identifier of the user.
The WOPI service ID.
URI scheme used by the mobile application to handle the file.
Indicates the level of support the mobile app has for the URI scheme.
Indicates if the file has been pushed to a mobile app.
Unique identifier (UUID) for the tag.
Display name of the tag.
Type category of the tag.
Indicates if the file is locked through a SafeEdit session.
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 total number of versions for the file.
Tracking identifier associated with the file upload.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the file
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Read file content
Downloads the binary content of the specified file. Supports partial downloads via the Range header.
ID of the file
Range of bytes to download. e.g. bytes=0-1024
File content returned as a binary stream.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id/content" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the file
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}/content"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Get file path
Returns the full ancestor path of the specified file as an ordered list of folder nodes, from the workspace root down to the file's parent folder.
ID of the file
Determines the detail level of the response body.
File path retrieved successfully.
Ordered list of folder nodes representing the path from the workspace root to the file's parent folder.
Optional HATEOAS links. Present only when the request includes link options.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id/path" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the file
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}/path"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Retrieve information about the file preview.
Returns preview access links and processing status for the specified file.
ID of the file
Preview metadata retrieved successfully.
Preview link for the file
PDF file for the preview
URL for viewing the preview
Preview processing status. Accepted values: processing, preview, failed
Format of the generated preview, such as image or PDF
Additional metadata about the preview, such as dimensions or page count
MIME type of the preview file
Indicates whether the preview is a native render
Watermark applied to the preview
Original file extension for TDF files
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id/preview" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the file
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}/preview"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())List versions
Returns a paginated list of all versions for the specified file. Each version includes its name, size, MIME type, creation date, creator, and content fingerprint.
Object id of file to retrieve versions for
File Version creation date
File Version creation date. Search for results where this parameter value is greater than the specified value.
File Version creation date. Search for results where this parameter value is greater than or equal to the specified value.
File Version creation date. Search for results where this parameter value is less than the specified value.
File Version creation date. Search for results where this parameter value is less than or equal to the specified value.
Sorting options
Offset
Limit
If specified, "offset" parameter will be ignored
and the page containing entity with this Id will be returned.
With parameters
Determines the detail level of the response body.
List of file versions retrieved successfully.
The unique identifier of the file version.
The version number of the file.
Indicates whether this version of the file has been deleted.
The creation date of this file version.
The unique identifier of the user who created this file version.
The size of the file content in bytes.
A unique hash identifying the file.
The algorithm used to generate the fingerprint (e.g., sha3-256, md5).
The backend system associated with the file version.
The MIME type of the file version.
The name of the file version.
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
The object ID (UUID) for the file version.
The date and time the file version was created on the client side.
The date and time the file version was last modified on the client side.
Indicates the file version's availability status based on Antivirus (AV) settings and whether it has been scanned or detected as infected.
Indicates the file version's availability status based on Data Loss Prevention (DLP) settings and whether it has been scanned or detected as infected.
Indicates the file version\'s availability status based on the administrator\'s quarantine status.
Indicates whether the file is accessible on any storage volume.
A list of fingerprints associated with the file version.
Unique identifier (UUID) for the tag.
Display name of the tag.
Type category of the tag.
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.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id/versions" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # Object id of file to retrieve versions for
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}/versions"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Allow DLI admin to get specified version
Returns the metadata for a specific version of a file, including its name, size, MIME type, creation date, creator, and content fingerprint.
Object id of file to retrieve versions for
version ID
Version metadata retrieved successfully.
The unique identifier of the file version.
The version number of the file.
Indicates whether this version of the file has been deleted.
The creation date of this file version.
The unique identifier of the user who created this file version.
The size of the file content in bytes.
A unique hash identifying the file.
The algorithm used to generate the fingerprint (e.g., sha3-256, md5).
The backend system associated with the file version.
The MIME type of the file version.
The name of the file version.
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
The object ID (UUID) for the file version.
The date and time the file version was created on the client side.
The date and time the file version was last modified on the client side.
Indicates the file version's availability status based on Antivirus (AV) settings and whether it has been scanned or detected as infected.
Indicates the file version's availability status based on Data Loss Prevention (DLP) settings and whether it has been scanned or detected as infected.
Indicates the file version\'s availability status based on the administrator\'s quarantine status.
Indicates whether the file is accessible on any storage volume.
A list of fingerprints associated with the file version.
Unique identifier (UUID) for the tag.
Display name of the tag.
Type category of the tag.
HATEOAS links associated with the entity
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id/versions/:version_id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # Object id of file to retrieve versions for
version_id = "VALUE" # version ID
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}/versions/{version_id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Download specified version
Downloads the binary content of the specified file version. Supports partial downloads via the Range header.
ID of the file
version ID for which to retrieve content
Range of bytes to download. e.g. bytes=0-1024
Version content returned as a binary stream.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/files/:id/versions/:version_id/content" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the file
version_id = "VALUE" # version ID for which to retrieve content
url = f"https://{{instance}}.kiteworks.com/rest/dli/files/{id}/versions/{version_id}/content"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Return the list of activities for this folder of the specified user
Returns all activities performed by the specified user on the specified folder. Each activity includes the affected object, a human-readable message, the acting user, and whether the action was successful. Requires admin privileges.
The unique identifier of the folder.
The unique identifier of the user.
Number of days back to search
Start date
End date
Filter activities by scope. Accepted values: all, my.
Search by mail body, subject and sender/recipients
Filter activities by type. Accepted values: all, folder_changes, file_changes, user_preferences, mail, tasks, comments, kitepoint.
Transaction ID associated with the activities
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
List of folder activities for the user retrieved successfully.
Activity creation date
Contains information about affected entities
List of actions allowed for the user on the object in the activity
Activity event name
Unique Activity identifier
User-friendly message
Activity type. Accepted values: folder_changes, file_changes, user_preferences, mail, tasks, comments, kitepoint, admin
User associated with the activity
Indicates whether the activity was successful
Contains information about the affected file or folder
Direct user associated with the activity
Indirect users associated with the activity
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/folders/:folderId/users/:userId/activities" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
folderId = "VALUE" # The unique identifier of the folder.
userId = "VALUE" # The unique identifier of the user.
url = f"https://{{instance}}.kiteworks.com/rest/dli/folders/{folderId}/users/{userId}/activities"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Retrieve folder information.
Returns metadata for the specified folder, including its name, creation date, deletion status, and permalink.
The unique identifier of the folder.
With parameters
Determines the detail level of the response body.
Folder metadata retrieved successfully.
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.
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.
Role ID
Role name
Role rank
Role type
LDAP Group ID
LDAP Group name
LDAP Group domain name
LDAP Group email
LDAP Group description
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.
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
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/folders/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the folder.
url = f"https://{{instance}}.kiteworks.com/rest/dli/folders/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())List email attachments
Returns a paginated list of all attachments for the specified email, including each attachment's ID, name, size, MIME type, and content fingerprint.
The unique identifier of the email containing the attachment.
The reference code for the email. Required if the email can be accessed without authentication.
Offset
Limit
If specified, "offset" parameter will be ignored
and the page containing entity with this Id will be returned.
With parameters
Determines the detail level of the response body.
List of email attachments retrieved successfully.
Unique identifier for the email package containing the attachment.
Unique identifier for the attachment.
Indicates whether the attachment has been withdrawn.
Name of the DRM-protected file.
Size of the DRM-protected file in bytes.
Access type for the attachment (e.g., read-only, editable).
Unique identifier (UUID) for the tag.
Display name of the tag.
Type category of the tag.
Unique identifier for the permission.
Name of the permission.
Indicates whether the permission is granted (True) or denied (False).
Unique identifier for the file associated with the attachment.
Name of the attachment file.
Size of the attachment file in bytes.
The MIME type of the attachment file.
Date when the attachment file was created.
Indicates if the attachment has been deleted.
A unique hash identifying the file version.
The algorithm used for generating the file version fingerprint. (e.g., sha3-256, md5).
The algorithm used to generate the fingerprint (e.g., sha3-256, md5).
The resulting hash value representing the fingerprint of the file or object.
Status of the attachment in the admin quarantine system.
Antivirus (AV) scan status of the attachment.
Data Loss Prevention (DLP) status of the attachment.
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/mail/:id/attachments" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the email containing the attachment.
url = f"https://{{instance}}.kiteworks.com/rest/dli/mail/{id}/attachments"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())List Recipients
Returns a paginated list of all recipients (To, CC, and BCC) for the specified email, including each recipient's user ID, email address, and recipient type.
ID of the email
Filter recipients by type. Accepted values: 0, 1, 2.
The reference ID of the email (Mandatory if the email can be accessed without authentication).
Sorting options
Offset
Limit
If specified, "offset" parameter will be ignored
and the page containing entity with this Id will be returned.
With parameters
Determines the detail level of the response body.
List of email recipients retrieved successfully.
Unique identifier of the user associated with the recipient.
Recipient type.0 – To.1 – CC.2 – BCC.
Email address of the recipient.
Indicates if the recipient is a distribution list rather than an individual user.
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.
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/mail/:id/recipients" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the email
url = f"https://{{instance}}.kiteworks.com/rest/dli/mail/{id}/recipients"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Return the list of all activities of the specified user
Returns all activities performed by or on behalf of the specified user. Each activity includes the affected object, a human-readable message, the acting user, and whether the action was successful. Requires admin privileges.
ID of the user
Number of days back to search
Start date
End date
Filter activities by scope. Accepted values: all, my.
Search by mail body, subject and sender/recipients
Filter activities by type. Accepted values: all, folder_changes, file_changes, user_preferences, mail, tasks, comments, kitepoint.
Transaction ID associated with the activities
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
List of user activities retrieved successfully.
Activity creation date
Contains information about affected entities
List of actions allowed for the user on the object in the activity
Activity event name
Unique Activity identifier
User-friendly message
Activity type. Accepted values: folder_changes, file_changes, user_preferences, mail, tasks, comments, kitepoint, admin
User associated with the activity
Indicates whether the activity was successful
Contains information about the affected file or folder
Direct user associated with the activity
Indirect users associated with the activity
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/users/:id/activities" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the user
url = f"https://{{instance}}.kiteworks.com/rest/dli/users/{id}/activities"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Retrieve information about the mail specified be a user
Returns a paginated list of all emails sent or received by the specified user, including emails where the user is the sender and emails where the user appears as a recipient.
ID of the user
Unique identifier of User who sent Email
Unique identifier of User who sent Email. Search for results that match any of the specified values for this parameter.
Filter emails where the current user is a recipient.
Whether the email is read or not by the current user.
Email creation date
Email creation date. Search for results where this parameter value is greater than the specified value.
Email creation date. Search for results where this parameter value is greater than or equal to the specified value.
Email creation date. Search for results where this parameter value is less than the specified value.
Email creation date. Search for results where this parameter value is less than or equal to the specified value.
Email modification date
Email modification date. Search for results where this parameter value is greater than the specified value.
Email modification date. Search for results where this parameter value is greater than or equal to the specified value.
Email modification date. Search for results where this parameter value is less than the specified value.
Email modification date. Search for results where this parameter value is less than or equal to the specified value.
Filter emails based on whether they have been deleted.
Email Package unique identifier
Email Package unique identifier. Search for results that match any of the specified values for this parameter.
Email Template unique identifier
Email Template unique identifier. Search for results that match any of the specified values for this parameter.
Filter emails by status. Accepted values: sent, draft, queued, error, self_send, transferring.
Whether the email is a preview email
Whether the email was sent by some user
Filter emails by bucket. Accepted values: draft, inbox, outgoing, sent, trash.
Return all emails including those with the custom web form.
Return only emails with the custom web form
Email web form ID
Email web form ID. Search for results that contain the specified characters in this parameter.
Sorting options
Offset
Limit
If specified, "offset" parameter will be ignored
and the page containing entity with this Id will be returned.
With parameters
Determines the detail level of the response body.
List of emails retrieved successfully.
Email unique identifier
Unique identifier of User who sent Email
Email template unique identifier
Email status. Accepted values: sent, draft, queued, transferring, error, self_send
Email type. Accepted values: original, resend, forward, reply
Date and time the email was created
Indicates whether the email is deleted
Email Package unique identifier
Indicates whether the email is a preview email
Indicates whether the email was sent by a user
The watermark on the preview email
Unique identifier of the email package.
Indicates whether the package includes a copy for the sender.
Indicates whether a fingerprint (hash) of the package should be included for verification.
Expiration time of the package in seconds from creation.
Count of the files attached to the package.
Indicates whether the package has been marked as deleted.
Access control list (ACL) associated with the package, specifying who can access it.
Unique identifier for the email package containing the attachment.
Unique identifier for the attachment.
Indicates whether the attachment has been withdrawn.
Details of the DRM-protected file associated with the attachment.
Access type for the attachment (e.g., read-only, editable).
List of tags associated with the attachment.
List of permissions associated with the attachment.
Unique identifier for the file associated with the attachment.
Name of the attachment file.
Size of the attachment file in bytes.
The MIME type of the attachment file.
Date when the attachment file was created.
Indicates if the attachment has been deleted.
A unique hash identifying the file version.
The algorithm used for generating the file version fingerprint. (e.g., sha3-256, md5).
List of alternative fingerprints for the attachment file.
Status of the attachment in the admin quarantine system.
Antivirus (AV) scan status of the attachment.
Data Loss Prevention (DLP) status of the attachment.
Link for accessing the email.
Email package expiration date
Number of attachments in the email package
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 of the user associated with the recipient.
Recipient type.0 – To.1 – CC.2 – BCC.
Email address of the recipient.
Indicates if the recipient is a distribution list rather than an individual user.
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.
Indicates whether the email body is secured
Date and time the email was last modified
Unique identifier of the original email this email was forwarded or replied from
Email unique identifier for return receipt
The unique identifier of the user
The name of the user
The user's email
URL to the user's profile icon image
User ID for Return Receipt
Error message when the email status is error
Subject line of the email as shown to recipients
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
Indicates whether the email has been read by the current user
Mailbox bucket the email belongs to. Accepted values: inbox, sent, draft, outgoing, trash
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
(Explicit field. May be retrieved only if mentioned in "with" parameter)
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.
Forbidden
Possible error codes: ERR_LICENSE_DLI, ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/dli/users/:id/mail" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the user
url = f"https://{{instance}}.kiteworks.com/rest/dli/users/{id}/mail"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())