Kiteworks sharedMailbox API
The sharedMailbox API from Kiteworks — 6 operation(s) for sharedmailbox.
The sharedMailbox API from Kiteworks — 6 operation(s) for sharedmailbox.
openapi: 3.0.2
info:
version: '28'
title: Kiteworks API Documentation activities sharedMailbox API
tags:
- name: sharedMailbox
paths:
/rest/sharedMailboxes:
patch:
summary: Update current user's shared mailbox active status
description: "### Description:\n Updates the active status of one or more shared mailboxes for the current user.\n### Precondition:\n The user must be authenticated and belong to an internal domain.\n### Response:\n The updated list of shared mailboxes is returned.\n"
tags:
- sharedMailbox
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxStatusPatchRequest'
responses:
'200':
description: The shared mailbox status is updated successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxList'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER, ERR_NOT_INTERNAL_DOMAIN'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
ERR_NOT_INTERNAL_DOMAIN:
summary: The email is not internal domain
description: The email is not internal domain
value:
errors:
- code: ERR_NOT_INTERNAL_DOMAIN
message: The email is not internal domain
'422':
description: 'Unprocessable Content<br /><br /><i>Possible error codes: </i>ERR_MAX_ACTIVED_SHAREDMAILBOX'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_MAX_ACTIVED_SHAREDMAILBOX:
summary: Maximum activated shared mailbox reached
description: Maximum activated shared mailbox reached
value:
errors:
- code: ERR_MAX_ACTIVED_SHAREDMAILBOX
message: Maximum activated shared mailbox reached
'490':
description: Request blocked by WAF
get:
summary: Return current user's shared mailboxes
description: "### Description:\n Returns a paginated list of shared mailboxes available to the current user.\n### Precondition:\n The user must be authenticated and belong to an internal domain.\n### Response:\n A list of shared mailboxes is returned.\n"
tags:
- sharedMailbox
parameters:
- in: query
name: orderBy
required: false
description: 'Sort order for the results.<br>Allowed values: `modified:asc`, `modified:desc`, `active:asc`, `active:desc`.'
schema:
type: string
enum:
- modified:asc
- modified:desc
- active:asc
- active:desc
- in: query
name: limit
required: false
description: Maximum number of results to return.
schema:
type: integer
minimum: 1
- in: query
name: offset
required: false
description: Number of items to skip before returning results, for pagination.
schema:
type: integer
minimum: 0
- in: query
name: active
required: false
description: Filter by active status. If true, returns only active shared mailboxes; if false, returns only inactive ones.
schema:
type: boolean
- in: query
name: id:in
required: false
explode: true
style: form
description: Comma-separated list of shared mailbox user IDs to filter by. (Recommended request size <= 100)
schema:
type: array
items:
type: string
responses:
'200':
description: The shared mailboxes are returned successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxList'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_NOT_INTERNAL_DOMAIN'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_NOT_INTERNAL_DOMAIN:
summary: The email is not internal domain
description: The email is not internal domain
value:
errors:
- code: ERR_NOT_INTERNAL_DOMAIN
message: The email is not internal domain
'490':
description: Request blocked by WAF
/rest/sharedMailboxes/mail/actions/counters:
get:
summary: Return current user's shared mailbox counters
description: "### Description:\n Returns unread message counters for the current user's active shared mailboxes.\n### Precondition:\n The user must be authenticated.\n### Response:\n A list of mail counters for each active shared mailbox is returned.\n"
tags:
- sharedMailbox
parameters:
- in: query
name: id:in
required: false
explode: true
style: form
description: Comma-separated list of shared mailbox user IDs to filter by. (Recommended request size <= 100)
schema:
type: array
items:
type: string
responses:
'200':
description: The shared mailbox counters are returned successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/MailCountersList'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
'490':
description: Request blocked by WAF
/rest/sharedMailboxes/{id}/settings:
get:
summary: Return shared mailbox settings
description: "### Description:\n Returns the application settings for the specified shared mailbox.\n### Precondition:\n The user must be authenticated and the specified shared mailbox must be active.\n### Response:\n The shared mailbox settings are returned.\n"
tags:
- sharedMailbox
parameters:
- in: path
name: id
required: true
description: The unique identifier (UUID) of the user.
schema:
type: string
format: uuid
responses:
'200':
description: The shared mailbox settings are returned successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxSetting'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
'490':
description: Request blocked by WAF
/rest/sharedMailboxes/{id}/webForms:
get:
summary: List web forms available to a shared mailbox
description: "### Description:\n Returns a list of web forms available to the specified shared mailbox.\n### Precondition:\n The user must be authenticated and the specified shared mailbox must be active.\n### Response:\n A list of web forms is returned.\n"
tags:
- sharedMailbox
parameters:
- in: path
name: id
required: true
description: The unique identifier (UUID) of the user.
schema:
type: string
format: uuid
- in: query
name: returnEntity
required: false
description: If true, includes the entity in the response body.
schema:
type: boolean
- in: query
name: with
required: false
description: Specifies additional fields to include in the response.
schema:
type: string
- in: query
name: mode
required: false
description: Determines the detail level of the response body.
schema:
type: string
enum:
- compact
- full_no_links
- full_with_links
- full
responses:
'200':
description: The web forms are returned successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/WebFormList'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
'490':
description: Request blocked by WAF
/rest/admin/sharedMailboxes:
post:
summary: Create a shared mailbox
description: "### Description:\n Converts the specified user account into a shared mailbox and assigns the specified members.\n### Precondition:\n Caller must have system, application, or helpdesk admin role.\n### Response:\n The shared mailbox is created and its details are returned.\n"
tags:
- sharedMailbox
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxPostRequest'
responses:
'201':
description: The shared mailbox has been created successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailbox'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_ADMIN, ERR_ACCESS_USER, ERR_ADMIN_ROLE_RANK_RESTRICTED, ERR_NOT_INTERNAL_DOMAIN'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_ADMIN:
summary: Insufficient admin access permissions
description: Insufficient admin access permissions
value:
errors:
- code: ERR_ACCESS_ADMIN
message: Insufficient admin access permissions
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
ERR_ADMIN_ROLE_RANK_RESTRICTED:
summary: Action is restricted due to admin role rank
description: Action is restricted due to admin role rank
value:
errors:
- code: ERR_ADMIN_ROLE_RANK_RESTRICTED
message: Action is restricted due to admin role rank
ERR_NOT_INTERNAL_DOMAIN:
summary: The email is not internal domain
description: The email is not internal domain
value:
errors:
- code: ERR_NOT_INTERNAL_DOMAIN
message: The email is not internal domain
'413':
description: 'Content Too Large<br /><br /><i>Possible error codes: </i>ERR_SYSTEM_NO_STORAGE_AVAILABLE'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_SYSTEM_NO_STORAGE_AVAILABLE:
summary: Folder owner's remaining storage quota does not permit for a file upload of this size.
description: Folder owner's remaining storage quota does not permit for a file upload of this size.
value:
errors:
- code: ERR_SYSTEM_NO_STORAGE_AVAILABLE
message: Folder owner's remaining storage quota does not permit for a file upload of this size.
'422':
description: 'Unprocessable Content<br /><br /><i>Possible error codes: </i>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'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_INVALID_PARAMETER:
summary: Invalid Parameter Exception
description: Invalid Parameter Exception
value:
errors:
- code: ERR_INVALID_PARAMETER
message: Invalid Parameter Exception
ERR_CANNOT_RETAIN_DATA_TO_THE_SAME_USER:
summary: 'Cannot retain data: selected user is being deleted/demoted. Please choose a different user.'
description: 'Cannot retain data: selected user is being deleted/demoted. Please choose a different user.'
value:
errors:
- code: ERR_CANNOT_RETAIN_DATA_TO_THE_SAME_USER
message: 'Cannot retain data: selected user is being deleted/demoted. Please choose a different user.'
ERR_USER_IS_NOT_INTERNAL_DL_OR_INTERNAL_ACCOUNT:
summary: User is not internal distribution list or internal domain
description: User is not internal distribution list or internal domain
value:
errors:
- code: ERR_USER_IS_NOT_INTERNAL_DL_OR_INTERNAL_ACCOUNT
message: User is not internal distribution list or internal domain
ERR_CANNOT_RETAIN_DATA_TO_UNVERIFIED_USER:
summary: 'Cannot retain data: selected user is unverified. Please select a verified user before proceeding.'
description: 'Cannot retain data: selected user is unverified. Please select a verified user before proceeding.'
value:
errors:
- code: ERR_CANNOT_RETAIN_DATA_TO_UNVERIFIED_USER
message: 'Cannot retain data: selected user is unverified. Please select a verified user before proceeding.'
'490':
description: Request blocked by WAF
get:
summary: Return shared mailbox list
description: "### Description:\n Returns a paginated list of shared mailboxes, optionally filtered by user IDs.\n### Precondition:\n Caller must have system, application, or helpdesk admin role.\n### Response:\n A list of shared mailboxes is returned.\n"
tags:
- sharedMailbox
parameters:
- in: query
name: orderBy
required: false
description: Sort order for the results.<br>`modified:asc` – Sort by last modified date, ascending.<br>`modified:desc` – Sort by last modified date, descending.<br>`active:asc` – Sort by active status, ascending.<br>`active:desc` – Sort by active status, descending.
schema:
type: string
enum:
- modified:asc
- modified:desc
- active:asc
- active:desc
- in: query
name: limit
required: false
description: Maximum number of results to return.
schema:
type: integer
minimum: 1
- in: query
name: offset
required: false
description: Number of results to skip before returning, for pagination.
schema:
type: integer
minimum: 0
- in: query
name: active
required: false
description: Filter by active status. If true, returns only active shared mailboxes; if false, returns only inactive ones.
schema:
type: boolean
- in: query
name: id:in
required: false
explode: true
style: form
description: Comma-separated list of shared mailbox user UUIDs to filter by. (Recommended request size <= 100)
schema:
type: array
items:
type: string
responses:
'200':
description: The shared mailboxes have been successfully returned.
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxList'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'490':
description: Request blocked by WAF
delete:
summary: Delete shared mailboxes
description: "### Description:\n Deletes the specified shared mailboxes and restores the associated user accounts.\n### Precondition:\n Caller must have system, application, or helpdesk admin role.\n### Response:\n The shared mailboxes are deleted successfully.\n"
tags:
- sharedMailbox
parameters:
- in: query
name: id:in
required: false
explode: true
style: form
description: Comma-separated list of shared mailbox user UUIDs to delete. (Recommended request size <= 100)
schema:
type: array
items:
type: string
responses:
'204':
description: The shared mailboxes have been deleted successfully.
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED, ERR_ENTITY_NOT_FOUND'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
ERR_ENTITY_NOT_FOUND:
summary: Entity does not exist
description: Entity does not exist
value:
errors:
- code: ERR_ENTITY_NOT_FOUND
message: Entity does not exist
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_ADMIN, ERR_ACCESS_USER, ERR_ADMIN_ROLE_RANK_RESTRICTED, ERR_LICENSE_MAX_USERS_COUNT_REACHED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_ADMIN:
summary: Insufficient admin access permissions
description: Insufficient admin access permissions
value:
errors:
- code: ERR_ACCESS_ADMIN
message: Insufficient admin access permissions
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
ERR_ADMIN_ROLE_RANK_RESTRICTED:
summary: Action is restricted due to admin role rank
description: Action is restricted due to admin role rank
value:
errors:
- code: ERR_ADMIN_ROLE_RANK_RESTRICTED
message: Action is restricted due to admin role rank
ERR_LICENSE_MAX_USERS_COUNT_REACHED:
summary: License count has been reached
description: License count has been reached
value:
errors:
- code: ERR_LICENSE_MAX_USERS_COUNT_REACHED
message: License count has been reached
'490':
description: Request blocked by WAF
/rest/admin/sharedMailboxes/{id}:
patch:
summary: Update shared mailbox members
description: "### Description:\n Updates the member list of the specified shared mailbox.\n### Precondition:\n Caller must have system, application, or helpdesk admin role.\n### Response:\n The shared mailbox is updated and its details are returned.\n"
tags:
- sharedMailbox
parameters:
- in: path
name: id
required: true
description: The unique identifier (UUID) of the user.
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailboxPatchRequest'
responses:
'200':
description: The shared mailbox has been updated successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SharedMailbox'
'401':
description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_AUTH_INVALID_CSRF:
summary: Invalid CSRF Authentication
description: Invalid CSRF Authentication
value:
errors:
- code: ERR_AUTH_INVALID_CSRF
message: Invalid CSRF Authentication
ERR_AUTH_UNAUTHORIZED:
summary: Unauthorized
description: Unauthorized
value:
errors:
- code: ERR_AUTH_UNAUTHORIZED
message: Unauthorized
'403':
description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_ADMIN, ERR_ACCESS_USER, ERR_ADMIN_ROLE_RANK_RESTRICTED, ERR_NOT_INTERNAL_DOMAIN'
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
ERR_ACCESS_ADMIN:
summary: Insufficient admin access permissions
description: Insufficient admin access permissions
value:
errors:
- code: ERR_ACCESS_ADMIN
message: Insufficient admin access permissions
ERR_ACCESS_USER:
summary: Insufficient access permissions
description: Insufficient access permissions
value:
errors:
- code: ERR_ACCESS_USER
message: Insufficient access permissions
ERR_ADMIN_ROLE_RANK_RESTRICTED:
summary: Action is restricted due to admin role rank
description: Action is restricted due to admin role rank
value:
errors:
- code: ERR_ADMIN_ROLE_RANK_RESTRICTED
message: Action is restricted due to admin role rank
ERR_NOT_INTERNAL_DOMAIN:
summary: The email is not internal domain
description: The email is not internal domain
value:
errors:
- code: ERR_NOT_INTERNAL_DOMAIN
message: The email is not internal domain
'490':
description: Request blocked by WAF
components:
schemas:
Errors:
type: object
properties:
error:
type: array
items:
$ref: '#/components/schemas/Error'
SharedMailboxSetting:
type: object
properties:
fileFilterExclusionGroups:
type: array
description: List of file type groups excluded from upload.
items:
type: string
sendOptionEnabled:
description: Send options available to users when composing emails.
allOf:
- $ref: '#/components/schemas/SendOption'
ACL:
type: array
description: List of access control levels available for the shared mailbox.
items:
type: string
maxLinkExpiration:
type: integer
description: Maximum link expiration period in days allowed by policy.
returnReceiptDefault:
type: boolean
description: Indicates whether return receipts are requested by default.
zipLimit:
type: integer
description: Maximum number of files that can be included in a single ZIP download.
sendFileLimit:
type: integer
description: Maximum number of files that can be sent in a single
# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kiteworks/refs/heads/main/openapi/kiteworks-sharedmailbox-api-openapi.yml