List Kiteworks groups
Description:
Returns the list of Kiteworks groups for the current user, including the email address of each member in the group.Precondition:
User must be authenticated.Response:
Returns the list of groups.Filter results by the exact group name.
Filter results to groups whose names contain the specified characters.
Sort order for the results. Default is name:asc.
Allowed values: id:asc, id:desc, name:asc, name:desc.
Maximum number of groups to return.
Number of groups to skip before returning results, for pagination.
The groups list has been successfully returned.
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Unique identifier of the contact.
Display name of the contact.
Date and time when the contact was created.
Date and time when the contact was last modified.
Date and time of the most recent interaction with this contact.
Email address of the contact.
Indicates whether the contact is a distribution list.
URL or identifier of the contact's profile icon.
Bad Request
Possible error codes: ERR_REQUEST_INVALID_FILTER
Error code
Error message
Unauthorized
Possible error codes: ERR_ACCESS_USER, ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/groups" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/groups"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Create a group entry
Description:
Creates a new Kiteworks group of users.Precondition:
User must be authenticated.Response:
Returns the newly created group.The name of the group.
List of group members, each specified by their email address. At least one member is required.
The group has been successfully created.
Unique identifier of the contact.
Display name of the contact.
Date and time when the contact was created.
Date and time when the contact was last modified.
Date and time of the most recent interaction with this contact.
Email address of the contact.
Indicates whether the contact is a distribution list.
URL or identifier of the contact's profile icon.
Unauthorized
Possible error codes: ERR_ACCESS_USER, ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Conflict
Possible error codes: ERR_ENTITY_EXISTS
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INVALID_PARAMETER
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/groups" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"items": [
{
"email": "string"
}
]
}'import requests
url = "https://{instance}.kiteworks.com/rest/groups"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"name": "string",
"items": [
{
"email": "string"
}
]
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Return users for the specified group
Description:
Returns the list of users for the specified group.Precondition:
User must be authenticated.Response:
Returns the group details including its members.The unique identifier of the entity.
The group has been successfully returned.
Unique identifier of the contact.
Display name of the contact.
Date and time when the contact was created.
Date and time when the contact was last modified.
Date and time of the most recent interaction with this contact.
Email address of the contact.
Indicates whether the contact is a distribution list.
URL or identifier of the contact's profile icon.
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/groups/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the entity.
url = f"https://{{instance}}.kiteworks.com/rest/groups/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Update a group entry
Description:
Updates the specified group's name and members.Precondition:
User must be the owner of the group.Response:
The group is updated.The unique identifier of the entity.
The group has been successfully updated.
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
Conflict
Possible error codes: ERR_ENTITY_EXISTS
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INVALID_PARAMETER
Error code
Error message
Request blocked by WAF
curl -X PUT \
"https://{instance}.kiteworks.com/rest/groups/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the entity.
url = f"https://{{instance}}.kiteworks.com/rest/groups/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.put(url, headers=headers)
print(response.json())Delete a group entry
Description:
Deletes the specified group.Precondition:
User must be the owner of the group.Response:
The group is deleted.The unique identifier of the entity.
The group has been successfully deleted.
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 DELETE \
"https://{instance}.kiteworks.com/rest/groups/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the entity.
url = f"https://{{instance}}.kiteworks.com/rest/groups/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())