sharedMailbox
9 endpointsReturn current user's shared mailboxes
Description:
Returns a paginated list of shared mailboxes available to the current user.Precondition:
The user must be authenticated and belong to an internal domain.Response:
A list of shared mailboxes is returned.Sort order for the results.
Allowed values: modified:asc, modified:desc, active:asc, active:desc.
Maximum number of results to return.
Number of items to skip before returning results, for pagination.
Filter by active status. If true, returns only active shared mailboxes; if false, returns only inactive ones.
Comma-separated list of shared mailbox user IDs to filter by. (Recommended request size <= 100)
The shared mailboxes are returned successfully.
List of shared mailboxes.
Indicates whether the shared mailbox is active.
Details of the shared mailbox user account.
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.
List of users who are members of the shared mailbox.
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.
Pagination metadata for the result set.
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_NOT_INTERNAL_DOMAIN
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/sharedMailboxes" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/sharedMailboxes"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Update current user's shared mailbox active status
Description:
Updates the active status of one or more shared mailboxes for the current user.Precondition:
The user must be authenticated and belong to an internal domain.Response:
The updated list of shared mailboxes is returned.List of shared mailbox status updates to apply.
The shared mailbox status is updated successfully.
List of shared mailboxes.
Indicates whether the shared mailbox is active.
Details of the shared mailbox user account.
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.
List of users who are members of the shared mailbox.
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.
Pagination metadata for the result set.
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER, ERR_NOT_INTERNAL_DOMAIN
Error code
Error message
Unprocessable Content
Possible error codes: ERR_MAX_ACTIVED_SHAREDMAILBOX
Error code
Error message
Request blocked by WAF
curl -X PATCH \
"https://{instance}.kiteworks.com/rest/sharedMailboxes" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"data": [
{
"id": "string",
"active": true
}
]
}'import requests
url = "https://{instance}.kiteworks.com/rest/sharedMailboxes"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"data": [
{
"id": "string",
"active": true
}
]
}
response = requests.patch(url, headers=headers, json=payload)
print(response.json())Return current user's shared mailbox counters
Description:
Returns unread message counters for the current user's active shared mailboxes.Precondition:
The user must be authenticated.Response:
A list of mail counters for each active shared mailbox is returned.Comma-separated list of shared mailbox user IDs to filter by. (Recommended request size <= 100)
The shared mailbox counters are returned successfully.
List of mail counter entries.
Email counters for this mail entity.
Number of draft emails.
Number of emails in the inbox.
Number of unread emails in the inbox.
Number of outgoing emails.
Number of outgoing emails that encountered an error.
Number of outgoing emails queued for sending.
Number of outgoing emails currently being transferred.
Number of emails in the trash.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/sharedMailboxes/mail/actions/counters" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/sharedMailboxes/mail/actions/counters"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Return shared mailbox settings
Description:
Returns the application settings for the specified shared mailbox.Precondition:
The user must be authenticated and the specified shared mailbox must be active.Response:
The shared mailbox settings are returned.The unique identifier (UUID) of the user.
The shared mailbox settings are returned successfully.
List of file type groups excluded from upload.
Send options available to users when composing emails.
Indicates whether link expiry is enabled for sent files.
Access control level applied to sent files.
List of access control levels available for the shared mailbox.
Maximum link expiration period in days allowed by policy.
Indicates whether return receipts are requested by default.
Maximum number of files that can be included in a single ZIP download.
Maximum number of files that can be sent in a single email.
Policy for sending a copy of outgoing emails to the sender.
Default link expiration period in days.
Default access control level applied to new files.
List of custom file extensions excluded from upload.
Indicates whether document watermarking is enabled.
Policy for requesting read receipts on sent emails.
Policy for sending email expiration notifications.
Indicates whether fingerprint inclusion is enabled by default.
Policy for including a digital fingerprint in sent emails.
Policy for securing the message body in outgoing emails.
Indicates whether self-copy is enabled by default.
List of file extensions explicitly allowed for upload.
List of file extensions blocked from upload.
Indicates whether secure message body is enabled by default.
Watermark text or template applied to file previews.
Indicates whether users can send files to external recipients.
Identifier of the default web form associated with the shared mailbox.
Default country code used for phone number formatting.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/sharedMailboxes/:id/settings" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier (UUID) of the user.
url = f"https://{{instance}}.kiteworks.com/rest/sharedMailboxes/{id}/settings"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())List web forms available to a shared mailbox
Description:
Returns a list of web forms available to the specified shared mailbox.Precondition:
The user must be authenticated and the specified shared mailbox must be active.Response:
A list of web forms is returned.The unique identifier (UUID) of the user.
If true, includes the entity in the response body.
Specifies additional fields to include in the response.
Determines the detail level of the response body.
The web forms are returned successfully.
Unique identifier of the web form.
Date and time when the web form was last modified.
Display name of the web form.
Description of the web form.
URL where the web form is accessible.
Indicates whether the web form is active.
Indicates whether authentication is required to submit the web form.
Indicates whether the web form can be embedded in external pages.
Indicates whether the web form can be used as a standalone page.
List of user profiles that have access to this web form.
Unique identifier of the web form.
Unique identifier of the user profile associated with the web form.
List of fields in the web form.
Unique identifier of the web form field.
Display order of the field within the form.
Display label of the field.
Input type of the field (e.g., text, select, checkbox).
Special processing type for the field, if applicable.
Placeholder text shown in the field before input.
Default value pre-populated in the field.
Available option values for select-type fields.
Indicates whether the field is required.
Indicates whether the field can be edited by the user.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/sharedMailboxes/:id/webForms" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier (UUID) of the user.
url = f"https://{{instance}}.kiteworks.com/rest/sharedMailboxes/{id}/webForms"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Return shared mailbox list
Description:
Returns a paginated list of shared mailboxes, optionally filtered by user IDs.Precondition:
Caller must have system, application, or helpdesk admin role.Response:
A list of shared mailboxes is returned.Sort order for the results.modified:asc – Sort by last modified date, ascending.modified:desc – Sort by last modified date, descending.active:asc – Sort by active status, ascending.active:desc – Sort by active status, descending.
Maximum number of results to return.
Number of results to skip before returning, for pagination.
Filter by active status. If true, returns only active shared mailboxes; if false, returns only inactive ones.
Comma-separated list of shared mailbox user UUIDs to filter by. (Recommended request size <= 100)
The shared mailboxes have been successfully returned.
List of shared mailboxes.
Indicates whether the shared mailbox is active.
Details of the shared mailbox user account.
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.
List of users who are members of the shared mailbox.
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.
Pagination metadata for the result set.
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/admin/sharedMailboxes" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/admin/sharedMailboxes"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Create a shared mailbox
Description:
Converts the specified user account into a shared mailbox and assigns the specified members.Precondition:
Caller must have system, application, or helpdesk admin role.Response:
The shared mailbox is created and its details are returned.The UUID of the user to convert into a shared mailbox.
List of member UUIDs to add to the shared mailbox. (Recommended request size <= 100)
If true, remotely wipes all devices associated with the user being converted.
If true, deletes any data that is not shared with other users after conversion.
If true, retains the user's data and transfers it to the specified retainToUser.
The UUID of the user who will receive the retained data.
If true, the retainToUser will also receive permissions to the shared data.
The UUID of an alternate user for advanced data retention scenarios.
The shared mailbox has been created successfully.
Indicates whether the shared mailbox is active.
Details of the shared mailbox user account.
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.
List of users who are members of the shared mailbox.
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.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_ADMIN, ERR_ACCESS_USER, ERR_ADMIN_ROLE_RANK_RESTRICTED, ERR_NOT_INTERNAL_DOMAIN
Error code
Error message
Content Too Large
Possible error codes: ERR_SYSTEM_NO_STORAGE_AVAILABLE
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INVALID_PARAMETER, ERR_CANNOT_RETAIN_DATA_TO_THE_SAME_USER, ERR_USER_IS_NOT_INTERNAL_DL_OR_INTERNAL_ACCOUNT, ERR_CANNOT_RETAIN_DATA_TO_UNVERIFIED_USER
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/admin/sharedMailboxes" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userId": "string",
"memberIds": [
"string"
],
"remoteWipe": true,
"deleteUnsharedData": true,
"retainData": true,
"retainToUser": "string"
}'import requests
url = "https://{instance}.kiteworks.com/rest/admin/sharedMailboxes"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"userId": "string",
"memberIds": [
"string"
],
"remoteWipe": true,
"deleteUnsharedData": true,
"retainData": true,
"retainToUser": "string"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Delete shared mailboxes
Description:
Deletes the specified shared mailboxes and restores the associated user accounts.Precondition:
Caller must have system, application, or helpdesk admin role.Response:
The shared mailboxes are deleted successfully.Comma-separated list of shared mailbox user UUIDs to delete. (Recommended request size <= 100)
The shared mailboxes have been deleted successfully.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED, ERR_ENTITY_NOT_FOUND
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_ADMIN, ERR_ACCESS_USER, ERR_ADMIN_ROLE_RANK_RESTRICTED, ERR_LICENSE_MAX_USERS_COUNT_REACHED
Error code
Error message
Request blocked by WAF
curl -X DELETE \
"https://{instance}.kiteworks.com/rest/admin/sharedMailboxes" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/admin/sharedMailboxes"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())Update shared mailbox members
Description:
Updates the member list of the specified shared mailbox.Precondition:
Caller must have system, application, or helpdesk admin role.Response:
The shared mailbox is updated and its details are returned.The unique identifier (UUID) of the user.
List of member ids (Recommended request size <= 100)
The shared mailbox has been updated successfully.
Indicates whether the shared mailbox is active.
Details of the shared mailbox user account.
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.
List of users who are members of the shared mailbox.
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.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_ADMIN, ERR_ACCESS_USER, ERR_ADMIN_ROLE_RANK_RESTRICTED, ERR_NOT_INTERNAL_DOMAIN
Error code
Error message
Request blocked by WAF
curl -X PATCH \
"https://{instance}.kiteworks.com/rest/admin/sharedMailboxes/:id" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"memberIds": [
"string"
]
}'import requests
id = "VALUE" # The unique identifier (UUID) of the user.
url = f"https://{{instance}}.kiteworks.com/rest/admin/sharedMailboxes/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"memberIds": [
"string"
]
}
response = requests.patch(url, headers=headers, json=payload)
print(response.json())