Overview

Documentation of the Open-Xchange HTTP API which is used by the new AJAX GUI.


Version information

Version : 7.8.2

Contact information

Contact : Open-Xchange GmbH
Contact Email : info@open-xchange.com

URI scheme

Host : example.com
BasePath : /ajax
Schemes : HTTPS

Tags

Because of security reasons each login variation will reject requests containing the parameter "password" within the URL query (starting with 7.8.0).

  • config : The config module is used to retrieve and set user-specific configuration. The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.

  • folders : The folders module is used to access the OX folder structure.

Folders with some kind of special:

| ID | Type | Description | |----|------|-------------| | 6 | contacts | System Users |

  • tasks : The tasks module is used to access task information.

  • contacts : The contacts module is used to access contact information.

  • calendar : The calendar module is used to access calendar data.

  • mail : The mail module is used to access mail data. When mails are stored on an IMAP server, some functionality is not available due to restrictions of the IMAP protocol. Such functionality is marked with "not IMAP".

  • groups : The group module allows to query available groups. It is mainly used by the dialog for the selection of participants.

  • resources : The resource module allows to query available resources. It is mainly used by the dialog for the selection of participants.

  • infostore : The module infostore or filestore or files or drive has been renamed quite often. Whatever its name, it combines the knowledge database, bookmarks and document storage.

  • attachments : The module attachments allows file attachments to arbitrary objects. An attachment always belongs to an object (called 'attached') in a certain folder of a certain module.

  • reminder : The reminder module provides the ability to fetch all active reminders for a user between two dates.

  • multiple : The multiple module allows to bundle multiple requests to most other modules in a single request.

  • quota : The filestore module allows accesssing information about the use and quota of the filestore.

  • import : The module import allows to import specific module data (like Contacts, Tasks or Appointments) in several formats (iCal, vCard, CSV) into a folder. Please note: The callback for all actions of this bundle is callback_import, not callback_$actionname for legacy purposes.

  • export : The module export allows to export specific module data (like contacts, tasks or appointments) from a folder in several formats (iCal, vCard, CSV).

  • sync : The module sync delivers several core API extensions to support common operations used in a mobile synchronization environment.

  • token : The module token delivers several core API extensions to support token based logins.

  • mailfilter : The mailfilter module is used to access all mail filter related options.

First of all the main structure of a mail filter script is, that it has different rules. Each of them contains one command. This command takes a test condition which executes the actions given in that command if the test condition is true. The test condition consists of a test command and some arguments for this command depending on the command itself. Because the available tests depend on the mail filter server, these tests must be determined at runtime. So that no test field is transferred to the server which it isn’t able to handle. Examples for tests are address, allof and anyof. Each test has a special comparison. The list of available comparisons depends on the test given and the mail filter server configuration so they have to be determined at runtime too.

  • file : The ajax file upload module offers to store files in server’s dedicated download directory for a configureable amount of time. The files are then accessible for further operations like inline images in (html) mails.

  • image : The image module allows to download images from Open-Xchange server without providing a session ID in request’s URL parameters.

  • conversion : The conversion module is a generic module to request data from a data source and to process obtained/submitted data with a data handler. Thus data is converted from a data source by a data handler.

  • mailaccount : The mailaccount module is used to manage multiple mail accounts held by a user (available since v6.12).

  • autoconfig : The module autoconfig can be used to request the best available settings for an appropriate mail server (available since v6.22).

  • user : The user module is used to access user information (available since v6.14).

  • user/me : The module user/me is used to access formal information about current user (available since v7.6.2).

  • OAuth : The Open-Xchange server can act as an OAuth client (starting with v6.20) or be an OAuth provider itself (starting with v7.8.0). The OAuth module supports both aspects:

  • Manage multiple OAuth accounts for certain online services for a user. The OAuth mechanism allows the Open-Xchange application to act as behalf of this user using previously obtained access tokens granted by user. The according interface is divided into two parts: Account access and service’s meta data access.

  • Manage granted accesses of external services that can access a users data on his behalf, called "grants".

  • JSlob : The JSlob module is used to store and retrieve arbitrary JSON-structured configuration for a single user (available since v6.22).

  • freebusy : Provides access to free/busy information (available since v6.22.1).

  • messaging : The messaging module is divided into services which represent a messaging backend (they add a new folder module "messaging"), into accounts which represent the concrete configuration of accounts for a given messaging service, and into messages which represent single messages consisting of some metadata, headers and a content.

  • snippet : Available since v7.0.0/v6.22.0.

  • halo

  • capabilities : Provides access to capabilities, i.e. modules or features that are available on the backend and the user has access to (available since v7.4.2).

  • jump : The jump module is used to pass an acquired identity token for an authenticated user from one system to another for a single sign-on (available since v7.6.0).

  • find : The find module consists of calls for performing searches within the modules mail, contacts, tasks and drive. It was designed to provide an iterative approach where the search criteria can be refined step-wise until the desired items are found. The starting point is always an autocomplete request, that suggests possible search filters based on a users input. Those filters are grouped into categories, called "facets". A facet may provide one or more values with every value being a possible filter. A client is meant to remember every value that was selected by a user and include it within the following autocomplete and query requests, while query performs the actual search and returns the found items.

Some of the objects returned by the server contain former user input. A client must never interpret strings as HTML but always as plain text to be not vulnerable for CSS attacks!

Preliminary, available since v7.6.1.

  • share/management : The share/management module can create and manage share links via different actions. Dedicated actions to list all shares of a user can be found in the corresponding modules, like /folders?action=shares of module "folders" or /infostore?action=shares of module "infostore".

Preliminary, available since v7.8.0.

  • passwordchange : Via the passwordchange module the users can change their password.

  • filestorage : The file storage module provides access to file storage backends, e.g. Drive, Dropbox, etc.

  • mail_categories : The module mail_categories allows to manage mail categories.

Consumes

  • application/x-www-form-urlencoded

Produces

  • application/json

Paths

Gets all mail accounts (available since v6.12).

GET /account?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Mail account data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all mail accounts. Each array element describes one account and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

MailAccountsResponse

Tags

  • mailaccount

Deletes a mail account (available since v6.12).

PUT /account?action=delete

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with the ID of the mail account that shall be deleted.

< integer > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with identifiers of deleted accounts. In case of errors the responsible fields in the response are filled (see Error handling).

MailAccountDeletionResponse

Consumes

  • application/json

Tags

  • mailaccount

Gets a mail account (available since v6.12).

GET /account?action=get

Parameters

Type Name Description Schema Default

Query

id
required

Account ID of the requested account.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An object containing all data of the requested account. In case of errors the responsible fields in the response are filled (see Error handling).

MailAccountResponse

Tags

  • mailaccount

Creates a new mail account (available since v6.12).

PUT /account?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object describing the new account to create.

MailAccountData

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the inserted mail account. In case of errors the responsible fields in the response are filled (see Error handling).

MailAccountUpdateResponse

Consumes

  • application/json

Tags

  • mailaccount

Updates a mail account (available since v6.12).

PUT /account?action=update

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object identifying (by field id) and describing the account to update. Only modified fields are present.

MailAccountData

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the updated mail account. In case of errors the responsible fields in the response are filled (see Error handling).

MailAccountUpdateResponse

Consumes

  • application/json

Tags

  • mailaccount

Validates a mail account which shall be created (available since v6.12).

PUT /account?action=validate

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

Indicates whether on successful validation the folder tree shall be returned (or null`on failure) or if set to `false or missing only a boolean is returned which indicates validation result.

boolean

Body

body
required

A JSON object describing the account to validate.

MailAccountData

Responses

HTTP Code Description Schema

200

A JSON object that contains a value representing the validation result (may be a boolean or a folder tree object). If the validation fails then the error fields are filled and an additional warnings field might be added.

MailAccountValidationResponse

Consumes

  • application/json

Tags

  • mailaccount

Gets all attachments for an object.

GET /attachment?action=all

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

columns
required

A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.

string

Query

folder
required

The folder ID of the object.

integer

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all attachments. Each array element describes one attachment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

AttachmentsResponse

Tags

  • attachments

Creates an attachment.

POST /attachment?action=attach

Description

Note

It is possible to create multiple attachments at once. Therefor add additional form fields and replace "[index]" in json_[index] and file_[index] with the appropriate index, like json_1, file_1. The index always starts with 0 (mandatory attachment object).

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file_0
required

The attachment file as per <input type="file" />.

file

FormData

json_0
required

A JSON string representing an attachment object as described in AttachmentData model with at least the fields folder, attached and module.

string

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON array of object IDs of the newly created attachments or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • attachments

Deletes attachments.

PUT /attachment?action=detach

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

folder
required

The folder ID of the object.

integer

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with the identifiers of the attachments that shall be deleted.

< string > array

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • attachments

Gets an attachment’s document/filedata.

GET /attachment?action=document

Description

It is possible to add a filename to the request’s URI like /attachment/{filename}?action=document. The filename may be added to the customary attachment path to suggest a filename to a Save-As dialog.

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

content_type
optional

If present the response declares the given content_type in the Content-Type header and not the attachments file MIME type.

string

Query

folder
required

The folder ID of the object.

integer

Query

id
required

Object ID of the requested attachment.

string

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The raw byte data of the document. The response type for the HTTP request is set accordingly to the defined MIME type for this attachment or the content_type given.

string(binary)

Produces

  • application/octet-stream

Tags

  • attachments

Gets an attachment.

GET /attachment?action=get

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

folder
required

The folder ID of the object.

integer

Query

id
required

Object ID of the requested infoitem.

string

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing all data of the requested attachment. In case of errors the responsible fields in the response are filled (see Error handling).

AttachmentResponse

Tags

  • attachments

Gets a list of attachments.

PUT /attachment?action=list

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

columns
required

A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.

string

Query

folder
required

The folder ID of the object.

integer

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with the identifiers of the requested attachments.

< integer > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Consumes

  • application/json

Tags

  • attachments

Gets the new and deleted attachments.

GET /attachment?action=updates

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

columns
required

A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.

string

Query

folder
required

The folder ID of the object.

integer

Query

ignore
optional

Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.

enum (deleted)

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Query

timestamp
optional

Timestamp of the last update of the requested infoitems.

integer(int64)

Responses

HTTP Code Description Schema

200

An array with new and deleted attachments. New attachments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted attachments would be identified by their object IDs as integer, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).

AttachmentUpdatesResponse

Tags

  • attachments

Gets the auto configuration for a mail account (available since v6.22).

POST /autoconfig?action=get

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

FormData

email
required

The email address for which a mail configuration will be discovered.

string

FormData

force_secure
optional

Enforces a secure connection for configured mail account, default is true (available since v7.8.2).

boolean

FormData

password
required

The corresponding password for the mail account.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the best available settings for an appropriate mail server for the given email address. The data may be incomplete or empty. In case of errors the responsible fields in the response are filled (see Error handling).

AutoConfigResponse

Tags

  • autoconfig

Gets all appointments.

GET /calendar?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.

string

Query

end
required

Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned.

integer(int64)

Query

folder
optional

Object ID of the folder, whose contents are queried. If not specified, defaults to all calendar folders.

string

Query

recurrence_master
optional

Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Query

showPrivate
optional

Only works in shared folders: When enabled, shows private appointments of the folder owner. Such appointments are anonymized by stripping away all information except start date, end date and recurrence information (since 6.18)

boolean

Query

start
required

Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object containing an array with appointment data. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Appointment sequencies are broken up into individual appointments and each occurrence of a sequence in the requested range is returned separately. The appointments are sorted in ascending order by the field start_date. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentsResponse

Tags

  • calendar

Confirms an appointment.

PUT /calendar?action=confirm

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the appointments.

string

Query

id
required

Object ID of the appointment that shall be confirmed.

string

Query

occurrence
optional

The numeric identifier of the occurrence to which the confirmation applies (in case "id" denotes a series appointment). Available since v7.6.0.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the appointment.

integer(int64)

Body

body
required

A JSON object with the fields confirmation, confirmmessage and optionally id.

AppointmentConfirmationBody

Responses

HTTP Code Description Schema

200

Nothing, except the standard response object with empty data, the timestamp of the confirmed and thereby updated appointment, and maybe errors. In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • calendar

Deletes appointments (available since v6.22).

PUT /calendar?action=delete

Description

Before version 6.22 the request body contained a JSON object with the fields id, folder and optionally pos and could only delete one appointment.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the deleted appointments.

integer(int64)

Body

body
required

A JSON array of JSON objects with the id, folder and optionally the recurrence position (if present in an appointment to fully identify it) of the appointments.

< AppointmentDeletionsElement > array

Responses

HTTP Code Description Schema

200

A JSON array of objects identifying the appointments which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentDeletionsResponse

Consumes

  • application/json

Tags

  • calendar

Gets appointments between a specified time range.

GET /calendar?action=freebusy

Parameters

Type Name Description Schema Default

Query

end
required

Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned.

integer(int64)

Query

id
required

Internal user id. Must be obtained from the contact module.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

start
required

Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned.

integer(int64)

Query

type
required

Constant for user or resource (1 for users, 3 for resources).

enum (, )

Responses

HTTP Code Description Schema

200

An array of objects identifying the appointments which lie between start and end as described. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentFreeBusyResponse

Tags

  • calendar

Gets an appointment.

GET /calendar?action=get

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the appointments.

string

Query

id
required

Object ID of the requested appointment.

string

Query

recurrence_position
optional

Recurrence position of requested appointment.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An object containing all data of the requested appointment. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentResponse

Tags

  • calendar

Gets all change exceptions (available since v7.2.0).

GET /calendar?action=getChangeExceptions

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.

string

Query

folder
required

Object ID of the folder who contains the appointments.

string

Query

id
required

Object ID of the appointment series.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with appointment data. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentsResponse

Tags

  • calendar

Requests whether there are appointments on days in a specified time range.

GET /calendar?action=has

Parameters

Type Name Description Schema Default

Query

end
required

Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned.

integer(int64)

Query

session
required

A session ID previously obtained from the login module.

string

Query

start
required

Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object containing an array with the length of the number of days between start and end. Meaning, each element corresponds with one day in the range that was queried, explaining whether there is an appointment on this day (true) or not (false). In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentInfoResponse

Tags

  • calendar

Gets a list of appointments.

PUT /calendar?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.

string

Query

recurrence_master
optional

Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id, folder and optionally either recurrence_position or recurrence_date_position of the requested appointments.

< AppointmentListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested appointments. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentsResponse

Consumes

  • application/json

Tags

  • calendar

Creates an appointment.

PUT /calendar?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the appointment’s data.

AppointmentData

Responses

HTTP Code Description Schema

200

A JSON object containing the id of the newly created appointment if it was created successfully. If the appointment could not be created due to conflicts, the response body is an object with the field conflicts, which is an array of appointment objects which caused the conflict. Each appointment object which represents a resource conflict contains an additional field hard_conflict with the Boolean value true. If the user does not have read access to a conflicting appointment, only the fields id, start_date, end_date, shown_as and participants are present and the field participants contains only the participants which caused the conflict. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentCreationResponse

Consumes

  • application/json

Tags

  • calendar

Gets new appointments.

GET /calendar?action=newappointments

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.

string

Query

end
required

Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned.

integer(int64)

Query

limit
required

Limits the number of returned objects to the given value.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified and holds a column number, then the parameter order must be also specified.

string

Query

start
required

Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object containing an array with appointment data. Appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentsResponse

Tags

  • calendar

Resolves the UID to an OX object ID.

GET /calendar?action=resolveuid

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

uid
required

The UID that shall be resolved.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the related object ID in the field id. If no object exists with the specified UID or in case of errors the responsible fields in the response are filled (see Error handling).

AppointmentUpdateResponse

Tags

  • calendar

Searches for appointments.

PUT /calendar?action=search

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing search parameters.

AppointmentSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching appointments. Appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentsResponse

Consumes

  • application/json

Tags

  • calendar

Updates an appointment.

PUT /calendar?action=update

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the appointments.

string

Query

id
required

Object ID of the requested appointment.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the updated appointment. If the appointment was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing the appointment’s data. The field recurrence_id is always present if it is present in the original appointment. The field recurrence_position is present if it is present in the original appointment and only this single appointment should be modified. The field id is not present because it is already included as a parameter. Other fields are present only if modified.

AppointmentData

Responses

HTTP Code Description Schema

200

A JSON object containing the id of the updated appointment. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentUpdateResponse

Consumes

  • application/json

Tags

  • calendar

Gets updated appointments.

GET /calendar?action=updates

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.

string

Query

end
optional

Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned. This parameter is optional in case a certain folder is queried, but mandatory if all accessible calendar folders are supposed to be considered (folder not specified).

integer(int64)

Query

folder
optional

Object ID of the folder, whose contents are queried. That parameter may be absent in case ignore is set to "deleted", which means all accessible calendar folders are considered. If ignore is not set to "deleted", that parameter is mandatory.

string

Query

ignore
optional

Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.

enum (deleted)

Query

recurrence_master
optional

Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Query

showPrivate
optional

Only works in shared folders: When enabled, shows private appointments of the folder owner. Such appointments are anonymized by stripping away all information except start date, end date and recurrence information (since 6.18)

boolean

Query

start
optional

Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned. This parameter is optional in case a certain folder is queried, but mandatory if all accessible calendar folders are supposed to be considered (folder not specified).

integer(int64)

Query

timestamp
required

Timestamp of the last update of the requested appointments.

integer(int64)

Responses

HTTP Code Description Schema

200

An array with new, modified and deleted appointments. New and modified appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted appointments (should the ignore parameter be ever implemented) would be identified by their object IDs as integers, without being part of a nested array. Appointment sequencies are broken up into individual appointments and each modified occurrence of a sequence in the requested range is returned separately. The appointments are sorted in ascending order by the field start_date. In case of errors the responsible fields in the response are filled (see Error handling).

AppointmentUpdatesResponse

Tags

  • calendar

Gets all capabilities (available since v7.4.2).

GET /capabilities?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all capabilities. In case of errors the responsible fields in the response are filled (see Error handling).

CapabilitiesResponse

Tags

  • capabilities

Gets a capability (available since v7.4.2).

GET /capabilities?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The identifier of the capability

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the capability or an empty result, if capability not available. In case of errors the responsible fields in the response are filled (see Error handling).

CapabilityResponse

Tags

  • capabilities

Gets data of a configuration node.

GET /config/{path}

Description

The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.

Parameters

Type Name Description Schema Default

Path

path
required

The path to the node.

enum (gui, fastgui, context_id, cookielifetime, identifier, contact_id, language, timezone, availableTimeZones, calendarnotification, tasknotification, reloadTimes, serverVersion, currentTime, maxUploadIdleTimeout, search, folder, folder/tasks, folder/calendar, folder/contacts, folder/infostore, folder/eas, mail, mail/addresses, mail/defaultaddress, mail/sendaddress, mail/folder, mail/folder/inbox, mail/folder/drafts, mail/folder/trash, mail/folder/spam, mail/folder/sent, mail/htmlinline, mail/colorquote, mail/emoticons, mail/harddelete, mail/inlineforward, mail/vcard, mail/notifyonreadack, mail/msgpreview, mail/ignorereplytext, mail/nocopytosent, mail/spambutton, participants, participants/autoSearch, participants/maximumNumberParticipants, participants/showWithoutEmail, participants/showDialog, availableModules, minimumSearchCharacters, modules, modules/portal, modules/portal/gui, modules/portal/module, modules/mail, modules/mail/addresses, modules/mail/appendmailtext, modules/mail/allowhtmlimages, modules/mailcolorquoted, modules/mail/contactCollectFolder, modules/mail/contactCollectEnabled, modules/mail/contactCollectOnMailAccess, modules/mail/contactCollectOnMailTransport, modules/mail/defaultaddress, modules/mail/deletemail, modules/mail/emoticons, modules/mail/defaultFolder, modules/mail/defaultFolder/drafts, modules/mail/defaultFolder/inbox, modules/mail/defaultFolder/sent, modules/mail/defaultFolder/spam, modules/mail/defaultFolder/trash, modules/mail/forwardmessage, modules/mail/gui, modules/mail/inlineattachments, modules/mail/linewrap, modules/mail/module, modules/mail/phishingheaders, modules/mail/replyallcc, modules/mail/sendaddress, modules/mail/spambutton, modules/mail/vcard, modules/calendar, modules/calendar/calendar_conflict, modules/calendar/calendar_freebusy, modules/calendar/calendar_teamview, modules/calendar/gui, modules/calendar/module, modules/calendar/notifyNewModifiedDeleted, modules/calendar/notifyAcceptedDeclinedAsCreator, modules/calendar/notifyAcceptedDeclinedAsParticipant, modules/calendar/defaultStatusPrivate, modules/calendar/defaultStatusPublic, modules/contacts, modules/contacts/gui, modules/contacts/mailAddressAutoSearch, modules/contacts/module, modules/contacts/singleFolderSearch, modules/contacts/characterSearch, modules/contacts/allFoldersForAutoComplete, modules/tasks, modules/tasks/gui, modules/tasks/module, modules/tasks/delegate_tasks, modules/tasks/notifyNewModifiedDeleted, modules/tasks/notifyAcceptedDeclinedAsCreator, modules/tasks/notifyAcceptedDeclinedAsParticipant, modules/infostore, modules/infostore/gui, modules/infostore/folder, modules/infostore/folder/trash, modules/infostore/folder/pictures, modules/infostore/folder/documents, modules/infostore/folder/music, modules/infostore/folder/videos, modules/infostore/folder/templates, modules/infostore/module, modules/interfaces, modules/interfaces/ical, modules/interfaces/vcard, modules/interfaces/syncml, modules/folder, modules/folder/gui, modules/folder/public_folders, modules/folder/read_create_shared_folders, modules/folder/tree, modules/com.openexchange.extras, modules/com.openexchange.extras/module, modules/com.openexchange.user.passwordchange, modules/com.openexchange.user.passwordchange/module, modules/com.openexchange.user.personaldata, modules/com.openexchange.user.personaldata/module, modules/com.openexchange.group, modules/com.openexchange.group/enabled, modules/com.openexchange.resource, modules/com.openexchange.resource/enabled, modules/com.openexchange.publish, modules/com.openexchange.publish/enabled, modules/com.openexchange.subscribe, modules/com.openexchange.subscribe/enabled, modules/olox20, modules/olox20/active, modules/olox20/module, modules/com.openexchange.oxupdater, modules/com.openexchange.oxupdater/module, modules/com.openexchange.oxupdater/active, modules/com.openexchange.passwordchange, modules/com.openexchange.passwordchange/showStrength, modules/com.openexchange.passwordchange/minLength, modules/com.openexchange.passwordchange/maxLength, modules/com.openexchange.passwordchange/regexp, modules/com.openexchange.passwordchange/special)

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

Value of the node specified by path. In case of errors the responsible fields in the response are filled (see Error handling).

ConfigResponse

Tags

  • config

Sets the value of a configuration node.

PUT /config/{path}

Description

The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.

Parameters

Type Name Description Schema Default

Path

path
required

The path to the node.

enum (gui, fastgui, context_id, cookielifetime, identifier, contact_id, language, timezone, availableTimeZones, calendarnotification, tasknotification, reloadTimes, serverVersion, currentTime, maxUploadIdleTimeout, search, folder, folder/tasks, folder/calendar, folder/contacts, folder/infostore, folder/eas, mail, mail/addresses, mail/defaultaddress, mail/sendaddress, mail/folder, mail/folder/inbox, mail/folder/drafts, mail/folder/trash, mail/folder/spam, mail/folder/sent, mail/htmlinline, mail/colorquote, mail/emoticons, mail/harddelete, mail/inlineforward, mail/vcard, mail/notifyonreadack, mail/msgpreview, mail/ignorereplytext, mail/nocopytosent, mail/spambutton, participants, participants/autoSearch, participants/maximumNumberParticipants, participants/showWithoutEmail, participants/showDialog, availableModules, minimumSearchCharacters, modules, modules/portal, modules/portal/gui, modules/portal/module, modules/mail, modules/mail/addresses, modules/mail/appendmailtext, modules/mail/allowhtmlimages, modules/mailcolorquoted, modules/mail/contactCollectFolder, modules/mail/contactCollectEnabled, modules/mail/contactCollectOnMailAccess, modules/mail/contactCollectOnMailTransport, modules/mail/defaultaddress, modules/mail/deletemail, modules/mail/emoticons, modules/mail/defaultFolder, modules/mail/defaultFolder/drafts, modules/mail/defaultFolder/inbox, modules/mail/defaultFolder/sent, modules/mail/defaultFolder/spam, modules/mail/defaultFolder/trash, modules/mail/forwardmessage, modules/mail/gui, modules/mail/inlineattachments, modules/mail/linewrap, modules/mail/module, modules/mail/phishingheaders, modules/mail/replyallcc, modules/mail/sendaddress, modules/mail/spambutton, modules/mail/vcard, modules/calendar, modules/calendar/calendar_conflict, modules/calendar/calendar_freebusy, modules/calendar/calendar_teamview, modules/calendar/gui, modules/calendar/module, modules/calendar/notifyNewModifiedDeleted, modules/calendar/notifyAcceptedDeclinedAsCreator, modules/calendar/notifyAcceptedDeclinedAsParticipant, modules/calendar/defaultStatusPrivate, modules/calendar/defaultStatusPublic, modules/contacts, modules/contacts/gui, modules/contacts/mailAddressAutoSearch, modules/contacts/module, modules/contacts/singleFolderSearch, modules/contacts/characterSearch, modules/contacts/allFoldersForAutoComplete, modules/tasks, modules/tasks/gui, modules/tasks/module, modules/tasks/delegate_tasks, modules/tasks/notifyNewModifiedDeleted, modules/tasks/notifyAcceptedDeclinedAsCreator, modules/tasks/notifyAcceptedDeclinedAsParticipant, modules/infostore, modules/infostore/gui, modules/infostore/folder, modules/infostore/folder/trash, modules/infostore/folder/pictures, modules/infostore/folder/documents, modules/infostore/folder/music, modules/infostore/folder/videos, modules/infostore/folder/templates, modules/infostore/module, modules/interfaces, modules/interfaces/ical, modules/interfaces/vcard, modules/interfaces/syncml, modules/folder, modules/folder/gui, modules/folder/public_folders, modules/folder/read_create_shared_folders, modules/folder/tree, modules/com.openexchange.extras, modules/com.openexchange.extras/module, modules/com.openexchange.user.passwordchange, modules/com.openexchange.user.passwordchange/module, modules/com.openexchange.user.personaldata, modules/com.openexchange.user.personaldata/module, modules/com.openexchange.group, modules/com.openexchange.group/enabled, modules/com.openexchange.resource, modules/com.openexchange.resource/enabled, modules/com.openexchange.publish, modules/com.openexchange.publish/enabled, modules/com.openexchange.subscribe, modules/com.openexchange.subscribe/enabled, modules/olox20, modules/olox20/active, modules/olox20/module, modules/com.openexchange.oxupdater, modules/com.openexchange.oxupdater/module, modules/com.openexchange.oxupdater/active, modules/com.openexchange.passwordchange, modules/com.openexchange.passwordchange/showStrength, modules/com.openexchange.passwordchange/minLength, modules/com.openexchange.passwordchange/maxLength, modules/com.openexchange.passwordchange/regexp, modules/com.openexchange.passwordchange/special)

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the value of the config node.

ConfigBody

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • config

Gets a property of the configuration (available since v7.6.2).

GET /config?action=get_property

Parameters

Type Name Description Schema Default

Query

name
required

The name of the property to return.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON response providing the property’s name and its value. In case of errors the responsible fields in the response are filled (see Error handling).

ConfigPropertyResponse

Tags

  • config

Sets a property of the configuration (available since v7.6.2).

PUT /config?action=set_property

Parameters

Type Name Description Schema Default

Query

name
required

The name of the property to return.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object providing the value to set (Example: {"value":"test123"}).

ConfigPropertyBody

Responses

HTTP Code Description Schema

200

A JSON response providing the property’s name and its value. In case of errors the responsible fields in the response are filled (see Error handling).

ConfigPropertyResponse

Consumes

  • application/json

Tags

  • config

Search for contacts by filter (available since v6.20).

PUT /contacts?action=advancedSearch

Parameters

Type Name Description Schema Default

Query

admin
optional

Specifies whether to include the contact representing the admin in the result or not. Defaults to true. (preliminary, since 7.4.2)

boolean

Query

collation
optional

Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20)

enum (gbk, gb2312)

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Body

body
required

A JSON object describing the search term as introducted in Advanced search. Example: {"filter":["and",["=", {"field":"last_name"},"Mustermann"],["=",{"field":"first_name"},"Max"]]} which represents 'last_name = "Mustermann" AND first_name = "Max"'. Valid fields are the ones specified in Contact data model.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Consumes

  • application/json

Tags

  • contacts

Gets all contacts.

GET /contacts?action=all

Parameters

Type Name Description Schema Default

Query

collation
optional

Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20)

enum (gbk, gb2312)

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

folder
required

Object ID of the folder who contains the contacts.

string

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Tags

  • contacts

Search for contacts by anniversary (available since v6.22.1, preliminary).

GET /contacts?action=anniversaries

Description

Finds contacts whose anniversary falls into a specified time range.

Parameters

Type Name Description Schema Default

Query

collation
optional

Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20)

enum (gbk, gb2312)

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

end
required

The upper (exclusive) limit of the requested time range.

integer(int64)

Query

folder
optional

Object ID of the parent folder that is searched. If not set, all visible folders are used.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Query

start
required

The lower (inclusive) limit of the requested time range.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Tags

  • contacts

Auto-complete conntacts (available since v7.6.1, preliminary).

GET /contacts?action=autocomplete

Description

Finds contacts based on a prefix, usually used to auto-complete e-mail recipients while the user is typing.

Parameters

Type Name Description Schema Default

Query

collation
optional

Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20)

enum (gbk, gb2312)

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

email
optional

Whether to only include contacts with at least one e-mail address. Defaults to true.

boolean

"true"

Query

folder
optional

Object ID of the parent folder that is searched. If not set, all visible folders are used.

string

Query

left_hand_limit
optional

A positive integer number to specify the "left-hand" limit of the range to return.

integer

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

query
required

The query to search for.

string

Query

right_hand_limit
optional

A positive integer number to specify the "right-hand" limit of the range to return.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. Since 7.8.1: If this parameter is missing, response is sorted by a user-specific use count of contacts, ID of contacts' parent folder and display name.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the contact data. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Tags

  • contacts

Search for contacts by birthday (available since v6.22.1, preliminary).

GET /contacts?action=birthdays

Description

Finds contacts whose birthday falls into a specified time range.

Parameters

Type Name Description Schema Default

Query

collation
optional

Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20)

enum (gbk, gb2312)

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

end
required

The upper (exclusive) limit of the requested time range.

integer(int64)

Query

folder
optional

Object ID of the parent folder that is searched. If not set, all visible folders are used.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Query

start
required

The lower (inclusive) limit of the requested time range.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Tags

  • contacts

Deletes contacts (available since v6.22).

PUT /contacts?action=delete

Description

Before version 6.22 the request body contained a JSON object with the fields id and folder and could only delete one contact.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the deleted contacts.

integer(int64)

Body

body
required

A JSON array of JSON objects with the id and folder of the contacts.

< ContactListElement > array

Responses

HTTP Code Description Schema

200

A JSON array with object IDs of contacts which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).

ContactDeletionsResponse

Consumes

  • application/json

Tags

  • contacts

Gets a contact.

GET /contacts?action=get

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the contacts.

string

Query

id
required

Object ID of the requested contact.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).

ContactResponse

Tags

  • contacts

Gets a contact by user ID (available since SP4).

GET /contacts?action=getuser

Parameters

Type Name Description Schema Default

Query

id
required

User ID (not Object ID) of the requested user.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).

ContactResponse

Tags

  • contacts

Gets a list of contacts.

PUT /contacts?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id and folder of the contacts.

< ContactListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Consumes

  • application/json

Tags

  • contacts

Gets a list of users (available since SP4).

PUT /contacts?action=listuser

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with user IDs.

< integer > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with contact data. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Consumes

  • application/json

Tags

  • contacts

Creates a contact.

POST /contacts?action=new

Description

Creates a new contact with contact images. The normal request body must be placed as form-data using the content-type multipart/form-data. The form field json contains the contact’s data while the image file must be placed in a file field named file (see also File uploads).

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file
required

The image file.

file

FormData

json
required

Represents the normal request body as JSON string containing the contact data as described in the ContactData model.

string

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • contacts

Creates a contact.

PUT /contacts?action=new

Description

Creates a new contact. This request cannot add contact images. Therefor it is necessary to use the POST method.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the contact’s data. The field id is not included.

ContactData

Responses

HTTP Code Description Schema

200

A JSON object containing the ID of the newly created contact. In case of errors the responsible fields in the response are filled (see Error handling).

ContactUpdateResponse

Consumes

  • application/json

Tags

  • contacts

Search for contacts.

PUT /contacts?action=search

Parameters

Type Name Description Schema Default

Query

collation
optional

Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20)

enum (gbk, gb2312)

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Body

body
required

A JSON object containing search parameters.

ContactSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

ContactsResponse

Consumes

  • application/json

Tags

  • contacts

Updates a contact.

POST /contacts?action=update

Description

Updates a contact’s data and images. The normal request body must be placed as form-data using the content-type multipart/form-data. The form field json contains the contact’s data while the image file must be placed in a file field named file (see also File uploads).

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the contacts.

string

Query

id
required

Object ID of the contact that shall be updated.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.

integer(int64)

FormData

file
required

The image file.

file

FormData

json
required

Represents the normal request body as JSON string containing the contact data as described in ContactData model. Only modified fields must be specified but at least "{}".

string

"{}"

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • contacts

Updates a contact.

PUT /contacts?action=update

Description

Updates a contact’s data. This request cannot change or add contact images. Therefore it is necessary to use the POST method.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the contacts.

string

Query

id
required

Object ID of the contact that shall be updated.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing the contact’s data. Only modified fields must be specified. To remove some contact image send the image attribute set to null.

ContactData

Responses

HTTP Code Description Schema

200

A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling).

ContactUpdateResponse

Consumes

  • application/json

Tags

  • contacts

Gets updated contacts.

GET /contacts?action=updates

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.

string

Query

folder
required

Object ID of the folder who contains the contacts.

string

Query

ignore
optional

Which kinds of updates should be ignored. Omit this parameter or set it to "deleted" to not have deleted tasks identifier in the response. Set this parameter to false and the response contains deleted tasks identifier.

enum (deleted)

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Query

timestamp
required

Timestamp of the last update of the requested contacts.

integer(int64)

Responses

HTTP Code Description Schema

200

An array with new, modified and deleted contacts. New and modified contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted contacts (should the ignore parameter be ever implemented) would be identified by their object IDs as integers, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).

ContactUpdatesResponse

Tags

  • contacts

Converts data from source using a specific data handler.

PUT /conversion?action=convert

Description

Saving an iCal email attachment

If an iCal file is attached to an email, its content can be saved as appointments and tasks into given calendar and task folder. If the fields "com.openexchange.groupware.calendar.confirmstatus" and "com.openexchange.groupware.calendar.confirmmessage" are set, the data handler inserts the appointment with the given status for the user, if the appointment does not exist. If it is already existing, the handler just updates the participant status.

{
  "datasource": {
    "identifier":"com.openexchange.mail.ical",
    "args":
    [
      {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"},
      {"com.openexchange.mail.conversion.mailid":"<mail-id>"},
      {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"}
    ]
  },
  "datahandler": {
    "identifier":"com.openexchange.ical",
    "args":
    [
      {"com.openexchange.groupware.calendar.folder":"<calendar-folder-id>"},
      {"com.openexchange.groupware.task.folder":"<task-folder-id>"},
      {"com.openexchange.groupware.calendar.confirmstatus":"<status>"},
      {"com.openexchange.groupware.calendar.confirmmessage":"<message>"}
    ]
  }
}

The response is a JSON array of JSON objects each providing folder and object ID of added appointments/tasks, e.g. [{"folder_id":2567,"id":7689}, …​].

Converting an iCal email attachment into JSON objects

If an iCal file is attached to an email, its content can be converted to JSON appointments and tasks. `json { "datasource": { "identifier":"com.openexchange.mail.ical", "args": [ {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"}, {"com.openexchange.mail.conversion.mailid":"<mail-id>"}, {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"} ] }, "datahandler": { "identifier":"com.openexchange.ical.json", "args": [ {"com.openexchange.groupware.calendar.timezone":"<timezone-id>"}, {"com.openexchange.groupware.calendar.recurrencePosition":"<recurrence-position>"}, {"com.openexchange.groupware.calendar.searchobject":"<true|false>"} ] } } ` The response is a JSON array of JSON objects for each appointment/task as described in the TaskData and AppointmentData model.

Saving a vCard email attachment

If a vCard file is attached to an email, its content can be saved as contacts into given contact folder. json { "datasource": { "identifier":"com.openexchange.mail.vcard", "args": [ {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"}, {"com.openexchange.mail.conversion.mailid":"<mail-id>"}, {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"} ] }, "datahandler": { "identifier":"com.openexchange.contact", "args": [ {"com.openexchange.groupware.contact.folder":"<contact-folder-id>"} ] } } ` The response is a JSON array of JSON objects each providing folder and object ID of added contacts, e.g. `[{"folder_id":2567,"id":7689}, …​].

Contact(s) attached to a new email as a vCard file

Obtain vCard data from spacified contact object(s). json { "datasource": { "identifier":"com.openexchange.contact", "args": [ {"folder":"<folder-id1>","id":"<id1>"}, …​, "folder":"<folder-idn>","id":"<idn>" ] }, "datahandler": { "identifier":"com.openexchange.mail.vcard", "args": [] } } ` The response is a JSON object as described in MailData model. `[{"folder_id":2567,"id":7689}, …​].

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object the data source object and the data handler object.

ConversionBody

Responses

HTTP Code Description Schema

200

The conversion result. In case of errors the responsible fields in the response are filled (see Error handling).

ConversionResponse

Consumes

  • application/json

Tags

  • conversion

Exports contact data to a CSV file.

GET /export?action=CSV

Parameters

Type Name Description Schema Default

Query

columns
optional

A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data.

string

Query

export_dlists
optional

Toggles whether distribution lists shall be exported too (default is false). (since 7.4.1)

string

Query

folder
required

Object ID of the folder whose content shall be exported. This must be a contact folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An input stream containing the content of the CSV file with the MIME type text/csv.

string

Tags

  • export

Exports appointment and task data to an iCalendar file.

GET /export?action=ICAL

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder whose content shall be exported. This must be a calendar folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An input stream containing the content of the iCal file with the MIME type text/calendar.

string

Tags

  • export

Exports contact data to a vCard file.

GET /export?action=VCARD

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder whose content shall be exported. This must be a contact folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An input stream containing the content of the vCard file with the MIME type text/x-vcard.

string

Tags

  • export

Requests a formerly uploaded file.

GET /file?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the uploaded file.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The content of the requested file is directly written into output stream.

string(binary)

404

Not found.

No Content

Produces

  • application/octet-stream

Tags

  • file

Updates a file’s last access timestamp and keeps it alive.

GET /file?action=keepalive

Description

By updating the last access timestamp the file is prevented from being deleted from both session and disk storage.

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the uploaded file whose timestamp should be updated.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • file

Uploads a file.

POST /file?action=new

Description

It can be uploaded multiple files at once. Each file must be specified in an own form field (the form field name is arbitrary).

Parameters

Type Name Description Schema Default

Query

module
required

The module for which the file is uploaded to determine proper upload quota constraints (e.g. "mail", "infostore", etc.).

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

type
required

The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for text/), media (for image, audio or video), image (for image/), audio (for audio/), video (for video/) and application (for application/*).

enum (file, text, media, image, audio, video, application)

FormData

file
required

The file to upload.

file

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON array with the IDs of the uploaded files or errors if some occurred. The files are accessible through the returned IDs for future use.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • file

Gets all file storage accounts.

GET /fileaccount?action=all

Parameters

Type Name Description Schema Default

Query

filestorageService
optional

The identifier of a file storage service to list only those accounts that belong to that file storage service.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with JSON objects each describing one file storage account. In case of errors the responsible fields in the response are filled (see Error handling).

FileAccountsResponse

Tags

  • filestorage

Deletes a file storage account.

GET /fileaccount?action=delete

Parameters

Type Name Description Schema Default

Query

filestorageService
required

The identifier of the file storage service the account belongs to.

string

Query

id
required

The ID of the account to delete.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the number 1 on success. In case of errors the responsible fields in the response are filled (see Error handling).

FileAccountUpdateResponse

Tags

  • filestorage

Gets a file storage account.

GET /fileaccount?action=get

Parameters

Type Name Description Schema Default

Query

filestorageService
required

The identifier of the file storage service the account belongs to.

string

Query

id
required

The ID of the requested account.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the file storage account. In case of errors the responsible fields in the response are filled (see Error handling).

FileAccountResponse

Tags

  • filestorage

Creates a file storage account.

PUT /fileaccount?action=new

Description

Example for creating a new OAuth-based file storage account

First, get the description of the file storage service for which a new account is supposed to be created: GET /ajax/fileservice?action=get&id=boxcom&session=…​

The response might be:

{
  id: "boxcom",
  displayName: "Box File Storage Service",
  configuration: {
    widget: "oauthAccount",
    options: {
      type: "com.openexchange.oauth.boxcom"
    },
    name: "account",
    displayName: "Select an existing account",
    mandatory: true
  }
}

Next get the associated OAuth account information: GET /ajax/oauth/accounts?action=all&serviceId=com.openexchange.oauth.boxcom&session=…​

The response might be: `json { "data":[ { "id":333, "displayName":"My Box.com account", "serviceId":"com.openexchange.oauth.boxcom" } ] } ` Finally, create the file storage account:

PUT /ajax/fileaccount?action=new&amp;session=…

{
 "filestorageService":"boxcom",
 "displayName":"My box.com account",
 "configuration":{
 "account":"333",
 "type":"com.openexchange.oauth.boxcom"
 }
}

The response provides the relative identifier of the newly created account.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object describing the account to create, with at least the field filestorageService set.

FileAccountData

Responses

HTTP Code Description Schema

200

A JSON object containing the ID of the newly created account. In case of errors the responsible fields in the response are filled (see Error handling).

FileAccountCreationResponse

Consumes

  • application/json

Tags

  • filestorage

Updates a file storage account.

PUT /fileaccount?action=update

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object describing the updated data of the account. The fields id and filestorageService must be set.

FileAccountData

Responses

HTTP Code Description Schema

200

A JSON object containing the number 1 on success. In case of errors the responsible fields in the response are filled (see Error handling).

FileAccountCreationResponse

Consumes

  • application/json

Tags

  • filestorage

Gets all file storage services.

GET /fileservice?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with JSON objects each describing one file storage service. In case of errors the responsible fields in the response are filled (see Error handling).

FileServicesResponse

Tags

  • filestorage

Gets a file storage service.

GET /fileservice?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the file storage service to load.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the file storage service. In case of errors the responsible fields in the response are filled (see Error handling).

FileServiceResponse

Tags

  • filestorage

Suggests possible search filters based on a user’s input (available since v7.6.1).

PUT /find?action=autocomplete

Description

Filters are grouped into categories, the so called facets.

Facets

The style of a facet is responsible for how the according object is structured, how it is handled on the server-side and how the client has to handle it. We distinguish three styles of facets: * simple * default * exclusive _ Every facet value contains an embedded filter object. The filter must not be changed by the client, it has to be seen as a black-box. Instead the filters of selected facet values have to be copied and sent to the server with the subsequent requests.

Simple facets

A simple facet is a special facet that has exactly one value. The facet’s type and its value are strictly coupled, in a way that a display name for both, facet and value would be redundant. A simple facet generally denotes a logical field like 'phone number'. Internally this logical field can map to several internal fields (e.g. 'phone_private', 'phone_mobile', 'phone_business'). In clients the facet as a whole can be displayed as a single item. Example: "Search for 'term' in field 'phone number'".

Default facets

A default facet contains multiple values and may be present multiple times in search requests to filter results by a combination of different values (e.g. "mails with 'foo' and 'bar' in subject").

Facet values may be one- or two-dimensional. A one-dimensional value can be displayed as is and contains an according filter object. A two-dimensional value contains an array "options" with every option defining different semantics of how the value is used to filter the search results.

Exclusive facets

An exclusive facet is a facet where the contained values are mutually exclusive. That means that the facet must only be present once in an autocomplete or query request.

Facet values may be one- or two-dimensional. A one-dimensional value can be displayed as is and contains an according filter object. A two-dimensional value contains an array "options" with every option defining different semantics of how the value is used to filter the search results.

Parameters

Type Name Description Schema Default

Query

limit
optional

The maximum number of values returned per facet.

integer

Query

module
required

The name of the module within that the search shall be performed. Possible modules are: mail, contacts, calendar, tasks, drive. Because a user may have limited access to modules the useable modules might only be a subset of the available ones. Retrieve a list of allowed modules by querying the user configuration, see module "config" (path search) or module "JSlob" (e.g. id=io.ox/core).

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the user’s input (specified in field prefix), already selected facets, and possible options.

FindAutoCompleteBody

Responses

HTTP Code Description Schema

200

A JSON object containing the facets that were found. In case of errors the responsible fields in the response are filled (see Error handling).

FindAutoCompleteResponse

Consumes

  • application/json

Tags

  • find

Performs the actual search and returns the found items (available since v7.6.1).

PUT /find?action=query

Description

Before querying the search you should fetch the search filters (facets) by calling the /find?action=autocomplete request.

Active facets

Every value that has been selected by a user must be remembered and provided with every subsequent request. The representation of a facet within a request body differs from the one within an autocomplete response. We call those "active facets". Their representation is independent from their style.

Parameters

Type Name Description Schema Default

Query

columns
optional

A comma-separated list of module-specific columns that shall be contained in the response items. See Column identifiers for the numeric IDs of fields for specific modules.

string

Query

module
required

The name of the module within that the search shall be performed. Possible modules are: mail, contacts, calendar, tasks, drive. Because a user may have limited access to modules the useable modules might only be a subset of the available ones. Retrieve a list of allowed modules by querying the user configuration, see module "config" (path search) or module "JSlob" (e.g. id=io.ox/core).

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the selected facets and possible options. For pagination the keys start and size can be set.

FindQueryBody

Responses

HTTP Code Description Schema

200

A JSON object containing the search result. In case of errors the responsible fields in the response are filled (see Error handling).

FindQueryResponse

Consumes

  • application/json

Tags

  • find

Gets all visible folders of a certain module (available since v6.18.2).

GET /folders?action=allVisible

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.

string

Query

content_type
required

The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore").

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

A JSON object containing three fields: "private", "public, and "shared". Each field is a JSON array with data for all folders. Each folder is itself described by an array. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersVisibilityResponse

Tags

  • folders

Clears the content of a list of folders.

PUT /folders?action=clear

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Body

body
required

A JSON array with object IDs of the folders.

< string > array

Responses

HTTP Code Description Schema

200

A JSON array containing the IDs of folders that could not be cleared due to a concurrent modification. Meaning you receive an empty JSON array if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersCleanUpResponse

Consumes

  • application/json

Tags

  • folders

Deletes a list of folders.

PUT /folders?action=delete

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

hardDelete
optional

If set to true, the folders are deleted permanently. Otherwise, and if the underlying storage supports a trash folder and the folders are not yet located below the trash folder, they are moved to the trash folder.

boolean

"false"

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
optional

The optional timestamp of the last update of the deleted folders.

integer(int64)

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Body

body
required

A JSON array with object IDs of the folders.

< string > array

Responses

HTTP Code Description Schema

200

An array with object IDs of folders that were NOT deleted. There may be a lot of different causes for a not deleted folder: A folder has been modified in the mean time, the user does not have the permission to delete it or those permissions have just been removed, the folder does not exist, etc. You receive an empty JSON array if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersCleanUpResponse

Consumes

  • application/json

Tags

  • folders

Gets a folder.

GET /folders?action=get

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

id
required

Object ID of the requested folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the requested folder. In case of errors the responsible fields in the response are filled (see Error handling).

FolderResponse

Tags

  • folders

Gets the subfolders of a specified parent folder.

GET /folders?action=list

Parameters

Type Name Description Schema Default

Query

all
optional

Set to 1 to list even not subscribed folders.

integer

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

columns
required

A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.

string

Query

errorOnDuplicateName
optional

boolean

Query

parent
required

Object ID of a folder, which is the parent folder of the requested folders.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all folders, which have the folder with the requested object ID as parent. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersResponse

Tags

  • folders

Creates a new folder.

PUT /folders?action=new

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

folder_id
required

The parent folder object ID of the newly created folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Body

body
required

JSON object with "folder" object containing the modified fields and optional "notification" object to let added permission entities be notified about newly shared folders for all modules except mail. (Example: {"folder":{"title":"test123"}} or {"folder":{"permissions":[{"bits":403710016,"entity":84,"group":false}]},"notification":{"transport":"mail","message":"The message"}})

FolderBody

Responses

HTTP Code Description Schema

200

A JSON object with the object ID of the folder. In case of errors the responsible fields in the response are filled (see Error handling).

FolderUpdateResponse

Consumes

  • application/json

Tags

  • folders

Notifies users or groups about a shared folder (available since v7.8.0, priliminary).

PUT /folders?action=notify

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the shared folder to notify about.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Body

body
required

JSON object providing the JSON array entities, which holds the entity ID(s) of the users or groups that should be notified. To send a custom message to the recipients, an additional JSON object notification may be included, inside of which an optional message can be passed (otherwise, some default message is used). (Example: {"entities":["2332"]} or {"entities":["2332"],"notification":{"transport":"mail","message":"The message"}})

FolderSharingNotificationBody

Responses

HTTP Code Description Schema

200

An empty JSON object. Any transport warnings that occurred during sending the notifications are available in the warnings array of the response. In case of errors the responsible fields in the response are filled (see Error handling).

FolderSharingNotificationResponse

Consumes

  • application/json

Tags

  • folders

Gets the parent folders above the specified folder.

GET /folders?action=path

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

columns
required

A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.

string

Query

id
required

Object ID of a folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

An array with data for all parent nodes of a folder. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersResponse

Tags

  • folders

Gets the folders at the root level of the folder structure.

GET /folders?action=root

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

columns
required

A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all folders at the root level of the folder structure. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersResponse

Tags

  • folders

Gets shared folders of a certain module (available since v7.8.0, preliminary).

GET /folders?action=shares

Parameters

Type Name Description Schema Default

Query

all
optional

Set to 1 to list even not subscribed folders.

integer

Query

columns
required

A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.

string

Query

content_type
required

The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore").

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all folders that are considered as shared by the user. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersResponse

Tags

  • folders

Updates a folder.

PUT /folders?action=update

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

cascadePermissions
optional

true to cascade permissions to all sub-folders. The user must have administrative permissions to all sub-folders subject to change. If one permission change fails, the entire operation fails. (since 7.8.0)

boolean

"false"

Query

id
required

Object ID of the updated folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the updated folder. If the folder was modified after the specified timestamp, then the update must fail.

integer(int64)

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Body

body
required

JSON object with "folder" object containing the modified fields and optional "notification" object to let added permission entities be notified about newly shared folders for all modules except mail. (Example: {"folder":{"title":"test123"}} or {"folder":{"permissions":[{"bits":403710016,"entity":84,"group":false}]},"notification":{"transport":"mail","message":"The message"}})

FolderBody

Responses

HTTP Code Description Schema

200

A JSON object with the object id of the folder. In case of errors the responsible fields in the response are filled (see Error handling).

FolderUpdateResponse

Consumes

  • application/json

Tags

  • folders

Gets the new, modified and deleted folders of a given folder.

GET /folders?action=updates

Parameters

Type Name Description Schema Default

Query

allowed_modules
optional

(Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.

string

Query

columns
required

A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.

string

Query

ignore
optional

Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.

enum (deleted)

Query

parent
required

Object ID of a folder, which is the parent folder of the requested folders.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the requested folders.

integer(int64)

Query

tree
optional

The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.

string

"0"

Responses

HTTP Code Description Schema

200

An array with data for new, modified and deleted folders. New and modified folders are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted folders (should the ignore parameter be ever implemented) would be identified by their object IDs as plain strings, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).

FolderUpdatesResponse

Tags

  • folders

Gets free/busy information (available since v6.22.1).

GET /freebusy?action=get

Parameters

Type Name Description Schema Default

Query

from
required

The lower (inclusive) limit of the requested time range.

integer(int64)

Query

merged
optional

Indicates whether to pre-process free/busy data on the server or not. This includes sorting as well as merging overlapping free/busy intervals.

boolean

Query

participant
required

The participant to get the free/busy data for. My be either an internal user-, group- or resource-ID, or an email address for external participants.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

until
required

The upper (exclusive) limit of the requested time range.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object containing an array of free/busy intervals. In case of errors the responsible fields in the response are filled (see Error handling).

FreeBusyResponse

Tags

  • freebusy

Gets a list of free/busy information (available since v6.22.1).

PUT /freebusy?action=list

Parameters

Type Name Description Schema Default

Query

from
required

The lower (inclusive) limit of the requested time range.

integer(int64)

Query

merged
optional

Indicates whether to pre-process free/busy data on the server or not. This includes sorting as well as merging overlapping free/busy intervals.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Query

until
required

The upper (exclusive) limit of the requested time range.

integer(int64)

Body

body
required

A JSON array with identifiers of participants to get free/busy data for. The identifier my refer to an internal user-, group- or resource-ID, or to an email address for external participants.

< string > array

Responses

HTTP Code Description Schema

200

A JSON object containing the free/busy data for all requested participants. For each participant it is added an object (with the participant’s ID as key) that contains a field data that is an array with objects representing free/busy information as described in FreeBusyData model. In case of errors the responsible fields in the response are filled (see Error handling).

FreeBusysResponse

Consumes

  • application/json

Tags

  • freebusy

Deletes a group (introduced 2008-06-12).

PUT /group?action=delete

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the group to delete.

integer(int64)

Body

body
required

A JSON object with the field id containing the unique identifier of the group.

GroupListElement

Responses

HTTP Code Description Schema

200

A JSON object with an empty array if the group was deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).

GroupsResponse

Consumes

  • application/json

Tags

  • groups

Gets a group.

GET /group?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the group.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the group data. In case of errors the responsible fields in the response are filled (see Error handling).

GroupResponse

Tags

  • groups

Gets a list of groups.

PUT /group?action=list

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id of the requested groups.

< GroupListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array of group objects. In case of errors the responsible fields in the response are filled (see Error handling).

GroupsResponse

Consumes

  • application/json

Tags

  • groups

Creates a group (introduced 2008-06-12).

PUT /group?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the group data. The field id is not present.

GroupData

Responses

HTTP Code Description Schema

200

A JSON object with the ID of the newly created group. In case of errors the responsible fields in the response are filled (see Error handling).

GroupUpdateResponse

Consumes

  • application/json

Tags

  • groups

Searches for groups.

PUT /group?action=search

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object with the search parameters.

GroupSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array of group objects. In case of errors the responsible fields in the response are filled (see Error handling).

GroupsResponse

Consumes

  • application/json

Tags

  • groups

Updates a group (introduced 2008-06-12).

PUT /group?action=update

Parameters

Type Name Description Schema Default

Query

id
required

ID of the group that shall be updated.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the group to update. If the group was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing the group data fields to change. Only modified fields are present and the field id is omitted.

GroupData

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • groups

Gets the new, modified and deleted groups (available since v6.18.1, introduced 2010-09-13).

GET /group?action=updates

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the requested groups.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object with fields new, modified and deleted representing arrays of new, modified and deleted group objects. In case of errors the responsible fields in the response are filled (see Error handling).

GroupUpdatesResponse

Tags

  • groups

Gets a contact picture.

GET /halo/contact/picture

Description

At least one of the optional search parameters should be set. All parameters are connected by OR during the search. More specific parameters like user_id or id are prioritized in case of multiple matches.

Parameters

Type Name Description Schema Default

Query

email
optional

An email to searchz for. Will pick global address book matches before regular matches. After that picks the most recently changed contact.

string

Query

email1
optional

An alias for email.

string

Query

email2
optional

An alias for email.

string

Query

email3
optional

An alias for email.

string

Query

id
optional

A contact ID.

string

Query

internal_userid
optional

The internal user ID of a user whose picture you want to load.

integer

Query

session
optional

Falls back to the public session cookie.

string

Query

user_id
optional

An alias for internal_userid.

integer

Query

userid
optional

An alias for internal_userid.

integer

Responses

HTTP Code Description Schema

200

The picture with proper ETag and caching headers set.

string(binary)

404

If no picture could be found.

No Content

Tags

  • halo

Investigates a contact.

GET /halo/contact?action=investigate

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return. See Column identifiers for a mapping of numeric identifiers to fields.

string

Query

end
optional

The end point. Only mandatory for provider "com.openexchange.halo.appointments".

integer(int64)

Query

limit
optional

The maximum number of mails within the result. Optional for provider "com.openexchange.halo.mail".

integer

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Optional for provider "com.openexchange.halo.appointments".

string

Query

provider
required

The halo provider, like "com.openexchange.halo.contacts". See /halo/contact?action=services for available providers.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. Optional for provider "com.openexchange.halo.appointments".

string

Query

start
optional

The start point. Only mandatory for provider "com.openexchange.halo.appointments".

integer(int64)

Query

timezone
optional

The timezone.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested columns. In case of errors the responsible fields in the response are filled (see Error handling).

HaloInvestigationResponse

Tags

  • halo

Gets all halo services.

GET /halo/contact?action=services

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with available halo providers. In case of errors the responsible fields in the response are filled (see Error handling).

HaloServicesResponse

Tags

  • halo

Requests a contact’s profile image.

GET /image/contact/picture

Parameters

Type Name Description Schema Default

Query

folder
required

The folder ID in which the contact resides.

string

Query

id
required

The object ID of the contact.

integer

Responses

HTTP Code Description Schema

200

The content of the requested image is directly written into output stream.

string(binary)

400

If request cannot be handled.

No Content

Produces

  • application/octet-stream

Tags

  • image

Requests a MP3 cover image.

GET /image/file/mp3cover

Parameters

Type Name Description Schema Default

Query

id
required

The identifier of the uploaded image.

string

Responses

HTTP Code Description Schema

200

The content of the requested image is directly written into output stream.

string(binary)

400

If request cannot be handled.

No Content

Produces

  • application/octet-stream

Tags

  • image

Requests an inline image from a mail.

GET /image/mail/picture

Parameters

Type Name Description Schema Default

Query

accountId
optional

The mail account identifier

integer

Query

folder
required

The folder ID in which the mail resides.

string

Query

id
required

The object ID of the mail.

string

Query

uid
required

The identifier of the image inside the referenced mail.

string

Responses

HTTP Code Description Schema

200

The content of the requested image is directly written into output stream.

string(binary)

400

If request cannot be handled.

No Content

Produces

  • application/octet-stream

Tags

  • image

Requests an image that was previously uploaded with the ajax file upload module.

GET /image/mfile/picture

Parameters

Type Name Description Schema Default

Query

uid
required

The identifier of the uploaded image.

string

Responses

HTTP Code Description Schema

200

The content of the requested image is directly written into output stream.

string(binary)

400

If request cannot be handled.

No Content

Produces

  • application/octet-stream

Tags

  • image

Requests a user’s profile image.

GET /image/user/picture

Parameters

Type Name Description Schema Default

Query

id
required

The object ID of the user.

string

Responses

HTTP Code Description Schema

200

The content of the requested image is directly written into output stream.

string(binary)

400

If request cannot be handled.

No Content

Produces

  • application/octet-stream

Tags

  • image

Imports contact data from CSV file.

POST /import?action=CSV

Description

Example CSV

"Given name","Sur name"
"Günther","Mustermann"
"Hildegard","Musterfrau"

The delimiter may be any CSV-valid character (e.g. "," or ";"). The first line must contain the column titles that are related to the corresponding fields of the ContactData model. See Detailed contact data for a mapping of fields to CSV column titles.

Parameters

Type Name Description Schema Default

Query

charset
optional

A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278 (preliminary, since 7.6.2).

string

Query

folder
required

Object ID of the folder into which the data should be imported. This must be a contact folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file
required

The CSV file containing the contact data. The column titles are the ones described in Detailed contact data.

file

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON object with the field data that represents an array of objects each consisting of the fields id, folder_id and last_modified of the newly created contacts. In case of errors the JSON object contains the well known error fields.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • import

Imports calendar data from iCalendar file.

POST /import?action=ICAL

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder into which the data should be imported. This may be be an appointment or a task folder.

string

Query

ignoreUIDs
optional

When set to true, UIDs are partially ignored during import of tasks and appointments from iCal. Internally, each UID is replaced statically by a random one to preserve possibly existing relations between recurring appointments in the same iCal file, but at the same time to avoid collisions with already existing tasks and appointments.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Query

suppressNotification
optional

Can be used to disable the notifications for new appointments that are imported through the given iCal file. This help keeping the Inbox clean if a lot of appointments need to be imported. The value of this parameter does not matter because only for the existence of the parameter is checked.

boolean

FormData

file
required

The iCal file containing the appointment and task data.

file

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON object with the field data that represents an array of objects each consisting of the fields id, folder_id and last_modified of the newly created appointments/tasks. In case of errors the JSON object contains the well known error fields. Beside a field warnings may contain an array of objects with warning data containing customary error fields.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • import

Imports contact data from an Outlook CSV file.

POST /import?action=OUTLOOK_CSV

Description

Example: exported Outlook CSV

First Name,Last Name
Günther,Mustermann
Hildegard,Musterfrau

The column titles in the first line of the CSV file may be those used by the English, French or German version of Outlook.

Parameters

Type Name Description Schema Default

Query

charset
optional

A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278 (preliminary, since 7.6.2).

string

Query

folder
required

Object ID of the folder into which the data should be imported. This must be a contact folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file
required

The CSV file with Windows' default encoding CP-1252 containing the contact data. The column titles are those used by the English, French or German version of Outlook.

file

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON object with the field data that represents an array of objects each consisting of the fields id, folder_id and last_modified of the newly created contacts. In case of errors the JSON object contains the well known error fields.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • import

Imports data from vCard file.

POST /import?action=VCARD

Description

Supported vCard formats

  • vCard 2.1

  • vCard 3.0

  • vCalendar 1.0

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder into which the data should be imported. This must be a contact folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file
required

The vCard file.

file

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON object with the field data that represents an array of objects each consisting of the fields id, folder_id and last_modified of the newly created objects. In case of errors the JSON object contains the well known error fields.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • import

Gets all infoitems.

GET /infostore?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.

string

Query

folder
required

Object ID of the folder who contains the infoitems.

string

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Tags

  • infostore

Checks if a given file name is valid (available since v7.8.1, preliminary).

GET /infostore?action=checkname

Parameters

Type Name Description Schema Default

Query

name
required

The file name to check.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An empty JSON object when file name is valid. In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • infostore

Copies an infoitem.

POST /infostore?action=copy

Description

Copies an infoitem’s data with the possibility to change the file. The normal request body must be placed as form-data using the content-type multipart/form-data. The form field json contains the infoitem’s data while the file must be placed in a file field named file (see also File uploads).

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the infoitem that shall be copies.

string

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file
required

The metadata as per <input type="file" />.

file

FormData

json
required

Represents the normal request body as JSON string containing the infoitem’s data as described in the InfoItemData model. Only modified fields must be specified but at least {"folder_id":"destination"}.

string

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • infostore

Copies an infoitem.

PUT /infostore?action=copy

Description

This request cannot change or add files. Therefore it is necessary to use the POST method.

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the infoitem that shall be copied.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the modified fields of the destination infoitem. The field id must not be present.

InfoItemData

Responses

HTTP Code Description Schema

200

A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemUpdateResponse

Consumes

  • application/json

Tags

  • infostore

Deletes infoitems.

PUT /infostore?action=delete

Parameters

Type Name Description Schema Default

Query

hardDelete
optional

Defaults to false. If set to true, the file is deleted permanently. Otherwise, and if the underlying storage supports a trash folder and the file is not yet located below the trash folder, it is moved to the trash folder.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the infoitems to delete.

integer(int64)

Body

body
required

A JSON array of objects with the fields id and folder representing infoitems that shall be deleted.

< InfoItemListElement > array

Responses

HTTP Code Description Schema

200

A JSON object with an empty array if the infoitems were deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Consumes

  • application/json

Tags

  • infostore

Deletes versions of an infoitem.

PUT /infostore?action=detach

Description

Note

When the current version of a document is deleted the new current version will be the latest version.

Parameters

Type Name Description Schema Default

Query

folder
required

The folder ID of the base object.

string

Query

id
required

The ID of the base object.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the infoitem.

integer(int64)

Body

body
required

A JSON array of version numbers to detach.

< integer > array

Responses

HTTP Code Description Schema

200

A JSON object with an empty array of version numbers that were not deleted. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemDetachResponse

Consumes

  • application/json

Tags

  • infostore

Gets an infoitem document.

GET /infostore?action=document

Description

It is possible to add a filename to the request’s URI like /infostore/{filename}?action=document. The filename may be added to the customary infostore path to suggest a filename to a Save-As dialog.

Parameters

Type Name Description Schema Default

Query

content_type
optional

If present the response declares the given content_type in the Content-Type header.

string

Query

folder
required

Object ID of the folder who contains the infoitems.

string

Query

id
required

Object ID of the requested infoitem.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

version
optional

If present the infoitem data describes the given version. Otherwise the current version is returned.

integer

Responses

HTTP Code Description Schema

200

The raw byte data of the document. The response type for the HTTP request is set accordingly to the defined mimetype for this infoitem or the content_type given.

string(binary)

Produces

  • application/octet-stream

Tags

  • infostore

Gets an infoitem.

GET /infostore?action=get

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the infoitems.

string

Query

id
required

Object ID of the requested infoitem.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing all data of the requested infoitem. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemResponse

Tags

  • infostore

Gets a list of infoitems.

PUT /infostore?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id of the infoitems.

< InfoItemListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Consumes

  • application/json

Tags

  • infostore

Locks an infoitem.

GET /infostore?action=lock

Parameters

Type Name Description Schema Default

Query

diff
optional

If present the value is added to the current time on the server (both in ms). The document will be locked until that time. If this parameter is not present, the document will be locked for a duration as configured on the server.

integer(int64)

Query

id
required

Object ID of the infoitem that shall be locked.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • infostore

Moves one or more infoitems to another folder.

PUT /infostore?action=move

Parameters

Type Name Description Schema Default

Query

folder
required

ID of the destination folder.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects each referencing to an existing infoitem that is supposed to be moved to the destination folder.

< InfoItemListElement > array

Responses

HTTP Code Description Schema

200

A JSON object with an array of infoitem identifiers that could not be moved (due to a conflict). Th array is empty if everything went fine. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsMovedResponse

Consumes

  • application/json

Tags

  • infostore

Creates an infoitem.

POST /infostore?action=new

Description

Creates a new infoitem with a file. The normal request body must be placed as form-data using the content-type multipart/form-data. The form field json contains the infoitem’s data while the file must be placed in a file field named file (see also File uploads).

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

try_add_version
optional

Add new file version if file name exists

boolean

FormData

file
required

The metadata as per <input type="file" />.

file

FormData

json
required

Represents the normal request body as JSON string containing the infoitem’s data as described in the InfoItemBody model.

string

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • infostore

Creates an infoitem.

PUT /infostore?action=new

Description

Creates a new contact. This request cannot add a file to the infoitem. Therefor it is necessary to use the POST method.

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the infoitem that shall be updated.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing a field file with the modified fields of the infoitem’s data. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.

< InfoItemBody > array

Responses

HTTP Code Description Schema

200

A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemUpdateResponse

Consumes

  • application/json

Tags

  • infostore

Notifies users or groups about a shared infoitem (available since v7.8.0, preliminary).

PUT /infostore?action=notify

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the shared infoitem to notify about.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

JSON object providing the JSON array entities, which holds the entity ID(s) of the users or groups that should be notified. To send a custom message to the recipients, an additional JSON object notification may be included, inside of which an optional message can be passed (otherwise, some default message is used). (Example: {"entities":["2332"]} or {"entities":["2332"],"notification":{"transport":"mail","message":"The message"}})

InfoItemSharingNotificationBody

Responses

HTTP Code Description Schema

200

An empty JSON object. Any transport warnings that occurred during sending the notifications are available in the warnings array of the response. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemSharingNotificationResponse

Consumes

  • application/json

Tags

  • infostore

Deletes all versions of an infoitem leaving only the base object.

PUT /infostore?action=revert

Parameters

Type Name Description Schema Default

Query

folder
required

The folder ID of the base object.

string

Query

id
required

The ID of the base object.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the infoitem.

integer(int64)

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • infostore

Saves an attachment in the infostore.

PUT /infostore?action=saveAs

Parameters

Type Name Description Schema Default

Query

attached
required

The ID of the object to which the attachment belongs.

integer

Query

attachment
required

The ID of the attachment to save.

string

Query

folder
required

The folder ID of the object.

integer

Query

module
required

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object describing the attachment’s infoitem. The field `id`is not included. The fields in this infoitem object override values from the attachment. The folder_id must be given. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.

< InfoItemBody > array

Responses

HTTP Code Description Schema

200

A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemUpdateResponse

Consumes

  • application/json

Tags

  • infostore

Search for infoitems.

PUT /infostore?action=search

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.

string

Query

end
optional

The last index (inclusive) from the ordered search, that is requested.

integer

Query

folder
optional

The folder ID to restrict the search to. If not specified, all folders are searched.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Query

start
optional

The start index (inclusive, zero-based) in the ordered search, that is requested.

integer

Body

body
required

A JSON object containing search parameters.

InfoItemSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching infoitems. Infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Consumes

  • application/json

Tags

  • infostore

Gets shared infoitems (available since v7.8.0, preliminary).

GET /infostore?action=shares

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.

string

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all infoitems that are considered as shared by the user. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Tags

  • infostore

Unlocks an infoitem.

GET /infostore?action=unlock

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the infoitem that shall be unlocked.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • infostore

Updates an infoitem.

POST /infostore?action=update

Description

Updates an infoitem’s data and file. The normal request body must be placed as form-data using the content-type multipart/form-data. The form field json contains the infoitem’s data while the file must be placed in a file field named file (see also File uploads).

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the infoitem that shall be updated.

string

Query

offset
optional

Optionally sets the start offset in bytes where to append the data to the document, must be equal to the actual document’s length (available since v7.8.1). Only available if the underlying File storage account supports the "RANDOM_FILE_ACCESS" capability.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the updated infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.

integer(int64)

FormData

file
required

The metadata as per <input type="file" />.

file

FormData

json
required

Represents the normal request body as JSON string containing the infoitem’s data as described in the InfoItemBody model. Only modified fields must be specified but at least "{}".

string

"{}"

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • infostore

Updates an infoitem.

PUT /infostore?action=update

Description

Updates an infoitem’s data. This request cannot change or add files. Therefore it is necessary to use the POST method.

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the infoitem that shall be updated.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing a field file with the modified fields of the infoitem’s data. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.

< InfoItemBody > array

Responses

HTTP Code Description Schema

200

A JSON object with the object ID of the updated infoitem. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemUpdateResponse

Consumes

  • application/json

Tags

  • infostore

Gets the new, modified and deleted infoitems.

GET /infostore?action=updates

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.

string

Query

folder
required

Object ID of the folder who contains the infoitems.

string

Query

ignore
optional

Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.

enum (deleted)

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Query

timestamp
optional

Timestamp of the last update of the requested infoitems.

integer(int64)

Responses

HTTP Code Description Schema

200

An array with new, modified and deleted infoitems. New and modified infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted infoitems would be identified by their object IDs as string, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemUpdatesResponse

Tags

  • infostore

Gets all versions of an infoitem.

GET /infostore?action=versions

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.

string

Query

id
required

Object ID of the infoitem whose versions are requested.

string

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the infoitem. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. The timestamp is the timestamp relating to the requested infostore item. In case of errors the responsible fields in the response are filled (see Error handling).

InfoItemsResponse

Tags

  • infostore

Gets multiple documents as a ZIP archive (available since v7.4.0).

PUT /infostore?action=zipdocuments

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id, folder and optionally the documents' versions to include in the requested ZIP archive (if missing, it refers to the latest/current version).

< InfoItemZipElement > array

Responses

HTTP Code Description Schema

200

The raw byte data of the ZIP archive. The response type for the HTTP request is set to application/zip.

string(binary)

Consumes

  • application/json

Produces

  • application/zip

Tags

  • infostore

Gets a ZIP archive containing all ifoitems of a denoted folder (availabel since v7.6.1).

GET /infostore?action=zipfolder

Description

It is possible to add a filename to the request’s URI like /infostore/{filename}?action=zipfolder. The filename may be added to the customary infostore path to suggest a filename to a Save-As dialog.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the infoitems.

string

Query

recursive
optional

true to also include subfolders and their infoitems respectively; otherwise false to only consider the infoitems of specified.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The raw byte data of the ZIP archive. The response type for the HTTP request is set to application/zip.

string(binary)

Produces

  • application/zip

Tags

  • infostore

Gets all JSlobs (available since v6.22).

GET /jslob?action=all

Parameters

Type Name Description Schema Default

Query

serviceId
optional

The identifier for the JSlob service, default is "com.openexchange.jslob.config".

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of JSON objects each representing a certain JSON configuration. In case of errors the responsible fields in the response are filled (see Error handling).

JSlobsResponse

Tags

  • JSlob

Gets a list of JSlobs (available since v6.22).

PUT /jslob?action=list

Parameters

Type Name Description Schema Default

Query

serviceId
optional

The identifier for the JSlob service, default is "com.openexchange.jslob.config".

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with the identifiers of the requested JSlobs.

< string > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array of JSON objects each representing a certain JSON configuration. In case of errors the responsible fields in the response are filled (see Error handling).

JSlobsResponse

Consumes

  • application/json

Tags

  • JSlob

Stores or deletes a JSlob (available since v6.22).

PUT /jslob?action=set

Description

To delete a JSON configuration just send an empty request body for the specified id.

Parameters

Type Name Description Schema Default

Query

id
optional

The JSlob indentifier.

string

Query

serviceId
optional

The identifier for the JSlob service, default is "com.openexchange.jslob.config".

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the JSON configuration to store. To delete the JSlob just send an empty body.

object

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • JSlob

Updates a JSlob (available since v6.22).

PUT /jslob?action=update

Parameters

Type Name Description Schema Default

Query

id
optional

The JSlob indentifier.

string

Query

serviceId
optional

The identifier for the JSlob service, default is "com.openexchange.jslob.config".

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

The JSON object containing the updated JSON configuration to store. Fields that are not included are thus not affected and survive the change. Use /jslob?action=set to delete fields or entire JSlob.

object

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • JSlob

Acquires an identity token (available since v7.6.0).

GET /jump?action=identityToken

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

system
optional

The identifier for the external service/system, like "com.openexchange.jump.endpoint.mysystem".

string

Responses

HTTP Code Description Schema

200

A JSON object containing the identity token. In case of errors the responsible fields in the response are filled (see Error handling).

JumpResponse

Tags

  • jump

Refresh auto-login cookie

GET /login;jsessionid=1157370816112.OX1?action=redirect

Description

SECURITY WARNING! Utilizing this request is INSECURE! This request allows to access a session with a single one time token. This one time token may be delivered to the wrong client if the protocol has an error or Apache or the load balancer make a mistake. This will cause a wrong user to be in a wrong session. IMMEDIATELY consider not to use this request anymore. You have been warned. Use instead the FormLogin that does not need to use the redirect request.

Parameters

Type Name Description Schema Default

Query

client
optional

The client can be defined here newly if it is not correct on the login request itself.

string

Query

random
required

A session random token to jump into the session. This random token is part of the login response. Only a very short configurable time after the login it is allowed to jump into the session with the random token.

string

Query

store
optional

Tells the UI to do a store request after login to be able to use autologin request.

boolean

Query

uiWebPath
optional

The optional path on the webserver to the UI. If this parameter is not given the configured uiWebPath is used.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • login

Change IP of client host in a session.

POST /login?action=changeip

Description

The following request is especially for integration with systems located in the providers infrastructure. If those systems create a session with the following request the client host IP address in the session can be changed. The IP check for following requests will be done using this newly set client host IP address.

Parameters

Type Name Description Schema Default

Query

clientIP
required

New IP address of the client host for the current session.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the string "1" as data attribute. In case of errors the responsible fields in the response are filled (see Error handling).

ChangeIPResponse

Tags

  • login

Login to the web frontend using a simple HTML form (available since v6.20).

POST /login?action=formlogin

Description

This request implements a possible login to the web frontend by only using a simple HTML form. The response contains a redirect link to the Web-UI. See OXSessionFormLogin for details. An example for such a form can be found in the backend’s documentation folder (/usr/share/doc/open-xchange-core) under examples/login.html.

Parameters

Type Name Description Schema Default

Query

authId
required

Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.

string

FormData

autologin
required

True or false. True tells the UI to issue a store request for the session cookie. This store request is necessary if you want the autologin request not to fail.

boolean

"false"

FormData

client
required

Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange. If the autologin request should work the client must be the same as the client sent by the UI in the normal login request.

string

FormData

clientIP
optional

IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.

string

FormData

clientUserAgent
optional

Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.

string

FormData

login
required

The login name.

string

FormData

password
required

The password.

string(password)

FormData

uiWebPath
optional

Defines another path on the web server where the UI is located. If this parameter is not defined the configured default of the backend is used.

string

FormData

version
required

Used version of the HTTP/JSON interface client.

string

Responses

HTTP Code Description Schema

200

A redirect to the web UI. The URL of the web UI is either taken from the given parameter or from the configured default of the backend.

string

Produces

  • text/html

Tags

  • login

Login with user credentials.

POST /login?action=login

Description

The login module is used to obtain a session from the user’s login credentials. Parameters are normally expected in the POST request body.

Parameters

Type Name Description Schema Default

Query

authId
optional

Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request. (IS OPTIONAL, meaning can be empty)

string

FormData

client
optional

Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.

string

FormData

clientIP
optional

IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.

string

FormData

clientUserAgent
optional

Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.

string

FormData

name
required

The login name.

string

FormData

password
required

The password (MUST be placed in the request body, otherwise the login request will be denied).

string(password)

FormData

version
optional

Used version of the HTTP/JSON interface client.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the session ID used for all subsequent requests. In case of errors the responsible fields in the response are filled (see Error handling).

LoginResponse

Tags

  • login

Does the logout.

GET /login?action=logout

Description

Does the logout which invalidates the session.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

403

FORBIDDEN. The server refuses to respond to the request.

No Content

Tags

  • login

Redeem Token Login (available since v7.4.0).

POST /login?action=redeemToken

Description

With a valid session it is possible to acquire a secret (see token?action=acquireToken). Using this secret another system is able to generate a valid session. This session may also contain the users password (configurable). The system in question needs to be registered at the server and has to identify itself with a key configured at the open-xchange server. This is only for internal communication and by default no keys are available.

Parameters

Type Name Description Schema Default

Query

authId
required

Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.

string

FormData

client
required

Identifier of the client using the HTTP/JSON interface. The client must identifier must be the same for each request after creating the login session.

string

FormData

secret
required

The value of the secret string for token logins. This is configured through the tokenlogin-secrets configuration file.

string

FormData

token
required

The token created with token?action=acquireToken.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the session ID used for all subsequent requests. Additionally a random token is contained to be used for the Easy Login method. If configured within tokenlogin-secrets configuration file even the user password will be returned. In case of errors the responsible fields in the response are filled (see Error handling).

LoginResponse

Tags

  • login

Refreshes the secret cookie (available since v6.18.2)

GET /login?action=refreshSecret

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • login

Refreshes the auto-login cookie.

GET /login?action=store

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • login

Login for a very short living session (available since v7.0.1).

POST /login?action=tokenLogin

Description

This request allows every possible client to create a very short living session. This session can then be transferred to any other client preferably a browser entering then the normal web interface. Then the sessions life time will be extended equally to every other session.

Compared to the login mechanism using the random token, this request is more secure because two tokens are used. One of these tokens is only known to the client and one is generated by the server. Only the combination of both tokens allows to use the session. The combination of both tokens must be done by the client creating the session.

DISCLAIMER: This request MUST NOT be used by some server side instance. If some server side instance uses this request to create a session for a browser on some client machine, then you have to transfer the full URL with server and client token over some connection to the client. This creates a VULNERABILITY if this is done. The token login method is only secure if this request is already sent from the same machine that later runs the browser using the created session.

Parameters

Type Name Description Schema Default

Query

authId
required

Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.

string

FormData

autologin
required

True or false. True tells the UI to issue a store request for the session cookie. This store request is necessary if you want the autologin request not to fail. This must be enabled on the server and a client can test with the autologin request if it is enabled or not.

boolean

FormData

client
required

Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.

string

FormData

clientIP
optional

IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.

string

FormData

clientToken
required

Client side identifier for accessing the session later. The value should be some token that is unique for every login request.

string

FormData

clientUserAgent
optional

Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.

string

FormData

jsonResponse
optional

(since 7.8.0) True or false (default). Defines the returned data type as JSON. Default false will return a redirect.

boolean

"false"

FormData

login
required

The login information.

string

FormData

password
required

The password (MUST be placed in the request body, otherwise the login request will be denied).

string(password)

FormData

uiWebPath
optional

Defines another path on the web server where the UI is located. If this parameter is not defined the configured default of the backend is used.

string

FormData

version
required

Version of the HTTP/JSON interface client. Only for statistic evaluations.

string

Responses

HTTP Code Description Schema

200

In case jsonResponse=true, it is returned a JSON object. Otherwise a redirect to the web UI. The URL of the web UI is either taken from the given parameter or from the configured default of the backend. This redirect will only contain the server side token. The client side token sent in the request must be appended by the client creating the session. The final URL must have the form redirect_URL&clientToken=token. Both tokens are necessary to use the session and both tokens must match. Otherwise the session is terminated. In case of errors the responsible fields in the response are filled (see Error handling).

TokenLoginResponse

Produces

  • application/json

  • text/html

Tags

  • login

Accesses a session that was previously created with the token login (available since v7.0.1).

POST /login?action=tokens

Description

This request allows clients to access a session created with the /login?action=tokenLogin request. When accessing the session its life time is extended equally to every other session.

Parameters

Type Name Description Schema Default

FormData

client
required

Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.

string

FormData

clientToken
required

The password (MUST be placed in the request body, otherwise the login request will be denied).

string

FormData

serverToken
required

The login name.

string

Responses

HTTP Code Description Schema

200

A JSON object conform to the normal response body containing the session identifier, the login, the identifier and the locale of the user. In case of errors the responsible fields in the response are filled (see Error handling).

TokensResponse

Tags

  • login

Moves mails to the given category

PUT /mail/categories?action=move

Parameters

Type Name Description Schema Default

Query

category_id
required

The identifier of a category.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

'A JSON array of mail identifier, e.g.: [{"id":ID, "folder_id":FID},{"id":ID2, "folder_id":FID2}, {…}]'

< Mail_CategoriesMoveBody > array

Responses

HTTP Code Description Schema

200

'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).'

CommonResponse

Consumes

  • application/json

Tags

  • mail_categories

Add a new rule

PUT /mail/categories?action=train

Description

Adds a new rule with the given mail addresses to the given category and optionally reorganize all existing mails in the inbox.

Parameters

Type Name Description Schema Default

Query

apply-for-existing
optional

A flag indicating whether old mails should be reorganized. Defaults to 'false'.

boolean

Query

apply-for-future-ones
optional

A flag indicating whether a rule should be created or not. Defaults to 'true'.

boolean

Query

category_id
required

The identifier of a category.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

'A JSON object containing a "from" field which contains an array of mail addresses.'

Mail_CategoriesTrainBody

Responses

HTTP Code Description Schema

200

'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).'

CommonResponse

Consumes

  • application/json

Tags

  • mail_categories

Retrieves the unread counts of active mail categories

GET /mail/categories?action=unread

Parameters

Type Name Description Schema Default

Query

category_ids
optional

A comma separated list of category identifiers. If set only the unread counters of this categories are retrieved.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

'A JSON object with a field for each active category containing the number of unread messages. In case of errors the responsible fields in the response are filled (see Error handling).'

Mail_CategoriesUnreadResponse

Tags

  • mail_categories

Gets all mails.

GET /mail?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.

string

Query

filter
optional

The category id to filter for. If set to "general" all mails which does not belong to any other category are retrieved.

string

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

left_hand_limit
optional

A positive integer number to specify the "left-hand" limit of the range to return.

integer

Query

limit
optional

A positive integer number to specify how many items shall be returned according to given sorting; overrides left_hand_limit/right_hand_limit parameters and is equal to left_hand_limit=0 and right_hand_limit=<limit>.

integer

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

right_hand_limit
optional

A positive integer number to specify the "right-hand" limit of the range to return.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

'A JSON object containing an array with mail data. Each array element describes one mail and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'

MailsResponse

Tags

  • mail

Marks all mails of a folder as seen (available since v7.6.0).

PUT /mail?action=all_seen

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object with the value true. In case of errors the responsible fields in the response are filled (see Error handling).

MailsAllSeenResponse

Consumes

  • application/json

Tags

  • mail

Gets a mail attachment.

GET /mail?action=attachment

Parameters

Type Name Description Schema Default

Query

allow_nested_messages
optional

A value of "false" leads to light-weight JSON objects for nested messages containing only the "id" field

boolean

Query

as_json
optional

Nested messages are parsed into full JSON objects. Can lead to longer loading times, for multiple nested messages.

boolean

Query

attachment
optional

ID of the requested attachment (can be substituted by the parameter cid otherwise this parameter is madatory).

string

Query

cid
optional

Value of header 'Content-ID' of the requested attachment (can be substituted by the parameter attachment otherwise this parameter is madatory).

string

Query

filter
optional

1 to apply HTML white-list filter rules if and only if requested attachment is of MIME type text/htm* AND parameter save is set to 0.

integer

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

Object ID of the mail which contains the attachment.

string

Query

save
optional

1 overwrites the defined mimetype for this attachment to force the download dialog, otherwise 0.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The raw byte data of the document. The response type for the HTTP Request is set accordingly to the defined mimetype for this attachment, except the parameter save is set to 1.

string(binary)

Tags

  • mail

Clears the content of mail folders.

PUT /mail?action=clear

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
optional

Not IMAP: timestamp of the last update of the deleted mails.

integer(int64)

Body

body
required

A JSON array with object IDs of the mail folders that shall be cleared.

< string > array

Responses

HTTP Code Description Schema

200

A JSON array with IDs of mail folder that could not be cleared; meaning the response body is an empty JSON array if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).

MailsCleanUpResponse

Consumes

  • application/json

Tags

  • mail

Copies a mail to another folder.

PUT /mail?action=copy

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

Object ID of the requested mail that shall be copied.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the id of the destination folder.

MailDestinationBody

Responses

HTTP Code Description Schema

200

A JSON object containing the object ID and the folder ID of the copied mail. In case of errors the responsible fields in the response are filled (see Error handling).

MailDestinationResponse

Consumes

  • application/json

Tags

  • mail

Gets the mail count.

GET /mail?action=count

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

'A JSON object containing an integer value representing the folder’s mail count. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'

MailCountResponse

Tags

  • mail

Deletes mails.

PUT /mail?action=delete

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
optional

Not IMAP: timestamp of the last update of the deleted mails.

integer(int64)

Body

body
required

A JSON array of JSON objects with the id and folder of the mails.

< MailListElement > array

Responses

HTTP Code Description Schema

200

Not IMAP: A JSON array with object IDs of mails which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).

MailsCleanUpResponse

Consumes

  • application/json

Tags

  • mail

Forwards a mail.

GET /mail?action=forward

Description

Returns the data for the message that shall be forwarded.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

Object ID of the requested message.

string

Query

max_size
optional

A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used. (available since v7.6.1)

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

view
optional

Content 'text' forces the server to deliver a text-only version of the requested mail’s body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). NOTE: if set, the corresponding gui config setting will be ignored. (available since SP6)

enum (text, html)

Responses

HTTP Code Description Schema

200

A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).

MailReplyResponse

Tags

  • mail

Gets a mail.

GET /mail?action=get

Parameters

Type Name Description Schema Default

Query

attach_src
optional

1 to let the JSON mail representation being extended by "source" field containing the mail raw RFC822 source data. (available since v7.6.1)

integer

Query

edit
optional

1 indicates that this request should fill the message compose dialog to edit a message and thus display-specific date is going to be withheld.

integer

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
optional

Object ID of the requested mail (can be substituded by message_id parameter).

string

Query

max_size
optional

A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used. (available since v7.6.1)

integer

Query

message_id
optional

(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

unseen
optional

Use true to leave an unseen mail as unseen although its content is requested.

boolean

Query

view
optional

Specifies the view of the mail’s body: raw (returns the content as it is, meaning no preparation are performed and thus no guarantee for safe contents is given (available since SP6 v6.10)), text ( forces the server to deliver a text-only version of the requested mail’s body, even if content is HTML), textNoHtmlAttach (is the same as 'text', but does not deliver the HTML part as attachment in case of multipart/alternative content), html (to allow a possible HTML mail body being transferred as it is (but white-list filter applied)), noimg (to allow a possible HTML content being transferred but without original image src attributes which references external images; can be used to prevent loading external linked images (spam privacy protection)). If set, the corresponding gui config setting will be ignored.

enum (raw, text, textNoHtmlAttach, html, noimg)

Responses

HTTP Code Description Schema

200

A JSON object containing all data of the requested mail. In case of errors the responsible fields in the response are filled (see Error handling).

MailResponse

Tags

  • mail

Gets the message headers as plain text.

GET /mail?action=get&hdr=1

Description

Note

By setting the query parameter hdr to 1 the response type of the request action changes. Then it is returned a JSON object with the field data containing the (formatted) message headers as plain text. The parameters below specify the ones that have an effect on the request.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
optional

Object ID of the requested mail (can be substituded by message_id parameter).

string

Query

message_id
optional

(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

unseen
optional

Use true to leave an unseen mail as unseen although its content is requested.

boolean

Responses

HTTP Code Description Schema

200

A JSON object containing the message headers as plain text. In case of errors the responsible fields in the response are filled (see Error handling).

MailHeadersResponse

Tags

  • mail

Gets the complete message source as plain text.

GET /mail?action=get&src=1

Description

Note

By setting the query parameter src to 1 the response type of the request action changes. Then it is returned a JSON object with the field data containing the complete message source as plain text. The parameters below specify the ones that have an effect on the request.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
optional

Object ID of the requested mail (can be substituded by message_id parameter).

string

Query

message_id
optional

(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.

string

Query

save
optional

1 to write the complete message source to output stream. NOTE: This parameter will only be used if parameter src is set to 1.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

unseen
optional

Use true to leave an unseen mail as unseen although its content is requested.

boolean

Responses

HTTP Code Description Schema

200

A JSON object containing the complete message source as plain text. In case of errors the responsible fields in the response are filled (see Error handling).

MailSourceResponse

Tags

  • mail

Import of mails as MIME data block (RFC822) (available since v6.18).

POST /mail?action=import

Description

This request can be used to store a single or a lot of mails in the OX mail storage backend. This action should be used instead of /mail?action=new because it is faster and tolerant to 8-bit encoded emails.

To import multiple mails add further form-data fields.

Parameters

Type Name Description Schema Default

Query

flags
optional

In case the mail should be stored with status "read" (e.g. mail has been read already in the client inbox), the parameter "flags" has to be included. For information about mail flags see Mail data model.

string

Query

folder
required

The ID of the folder into that the emails should be imported.

string

Query

force
optional

If this parameter is set to true, the server skips checking the valid from address.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

FormData

file
required

The RFC822 encoded email as binary data.

file

Responses

HTTP Code Description Schema

200

A JSON object containing an array of JSON objects each with the folder identifier and the object ID of the imported mail(s). In case of errors the responsible fields in the response are filled (see Error handling).

MailImportResponse

Consumes

  • multipart/form-data

Tags

  • mail

Gets a list of mails.

PUT /mail?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.

string

Query

headers
optional

(preliminary) A comma-separated list of header names. Each name requests denoted header from each mail.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id and folder of the requested mails.

< MailListElement > array

Responses

HTTP Code Description Schema

200

'A JSON object containing an array with mail data. Mails are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'

MailsResponse

Consumes

  • application/json

Tags

  • mail

Sends a mail.

POST /mail?action=new

Description

The request accepts file fields in upload form that denote referenced files that are going to be appended as attachments. For "text/plain" mail bodies, the JSON boolean field "raw" may be specified inside the body’s JSON representation to signal that the text content shall be kept as-is; meaning to keep all formatting intact.

Parameters

Type Name Description Schema Default

Query

lineWrapAfter
optional

An integer value specifying the line-wrap setting (only effective for plain-text content); if absent the setting is taken from user’s mail settings. Available with v7.8.1.

integer

Query

session
required

A session ID previously obtained from the login module.

string

FormData

json_0
required

Contains the rudimentary mail as JSON string (see SendMailData model) with just its message body (as html content) defined in nested JSON array attachments and its header data (from, to, subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text ("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON array of infostore document ID(s) that ought to be appended to this mail as attachments. The field "msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates the type of the message: 0 (normal new mail), 1 (a reply mail, field msgref must be present), 2 (a forward mail, field msgref must be present), 3 (draft edit operation, field msgref must be present in order to delete previous draft message since e.g. IMAP does not support changing/replacing a message but requires a delete-and-insert sequence), 4 (transport of a draft mail, field msgref must be present), 6 (signals that user intends to send out a saved draft message and expects the draft message (referenced by msgref field) being deleted after successful transport).

string

Responses

HTTP Code Description Schema

200

A HTML page containing the object ID of the newly created mail or in case of errors an error object (see File uploads as an example).

string

Consumes

  • multipart/form-data

  • multipart/mixed

Produces

  • text/html

Tags

  • mail

Sends or saves a mail as MIME data block (RFC822) (available since SP5).

PUT /mail?action=new

Parameters

Type Name Description Schema Default

Query

flags
optional

In case the mail should be stored with status "read" (e.g. mail has been read already in the client inbox), the parameter "flags" has to be included. If no folder parameter is specified, this parameter must not be included. For information about mail flags see Mail data model.

string

Query

folder
optional

In case the mail should not be sent out, but saved in a specific folder, the "folder" parameter can be used. If the mail should be sent out to the recipient, the "folder" parameter must not be included and the mail is stored in the folder "Sent Items".

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the folder ID and the object ID of the mail. In case of errors the responsible fields in the response are filled (see Error handling).

MailDestinationResponse

Consumes

  • text/plain

Tags

  • mail

Requests a delivery receipt for a priviously sent mail.

PUT /mail?action=receipt_ack

Description

This delivery receipt only acknowledges that the message could be receipted on the recipients computer.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the information of a mail for which a delivery receipt shall be requested.

MailAckBody

Responses

HTTP Code Description Schema

200

A JSON object with an empty data field if everything went well or a JSON object containing the error information. In case of errors the responsible fields in the response are filled (see Error handling).

MailAckResponse

Consumes

  • application/json

Tags

  • mail

Replies a mail.

GET /mail?action=reply

Description

Returns the data for the message that shall be replied.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

Object ID of the requested message.

string

Query

max_size
optional

A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used. (available since v7.6.1)

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

setFrom
optional

A flag (true/false) that signals if "From" header shall be pre-selected according to a suitable recipient address that matches one of user’s E-Mail address aliases. (available since v7.6.0)

boolean

Query

view
optional

Content 'text' forces the server to deliver a text-only version of the requested mail’s body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). NOTE: if set, the corresponding gui config setting will be ignored. (available since SP6)

enum (text, html)

Responses

HTTP Code Description Schema

200

A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).

MailReplyResponse

Tags

  • mail

Replies a mail to all.

GET /mail?action=replyall

Description

Returns the data for the message that shall be replied.

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

Object ID of the requested message.

string

Query

max_size
optional

A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used. (available since v7.6.1)

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

setFrom
optional

A flag (true/false) that signals if "From" header shall be pre-selected according to a suitable recipient address that matches one of user’s email address aliases. (available since v7.6.0)

boolean

Query

view
optional

Content 'text' forces the server to deliver a text-only version of the requested mail’s body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). NOTE: if set, the corresponding gui config setting will be ignored. (available since SP6)

enum (text, html)

Responses

HTTP Code Description Schema

200

A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).

MailReplyResponse

Tags

  • mail

Resolves a given share reference

PUT /mail?action=resolve_share_reference

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object providing the share reference to resolve

ResolveShareReferenceElement

Responses

HTTP Code Description Schema

200

'The JSON representation for the resolved share reference. In case of errors the responsible fields in the response are filled (see Error handling).'

ResolveShareReferenceResponse

Consumes

  • application/json

Produces

  • application/json

Tags

  • mail

Searches for mails.

PUT /mail?action=search

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.

string

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response or the string “thread” to return thread-sorted messages. If this parameter is specified and holds a column number, then the parameter order must be also specified. Note: Applies only to root-level messages.

string

Body

body
required

A JSON object describing the search term as introducted in Advanced search. Example: {"filter":["and",["=", {"field":"to"},"test1@example.com"],["not",["=",{"attachment":"name"},"document.pdf"]]]} which represents 'to = "test1@example.com" AND NOT from = "test2@example.com"'. Available field names are from, to, cc, bcc, subject, received_date, sent_date, size, flags, content, content_type, disp, and priority.

string

Responses

HTTP Code Description Schema

200

'A JSON object containing an array with matching mails. Mails are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'

MailsResponse

Consumes

  • application/json

Tags

  • mail

Gets all mail conversations.

GET /mail?action=threadedAll

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.

string

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

includeSent
optional

A boolean value to signal that conversations also include messages taken from special "sent" aka "sent items" folder.

boolean

Query

left_hand_limit
optional

A positive integer number to specify the "left-hand" limit of the range to return. Note: Applies only to root-level messages.

integer

Query

limit
optional

A positive integer number to specify how many items shall be returned according to given sorting; overrides left_hand_limit/right_hand_limit parameters and is equal to left_hand_limit=0 and right_hand_limit=<limit>. Note: Applies only to root-level messages.

integer

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.

string

Query

right_hand_limit
optional

A positive integer number to specify the "right-hand" limit of the range to return. Note: Applies only to root-level messages.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response or the string “thread” to return thread-sorted messages. If this parameter is specified and holds a column number, then the parameter order must be also specified. Note: Applies only to root-level messages.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of objects, each representing a conversation’s root message along with its message thread. The root message’s JSON object is filled according to the specified columns and is enhanced by a special thread field representing the full message thread (including the root message itself). thread is a JSON array of objects each representing a message in the conversation sorted by time-line and filled with the specified columns. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).

MailConversationsResponse

Tags

  • mail

Updates a mail or a folder’s messages and/or moves a mail to another folder.

PUT /mail?action=update

Description

The update request can perform an update of the color label and flags of one mail object. Beside it is possible to change the mail’s folder, meaning move the mail to another folder. Both operations can be performed at once too.

If neither parameter id nor parameter message_id is specified, all folder’s messages are updated accordingly (**available since v6.20).

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
optional

Object ID of the requested mail that shall be updated (mandatory if a mail shall be moved).

string

Query

message_id
optional

(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the new values that ought to be applied to mail and/or the id of the destination folder (if the mail shall be moved, otherwise it must not be specified).

MailUpdateBody

Responses

HTTP Code Description Schema

200

A JSON object containing the object ID and the folder ID of an updated and/or moved mail or only the folder ID if several mails are updated. In case of errors the responsible fields in the response are filled (see Error handling).

MailDestinationResponse

Consumes

  • application/json

Tags

  • mail

Gets updated mails (not IMAP).

GET /mail?action=updates

Description

Not IMAP

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.

string

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

Just an empty JSON array is going to be returned since this action cannot be applied to IMAP. In case of errors the responsible fields in the response are filled (see Error handling).

MailUpdatesResponse

Tags

  • mail

Gets multiple mail attachments as a ZIP file.

GET /mail?action=zip_attachments

Parameters

Type Name Description Schema Default

Query

attachment
required

A comma-separated list of IDs of the requested attachments.

string

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

Object ID of the mail which contains the attachments.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The raw byte data of the ZIP file.

string(binary)

Produces

  • application/zip

Tags

  • mail

Gets multiple mails as a ZIP file.

GET /mail?action=zip_messages

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the mails.

string

Query

id
required

A comma-separated list of Object IDs of the requested mails.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The raw byte data of the ZIP file.

string(binary)

Produces

  • application/zip

Tags

  • mail

Gets the configuration of the mail filter backend.

GET /mailfilter?action=config

Description

A mail filter can have different rules each containing one command. A command has a test condition and actions that are executed if the condition is true. The list of available comparisions (that can be used in test conditions) and the list of available actions depends on a given test and the mail filter server configuration and must be determined at runtime.

All those dynamic values can be fetched via a config object at startup, which shows the capabilities of the server to the client.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Responses

HTTP Code Description Schema

200

A JSON object with the fields tests (containing an array of available test-objects, see Possible tests too) and actioncommands (containing an array of valid actions). In case of errors the responsible fields in the response are filled (see Error handling).

MailFilterConfigResponse

Tags

  • mailfilter

Deletes a mail filter rule.

PUT /mailfilter?action=delete

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Body

body
required

A JSON object with the ID of the rule to delete.

MailFilterDeletionBody

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • mailfilter

Deletes the whole mail filter script.

PUT /mailfilter?action=deletescript

Description

This call is only used as workaround for parsing errors in the backend, so that the user is able to kick a whole script if it contains errors in the grammar.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • mailfilter

Gets the whole mail filter script.

PUT /mailfilter?action=getscript

Description

This call is only used as workaround for parsing errors in the backend, so that the user is able to get the plaintext of a complete script.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Responses

HTTP Code Description Schema

200

A JSON object with the text of the complete sieve script. In case of errors the responsible fields in the response are filled (see Error handling).

MailFilterScriptResponse

Tags

  • mailfilter

Gets all mail filter rules.

GET /mailfilter?action=list

Parameters

Type Name Description Schema Default

Query

flag
optional

If given, only rules with this flag are returned.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Responses

HTTP Code Description Schema

200

A JSON object with an array of rule-objects. In case of errors the responsible fields in the response are filled (see Error handling).

MailFilterRulesResponse

Tags

  • mailfilter

Creates a mail filter rule.

PUT /mailfilter?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Body

body
required

A JSON object describing the mail filter rule. If the field position is included, it’s taken as the position of the rule in the array on the server side (this value shouldn’t be greater than the size of all rules).

MailFilterRule

Responses

HTTP Code Description Schema

200

A JSON object containing the ID of the newly created rule. In case of errors the responsible fields in the response are filled (see Error handling).

MailFilterCreationResponse

Consumes

  • application/json

Tags

  • mailfilter

Reorders mail filter rules.

PUT /mailfilter?action=reorder

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Body

body
required

A JSON array with unique identifiers, which represents how the corresponding rules are order.

< integer > array

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • mailfilter

Updates a mail filter rule.

PUT /mailfilter?action=update

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

username
optional

Must contain the user name for admin mode. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.

string

Body

body
required

A JSON object describing the rule with the id set (which identifies the rule to change). Only modified fields are present.

MailFilterRule

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • mailfilter

Gets all messaging accounts.

GET /messaging/account?action=all

Parameters

Type Name Description Schema Default

Query

messagingService
optional

List only those accounts that belong to the given messagingService.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with account objects. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingAccountsResponse

Tags

  • messaging

Deletes a messaging account.

GET /messaging/account?action=delete

Parameters

Type Name Description Schema Default

Query

id
required

The messaging account ID.

integer

Query

messagingService
required

The messaging service ID that the account belongs to.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the number 1 if deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingAccountUpdateResponse

Consumes

  • application/json

Tags

  • messaging

Gets a messaging account.

GET /messaging/account?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The messaging account ID.

integer

Query

messagingService
required

The messaging service ID that the account belongs to.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the requested account. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingAccountResponse

Tags

  • messaging

Creates a messaging account.

PUT /messaging/account?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object describing the account to create. The ID is generated by the server and must not be present.

MessagingAccountData

Responses

HTTP Code Description Schema

200

A JSON object containing the ID of the newly created account. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingAccountUpdateResponse

Consumes

  • application/json

Tags

  • messaging

Updates a messaging account.

PUT /messaging/account?action=update

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the modified data of the account. The fields id and messagingService must always be set.

MessagingAccountData

Responses

HTTP Code Description Schema

200

A JSON object containing the number 1 if update was successful. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingAccountUpdateResponse

Consumes

  • application/json

Tags

  • messaging

Gets all messaging messages.

GET /messaging/message?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of column names, like "folder,headers,body". See [Messaging fields](#messaging fields) for valid column names.

string

Query

folder
required

The folder ID, like "com.openexchange.messaging.twitter://535/defaultTimeline/directMessages".

string

Query

order
optional

The order direction which can be "asc" for ascending (default) or "desc" for descending.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

A column name to sort by.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all messages. Each array element describes one message and is itself an array. The elements of each array contain the information specified by the corresponding column names in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingMessagesResponse

Tags

  • messaging

Gets a messaging message.

GET /messaging/message?action=get

Description

A messaging message consists of some metadata, headers and a content. The content attribute varies by the content-type header. If the content-type is text/ it is a string, if it is multipart/ it is an array of objects, each representing a part of the multipart. If it is anything else it is considered binary and is a Base64 encoded string.

The folder ID of a message follows a predefined format: [messagingService]://[accountId]/[path], like com.openexchange.messaging.twitter://535/defaultTimeline/directMessages.

Parameters

Type Name Description Schema Default

Query

folder
required

The folder ID of the message.

string

Query

id
required

The ID of the message to load.

string

Query

peek
optional

If set to true the read/unread state of the message will not change. Default is false.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the message. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingMessageResponse

Tags

  • messaging

Gets a list of messaging messages.

PUT /messaging/message?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of column names, like "folder,headers,body". See [Messaging fields](#messaging fields) for valid column names.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON arrays with the folder and ID as elements each identifying a message.

< < object > array > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for requested messages. Each array element describes one message and is itself an array. The elements of each array contain the information specified by the corresponding column names in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingMessagesResponse

Consumes

  • application/json

Tags

  • messaging

Performs a certain messaging action on a message.

PUT /messaging/message?action=perform

Description

On actions of type "message" the body should contain the JSON representation of the message the action should be applied to. To invoke a messaging action of type "storage" the folder and id are needed in URL parameters. Messaging actions of type "none" need a messaging message and account.

Parameters

Type Name Description Schema Default

Query

account
optional

The account ID. Only used on actions of type "none".

integer

Query

folder
optional

The folder ID of the message. Only used on actions of type "storage".

string

Query

id
optional

The ID of the message the action shall be invoked on. Only used on actions of type "storage".

string

Query

messageAction
required

The message action to invoke.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON arrays with the folder and ID as elements each identifying a message.

MessagingMessageData

Responses

HTTP Code Description Schema

200

A JSON object containing the number 1 if message could be sent. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingMessageUpdateResponse

Consumes

  • spplication/json

Tags

  • messaging

Sends a messaging message.

PUT /messaging/message?action=send

Parameters

Type Name Description Schema Default

Query

recipients
optional

A list of recipients as defined in RFC822, like "Joe Doe joe@doe.org". If set the message is sent to the given list of recipients, otherwise this defaults to the "To" header of the message.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON arrays with the folder and ID as elements each identifying a message.

MessagingMessageData

Responses

HTTP Code Description Schema

200

A JSON object containing the number 1 if message could be sent. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingMessageUpdateResponse

Consumes

  • spplication/json

Tags

  • messaging

Gets all messaging services.

GET /messaging/service?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of messaging service objects. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingServicesResponse

Tags

  • messaging

Gets a messaging service.

GET /messaging/service?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the messaging service to load.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the messaging service. In case of errors the responsible fields in the response are filled (see Error handling).

MessagingServiceResponse

Tags

  • messaging

Processes multiple requests to other modules in a single request.

PUT /multiple

Description

Not supported requests are:

  • the ones from modules login and multiple

  • POST requests with a multipart encoding (uploads)

  • GET requests which do not use an object as described in Low level protocol

Request body

A JSON array with JSON objects describing the requests. Each object contains a field module with the name of the request’s module and the field action with the concrete request action to execute. Additionally the parameters of the request are added as fields too. A session parameter is not included! If the request has a request body itself, this body is stored as a JSON object in a field data.

Example: query reminder range and update a reminder’s alarm

[{"module":"reminder","action":"range","end":1497461067180},{"module":"reminder","action":"remindAgain","id":51,"data":{"alarm":1459478800000}}]

Parameters

Type Name Description Schema Default

Query

continue
optional

Specifies whether processing of requests should stop when an error occurs, or whether all request should be processed regardless of errors.

boolean

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with JSON objects, each describing one request.

< SingleRequest > array

Responses

HTTP Code Description Schema

200

A JSON array containing the response data of the processed requests where response[0] corresponds to request[0], response[1] to request[1], and so on.

< SingleResponse > array

400

Syntactically incorrect request.

No Content

Consumes

  • application/json

Tags

  • multiple

Gets all OAuth accounts (available since v6.20).

GET /oauth/accounts?action=all

Parameters

Type Name Description Schema Default

Query

serviceId
optional

The service meta data identifier. If missing all accounts of all services are returned; otherwise all accounts of specified service are returned.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of JSON objects each describing an OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthAccountsResponse

Tags

  • OAuth

Creates an OAuth account (available since v6.20).

PUT /oauth/accounts?action=create

Description

This action is typically called by provided call-back URL and is only intended for manual invocation if "outOfBand" interaction is returned by preceeding /oauth/account?action=init step.

Parameters

Type Name Description Schema Default

Query

displayName
required

The display name for the new account.

string

Query

oauth_token
required

The request token from preceeding OAuth interaction.

string

Query

oauth_verifier
optional

The verifier string which confirms that user granted access.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

uuid
required

The UUID of the preceeding OAuth interaction.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the newly created OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthAccountResponse

Tags

  • OAuth

Deletes an OAuth account (available since v6.20).

PUT /oauth/accounts?action=delete

Parameters

Type Name Description Schema Default

Query

id
required

The account identifier.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object indicating whether the deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthAccountDeletionResponse

Tags

  • OAuth

Gets an OAuth account (available since v6.20).

GET /oauth/accounts?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The account identifier.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthAccountResponse

Tags

  • OAuth

Initializes the creation of an OAuth account (available since v6.20).

GET /oauth/accounts?action=init

Parameters

Type Name Description Schema Default

Query

displayName
required

The display name of the account.

string

Query

serviceId
required

The service meta data identifier, e.g. "com.openexchange.oauth.twitter".

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the resulting interaction providing information to complete account creation. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthAccountInteractionResponse

Tags

  • OAuth

Updates an OAuth account (available since v6.20).

PUT /oauth/accounts?action=update

Parameters

Type Name Description Schema Default

Query

id
required

The account identifier. May also be provided in request body’s JSON object by field id.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object providing the OAuth account data to update. Currently the only values which make sense being updated are displayName and the token-secret-pair.

OAuthAccountData

Responses

HTTP Code Description Schema

200

A JSON object indicating whether the update was successful. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthAccountUpdateResponse

Consumes

  • application/json

Tags

  • OAuth

Gets all OAuth grants (available since v7.8.0).

GET /oauth/grants?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of JSON objects each describing a granted access. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthGrantsResponse

Tags

  • OAuth

Revokes access for an OAuth client (available since v7.8.0).

GET /oauth/grants?action=revoke

Parameters

Type Name Description Schema Default

Query

client
required

The ID of the client whose access shall be revoked.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Tags

  • OAuth

Gets all OAuth services' meta data (available since v6.20).

GET /oauth/services?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of JSON objects each describing an OAuth service’s meta data. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthServicesResponse

Tags

  • OAuth

Gets all OAuth service’s meta data (available since v6.20).

GET /oauth/services?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The service’s identifier.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the meta data of the OAuth service. In case of errors the responsible fields in the response are filled (see Error handling).

OAuthServiceResponse

Tags

  • OAuth

Updates or changes the password of the current use.

PUT /passwordchange?action=update

Description

Note

The new password will be set without any checks. The client must ensure that it is the password the user wants to set.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the old and the new password.

PasswordChangeBody

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • passwordchange

Gets the filestore usage data.

GET /quota?action=filestore

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the filestore quota. In case of errors the responsible fields in the response are filled (see Error handling).

QuotaResponse

Tags

  • quota

Gets quota information (available since v7.6.1, preliminary).

GET /quota?action=get

Parameters

Type Name Description Schema Default

Query

account
optional

The account identifier within the module to get quota information for.

string

Query

module
optional

The module identifier (e.g. "share_links", "filestorage", …) to get quota information for, required if account is set.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

If module is not specified it is returned a JSON object containing all quota modules as fields. Each field is an object itself consisting of a field display_name and a field accounts. accounts is an array of JSON objects containing the properties account_id, account_name, countquota (account’s quota limit for the number of items, or not set if not defined), countuse (account’s actual usage for the number of items, or not set if no count quota defined), quota (account’s quota limit for the storage in bytes, or not set if not defined) and use (account’s actual usage for the storage in bytes, or not set if no storage quota defined). In case of errors the responsible fields in the response are filled (see Error handling).

QuotasResponse

400

If a specified module is not existing.

No Content

Tags

  • quota

Gets the mail usage data.

GET /quota?action=mail

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the mail quota. In case of errors the responsible fields in the response are filled (see Error handling).

QuotaResponse

Tags

  • quota

Deletes reminders (available since v6.22).

PUT /reminder?action=delete

Description

Before version 6.22 the request body contained only a JSON object with the field id.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with JSON objects containing the field id of the reminders to delete.

< ReminderListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with identifiers of reminders that were not deleted. In case of errors the responsible fields in the response are filled (see Error handling).

RemindersResponse

Consumes

  • application/json

Tags

  • reminder

Gets a reminder range.

GET /reminder?action=range

Description

Gets all reminders which are scheduled until the specified time (end date).

Parameters

Type Name Description Schema Default

Query

end
optional

The end date of the reminder range.

integer(int64)

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for each reminder. In case of errors the responsible fields in the response are filled (see Error handling).

RemindersResponse

Tags

  • reminder

Updates the reminder alarm (available since v6.18.1).

PUT /reminder?action=remindAgain

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the reminder whose alarm date shall be changed.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the field alarm which provides the new reminder date.

ReminderUpdateBody

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the updated reminder. In case of errors the responsible fields in the response are filled (see Error handling).

ReminderResponse

Consumes

  • application/json

Tags

  • reminder

Gets all resources.

GET /resource?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array of resource identifiers. In case of errors the responsible fields in the response are filled (see Error handling).

AllResourcesResponse

Tags

  • resources

Deletes resources.

PUT /resource?action=delete

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the group to delete.

integer(int64)

Body

body
required

A JSON array of objects with the field id containing the unique identifier of the resource.

< ResourceListElement > array

Responses

HTTP Code Description Schema

200

A JSON object with an empty array if the resources were deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).

ResourcesResponse

Consumes

  • application/json

Tags

  • resources

Gets a resource.

GET /resource?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the resource.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the resource data. In case of errors the responsible fields in the response are filled (see Error handling).

ResourceResponse

Tags

  • resources

Gets a list of resources.

PUT /resource?action=list

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id of the requested resources.

< ResourceListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array of resource objects. In case of errors the responsible fields in the response are filled (see Error handling).

ResourcesResponse

Consumes

  • application/json

Tags

  • resources

Creates a resource.

PUT /resource?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the resource data. The field id is not present.

ResourceData

Responses

HTTP Code Description Schema

200

A JSON object with the ID of the newly created resource. In case of errors the responsible fields in the response are filled (see Error handling).

ResourceUpdateResponse

Consumes

  • application/json

Tags

  • resources

Searches for resources.

PUT /resource?action=search

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object with the search parameters.

ResourceSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array of resource objects. In case of errors the responsible fields in the response are filled (see Error handling).

ResourcesResponse

Consumes

  • application/json

Tags

  • resources

Updates a resource.

PUT /resource?action=update

Parameters

Type Name Description Schema Default

Query

id
required

ID of the resource that shall be updated.

integer

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the resource to update. If the resource was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing the resource data fields to change. Only modified fields are present and the field id is omitted.

ResourceData

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • resources

Gets the new, modified and deleted resources.

GET /resource?action=updates

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the requested resources.

integer(int64)

Responses

HTTP Code Description Schema

200

A JSON object with fields new, modified and deleted representing arrays of new, modified and deleted resource objects. In case of errors the responsible fields in the response are filled (see Error handling).

ResourceUpdatesResponse

Tags

  • resources

PUT /share/management?action=deleteLink

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the share target where the link should be deleted for.

ShareTargetData

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • share/management

PUT /share/management?action=getLink

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the share target where the link should be generated for.

ShareTargetData

Responses

HTTP Code Description Schema

200

A JSON object containing data of the (newly created) share link. In case of errors the responsible fields in the response are filled (see Error handling).

ShareLinkResponse

Consumes

  • application/json

Tags

  • share/management

PUT /share/management?action=sendLink

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the share target and a list of recipients specified in a field recipients that is a JSON array with a nested two-elements array containing the recipient information (first element is personal name, second is email address). An optional field message can contain a notification.

ShareLinkSendBody

Responses

HTTP Code Description Schema

200

Transport warnings that occurred during sending the notifications are available in a warnings array. In case of errors the responsible fields in the response are filled (see Error handling).

ShareLinkSendResponse

Consumes

  • application/json

Tags

  • share/management

PUT /share/management?action=updateLink

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

The timestamp of the last modification of the link. Used to detect concurrent modifications.

integer(int64)

Body

body
required

A JSON object containing the share target and share link properties of the link to update. Only modified fields should be set but at least the share target ones.

ShareLinkUpdateBody

Responses

HTTP Code Description Schema

200

A JSON object containing data of the (newly created) share link. In case of errors the responsible fields in the response are filled (see Error handling).

ShareLinkResponse

Consumes

  • application/json

Tags

  • share/management

Gets all snippets (available since v7.0.0/v6.22.0).

GET /snippet?action=all

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

type
optional

A list of comma-separated types to filter, e.g. "signature".

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all snippets. In case of errors the responsible fields in the response are filled (see Error handling).

SnippetsResponse

Tags

  • snippet

Attaches one or more files to an existing snippet (available since v7.0.0/v6.22.0).

POST /snippet?action=attach

Description

It can be uploaded multiple files at once. Each file must be specified in an own form field (the form field name is arbitrary).

Parameters

Type Name Description Schema Default

Query

id
required

The identifier of the snippet.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

type
required

The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for text/), media (for image, audio or video), image (for image/), audio (for audio/), video (for video/) and application (for application/*).

enum (file, text, media, image, audio, video, application)

FormData

file
required

The attachment file.

file

Responses

HTTP Code Description Schema

200

A HTML page as described in File uploads containing a JSON object with the ID of the updated snippet or errors if some occurred.

string

Consumes

  • multipart/form-data

Produces

  • text/html

Tags

  • snippet

Deletes one or multiple snippets (available since v7.0.0/v6.22.0).

PUT /snippet?action=delete

Parameters

Type Name Description Schema Default

Query

id
optional

The identifier of the snippet. Otherwise provide one or more identifiers in the request body’s JSON array.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
optional

A JSON array containing the identifiers of the snippets to delete.

< string > array

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • snippet

Detaches one or more files from an existing snippet (available since v7.0.0/v6.22.0).

PUT /snippet?action=detach

Parameters

Type Name Description Schema Default

Query

id
required

The identifier of the snippet.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array with JSON objects each containing a field id with the identifier of an attachment that shall be removed.

< SnippetAttachmentListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing the ID of the updated snippet. In case of errors the responsible fields in the response are filled (see Error handling).

SnippetUpdateResponse

Consumes

  • application/json

Tags

  • snippet

Gets a snippet (available since v7.0.0/v6.22.0).

GET /snippet?action=get

Parameters

Type Name Description Schema Default

Query

id
required

The identifier of the snippet.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the snippet. In case of errors the responsible fields in the response are filled (see Error handling).

SnippetResponse

Tags

  • snippet

Gets the attachment of a snippet (available since v7.0.0/v6.22.0).

GET /snippet?action=getattachment

Parameters

Type Name Description Schema Default

Query

attachmentid
required

The identifier of the attachment.

string

Query

id
required

The identifier of the snippet.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

The attachment’s raw data.

string(binary)

500

A HTML page in case of errors.

string

Tags

  • snippet

Gets a list of snippets (available since v7.0.0/v6.22.0).

PUT /snippet?action=list

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of snippet identifiers.

< string > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested snippets. In case of errors the responsible fields in the response are filled (see Error handling).

SnippetsResponse

Consumes

  • application/json

Tags

  • snippet

Creates a snippet (available since v7.0.0/v6.22.0).

PUT /snippet?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object describing the snippet excluding its attachment(s). For adding attachments see /snippet?action=attach request.

SnippetData

Responses

HTTP Code Description Schema

200

A JSON object containing the ID of the newly created snippet. In case of errors the responsible fields in the response are filled (see Error handling).

SnippetUpdateResponse

Consumes

  • application/json

Tags

  • snippet

Updates a snippet (available since v7.0.0/v6.22.0).

PUT /snippet?action=update

Parameters

Type Name Description Schema Default

Query

id
required

The identifier of the snippet.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object providing the fields that should be changed, excluding its attachments. For deleting attachments see /snippet?action=detach request.

SnippetData

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the updated snippet. In case of errors the responsible fields in the response are filled (see Error handling).

SnippetResponse

Consumes

  • application/json

Tags

  • snippet

Clears a folder’s content.

PUT /sync?action=refresh_server

Description

Note

Although the request offers to clear multiple folders at once it is recommended to clear only one folder per request since if any exception occurs (e.g. missing permissions) the complete request is going to be aborted.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
optional

A JSON array containing the folder ID(s).

< string > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array of folder IDs that could not be cleared due to a concurrent modification. In case of errors the responsible fields in the response are filled (see Error handling).

FoldersCleanUpResponse

Tags

  • sync

Gets all tasks.

GET /tasks?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.

string

Query

folder
required

Object ID of the folder who contains the tasks.

string

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all tasks. Each array element describes one task and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

TasksResponse

Tags

  • tasks

Confirms a task.

PUT /tasks?action=confirm

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the tasks.

string

Query

id
required

Object ID of the task that shall be confirmed.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the task.

integer(int64)

Body

body
required

A JSON object with the fields confirmation and confirmmessage.

TaskConfirmationBody

Responses

HTTP Code Description Schema

200

Nothing, except the standard response object with empty data, the timestamp of the confirmed and thereby updated task, and maybe errors. In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • tasks

Deletes tasks (available since v6.22).

PUT /tasks?action=delete

Description

Before version 6.22 the request body contained a JSON object with the fields id and folder and could only delete one task.

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the deleted tasks.

integer(int64)

Body

body
required

A JSON array of JSON objects with the id and folder of the tasks.

< TaskListElement > array

Responses

HTTP Code Description Schema

200

A JSON array with object IDs of tasks which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).

TaskDeletionsResponse

Consumes

  • application/json

Tags

  • tasks

Gets a task.

GET /tasks?action=get

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the tasks.

string

Query

id
required

Object ID of the requested task.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An object containing all data of the requested task. In case of errors the responsible fields in the response are filled (see Error handling).

TaskResponse

Tags

  • tasks

Gets a list of tasks.

PUT /tasks?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of JSON objects with the id and folder of the tasks.

< TaskListElement > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested tasks. Each array element describes one task and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

TasksResponse

Consumes

  • application/json

Tags

  • tasks

Creates a task.

PUT /tasks?action=new

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON object containing the task’s data.

TaskData

Responses

HTTP Code Description Schema

200

A JSON object containing the id of the newly created task. In case of errors the responsible fields in the response are filled (see Error handling).

TaskUpdateResponse

Consumes

  • application/json

Tags

  • tasks

Search for tasks.

PUT /tasks?action=search

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Body

body
required

A JSON object containing search parameters.

TaskSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching tasks. Tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

TasksResponse

Consumes

  • application/json

Tags

  • tasks

Updates a task.

PUT /tasks?action=update

Parameters

Type Name Description Schema Default

Query

folder
required

Object ID of the folder who contains the tasks.

string

Query

id
required

Object ID of the requested task.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the requested tasks.

integer(int64)

Body

body
required

A JSON object containing the task’s data. Only modified fields are present.

TaskData

Responses

HTTP Code Description Schema

200

A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling).

TaskUpdateResponse

Consumes

  • application/json

Tags

  • tasks

Gets the new, modified and deleted tasks.

GET /tasks?action=updates

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.

string

Query

folder
required

Object ID of the folder who contains the tasks.

string

Query

ignore
optional

Which kinds of updates should be ignored. Omit this parameter or set it to "deleted" to not have deleted tasks identifier in the response. Set this parameter to false and the response contains deleted tasks identifier.

enum (deleted)

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Query

timestamp
required

Timestamp of the last update of the requested tasks.

integer(int64)

Responses

HTTP Code Description Schema

200

An array with new, modified and deleted tasks. New and modified tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted tasks would be identified by their object IDs as integers, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).

TaskUpdatesResponse

Tags

  • tasks

Gets a login token (available since v7.4.0).

GET /token?action=acquireToken

Description

With a valid session it is possible to acquire a secret. Using this secret another system is able to generate a valid session (see login?action=redeemToken).

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object with the timestamp of the creation date and a token which can be used to create a new session. In case of errors the responsible fields in the response are filled (see Error handling).

AcquireTokenResponse

Tags

  • token

Gets information about current user (available since v7.6.2).

GET /user/me

Parameters

Type Name Description Schema Default

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the data of the current user. In case of errors the responsible fields in the response are filled (see Error handling).

CurrentUserResponse

Tags

  • user/me

Gets all users (available since v6.14).

GET /user?action=all

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.

string

Query

order
optional

"asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.

string

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for all users. Each array element describes one user and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

UsersResponse

Tags

  • user

Gets a user (available since v6.14).

GET /user?action=get

Parameters

Type Name Description Schema Default

Query

id
optional

Object ID of the requested user. Since v6.18.1, this parameter is optional and the default is the currently logged in user.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

An object containing all data of the requested user. In case of errors the responsible fields in the response are filled (see Error handling).

UserResponse

Tags

  • user

Gets a user attribute (available since v6.20).

GET /user?action=getAttribute

Description

Gets a custom user attribute that was previously set with the /user?action=setAttribute request.

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the user.

string

Query

name
required

The name of the attribute.

string

Query

session
required

A session ID previously obtained from the login module.

string

Responses

HTTP Code Description Schema

200

A JSON object containing the attribute data. In case of errors the responsible fields in the response are filled (see Error handling).

UserAttributeResponse

Tags

  • user

Gets a list of users (available since v6.14).

PUT /user?action=list

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.

string

Query

session
required

A session ID previously obtained from the login module.

string

Body

body
required

A JSON array of identifiers of the requested users. Since v6.18.1, a null value in the array is interpreted as the currently logged in user.

< string > array

Responses

HTTP Code Description Schema

200

A JSON object containing an array with data for the requested users. Each array element describes one user and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

UsersResponse

Consumes

  • application/json

Tags

  • user

Search for users (available since v6.14).

PUT /user?action=search

Parameters

Type Name Description Schema Default

Query

columns
required

A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.

string

Query

order
optional

"asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

sort
optional

The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.

string

Body

body
required

A JSON object containing search parameters.

UserSearchBody

Responses

HTTP Code Description Schema

200

A JSON object containing an array with matching users. Users are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. In case of errors the responsible fields in the response are filled (see Error handling).

UsersResponse

Consumes

  • application/json

Tags

  • user

Sets a user attribute (available since v6.20).

PUT /user?action=setAttribute

Description

Sets a custom user attribute consisting of a name and a value. The attribute can later be retrieved using the /user?action=getAttribute request.

Parameters

Type Name Description Schema Default

Query

id
required

The ID of the user.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

setIfAbsent
optional

Set to true to put the value only if the specified name is not already associated with a value, otherwise false to put value in any case.

boolean

Body

body
required

A JSON object providing the name and the value of the attribute. If the value field is missing or null, the attribute is removed.

UserAttribute

Responses

HTTP Code Description Schema

200

A JSON object providing the information whether the attribute could be set. In case of errors the responsible fields in the response are filled (see Error handling).

UserAttributionResponse

Consumes

  • application/json

Tags

  • user

Updates a user (available since v6.14).

PUT /user?action=update

Parameters

Type Name Description Schema Default

Query

id
required

Object ID of the requested user.

string

Query

session
required

A session ID previously obtained from the login module.

string

Query

timestamp
required

Timestamp of the last update of the requested user. If the user was modified after the specified timestamp, then the update must fail.

integer(int64)

Body

body
required

A JSON object containing the user’s data. Only modified fields are present. From Detailed user data only the fields timezone and locale are allowed to be updated.

UserData

Responses

HTTP Code Description Schema

200

In case of errors the responsible fields in the response are filled (see Error handling).

CommonResponse

Consumes

  • application/json

Tags

  • user

Definitions

AcquireTokenResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

data

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

data

Name Description Schema

token
optional

The token that can be used for a new session.

string

AllResourcesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of resource identifiers.

< integer > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentConfirmationBody

Name Description Schema

confirmation
required

0 (none), 1 (accepted), 2 (declined), 3 (tentative).

integer

confirmmessage
required

The confirmation message or comment.

string

id
optional

User ID. Confirming for other users only works for appointments and not for tasks.

integer

AppointmentCreationConflict

Name Description Schema

alarm
optional

Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.

integer(int64)

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

change_exceptions
optional

An array of Dates, representing all change exceptions of a sequence.

< integer(int64) > array

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

confirmations
optional

Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.

< TaskConfirmation > array

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

day_in_month
optional

Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.

integer

days
optional

Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).

integer

delete_exceptions
optional

An array of Dates, representing all delete exceptions of a sequence.

< integer(int64) > array

end_date
optional

Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).

integer(int64)

folder_id
optional

Object ID of the parent folder.

string

full_time
optional

True if the event is a whole day appointment or task, false otherwise.

boolean

hard_conflicts
optional

"true" if appointment represents a resource conflict.

boolean

id
optional

Object ID.

string

ignore_conflicts
optional

Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.

boolean

interval
optional

Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.

integer

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

location
optional

The location of the appointment.

string

modified_by
optional

User ID of the user who last modified this object.

string

month
optional

Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.

integer

note
optional

Long description.

string

notification
optional

If true, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.

boolean

number_of_attachments
optional

Number of attachments.

integer

occurrences
optional

Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.

integer

organizer
optional

Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks.

string

organizerId
optional

Contains the userIId of the appointment organizer if it is an internal user. Not implemented for tasks (introduced with 6.20.1).

integer

participants
optional

Each element identifies a participant, user, group or booked resource.

< TaskParticipant > array

principal
optional

Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks (introduced with 6.20.1).

string

principalId
optional

Contains the userIId of the appointment principal if it is an internal user. Not implemented for tasks (introduced with 6.20.1).

integer

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

recurrence_date_position
optional

Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.

integer(int64)

recurrence_id
optional

Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.

integer

recurrence_position
optional

1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.

integer

recurrence_start
optional

Start of a sequence without time.

integer(int64)

recurrence_type
optional

Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly).

integer

sequence
optional

iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set.

integer

shown_as
optional

Describes, how this appointment appears in availability queries: 1 (reserved), 2 (temporary), 3 (absent), 4 (free).

integer

start_date
optional

Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).

integer(int64)

timezone
optional

The timezone of the appointment.

string

title
optional

Short description.

string

uid
optional

Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.

string

until
optional

Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.

integer(int64)

users
optional

Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.

< TaskUser > array

AppointmentCreationData

Name Description Schema

conflicts
optional

An array of appointments which cause conflicts.

< AppointmentCreationConflict > array

id
optional

ID of the appointment.

string

AppointmentCreationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

AppointmentCreationData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentData

Name Description Schema

alarm
optional

Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.

integer(int64)

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

change_exceptions
optional

An array of Dates, representing all change exceptions of a sequence.

< integer(int64) > array

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

confirmations
optional

Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.

< TaskConfirmation > array

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

day_in_month
optional

Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.

integer

days
optional

Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).

integer

delete_exceptions
optional

An array of Dates, representing all delete exceptions of a sequence.

< integer(int64) > array

end_date
optional

Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).

integer(int64)

folder_id
optional

Object ID of the parent folder.

string

full_time
optional

True if the event is a whole day appointment or task, false otherwise.

boolean

id
optional

Object ID.

string

ignore_conflicts
optional

Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.

boolean

interval
optional

Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.

integer

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

location
optional

The location of the appointment.

string

modified_by
optional

User ID of the user who last modified this object.

string

month
optional

Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.

integer

note
optional

Long description.

string

notification
optional

If true, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.

boolean

number_of_attachments
optional

Number of attachments.

integer

occurrences
optional

Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.

integer

organizer
optional

Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks.

string

organizerId
optional

Contains the userIId of the appointment organizer if it is an internal user. Not implemented for tasks (introduced with 6.20.1).

integer

participants
optional

Each element identifies a participant, user, group or booked resource.

< TaskParticipant > array

principal
optional

Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks (introduced with 6.20.1).

string

principalId
optional

Contains the userIId of the appointment principal if it is an internal user. Not implemented for tasks (introduced with 6.20.1).

integer

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

recurrence_date_position
optional

Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.

integer(int64)

recurrence_id
optional

Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.

integer

recurrence_position
optional

1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.

integer

recurrence_start
optional

Start of a sequence without time.

integer(int64)

recurrence_type
optional

Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly).

integer

sequence
optional

iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set.

integer

shown_as
optional

Describes, how this appointment appears in availability queries: 1 (reserved), 2 (temporary), 3 (absent), 4 (free).

integer

start_date
optional

Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).

integer(int64)

timezone
optional

The timezone of the appointment.

string

title
optional

Short description.

string

uid
optional

Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.

string

until
optional

Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.

integer(int64)

users
optional

Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.

< TaskUser > array

AppointmentDeletionsElement

Name Description Schema

folder
required

The object ID of the related folder.

string

id
required

The object ID of the appointment.

string

pos
optional

Value of the field recurrence_position, if present in the appointment.

integer

AppointmentDeletionsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array with object IDs of appointments which were modified after the specified timestamp and were therefore not deleted.

< AppointmentDeletionsElement > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentFreeBusyItem

Name Description Schema

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

confirmations
optional

Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.

< TaskConfirmation > array

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

end_date
optional

Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).

integer(int64)

folder_id
optional

Object ID of the parent folder.

string

full_time
optional

True if the event is a whole day appointment or task, false otherwise.

boolean

id
optional

Object ID.

string

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

modified_by
optional

User ID of the user who last modified this object.

string

number_of_attachments
optional

Number of attachments.

integer

participants
optional

Each element identifies a participant, user, group or booked resource.

< TaskParticipant > array

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

recurrence_type
optional

Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly).

integer

shown_as
optional

Describes, how this appointment appears in availability queries: 1 (reserved), 2 (temporary), 3 (absent), 4 (free).

integer

start_date
optional

Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).

integer(int64)

title
optional

Short description.

string

AppointmentFreeBusyResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

< AppointmentFreeBusyItem > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentInfoResponse

Name Description Schema

data
optional

Array with elements that correspond with days in the time range, explaining whether a day has appointments or not.

< boolean > array

AppointmentListElement

Name Description Schema

folder
required

The object ID of the related folder.

string

id
required

The object ID of the appointment.

string

recurrence_date_position
optional

Date of an individual appointment in a sequence.

integer(int64)

recurrence_position
optional

1-based position of an individual appointment in a sequence.

integer

AppointmentResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

AppointmentData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentSearchBody

Name Description Schema

pattern
optional

Search pattern to find appointments. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.

string

startletter
optional

Search appointments with the given starting letter.

string

AppointmentUpdateData

Name Description Schema

id
optional

ID of the appointment.

string

AppointmentUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

AppointmentUpdateData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of appointments.

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AppointmentsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of appointments. Each appointment is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AttachmentData

Name Description Schema

attached
optional

The ID of the object this attachment is attached to.

integer

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

file_mimetype
optional

The MIME type of the attached file.

string

file_size
optional

The file size (in bytes) of the attached file.

integer(int64)

filename
optional

The filename of the attached file.

string

folder
optional

The ID of the first folder in which the attached object resides.

integer

folder_id
optional

Object ID of the parent folder.

string

id
optional

Object ID.

string

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

modified_by
optional

User ID of the user who last modified this object.

string

module
optional

The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

number_of_attachments
optional

Number of attachments.

integer

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

rft_flag
optional

If the attachment is a RTF attachment of outlook (outlook descriptions can be stored as RTF documents).

boolean

AttachmentResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

AttachmentData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AttachmentUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of attachments.

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AttachmentsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of attachments. Each attachment is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

AutoConfigResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailAccountData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

CapabilitiesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of JSON objects each describing one capability.

< CapabilityData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

CapabilityData

Name Description Schema

attributes
optional

A JSON object holding properties of the capability.

object

id
optional

The identifier of the capability.

string

CapabilityResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

CapabilityData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ChangeIPResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

CommonResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ConfigBody

Name Description Schema

data
required

The new value of the node specified by path.

object

ConfigProperty

Name Description Schema

name
optional

The name of the property.

string

value
optional

The value of the property.

object

ConfigPropertyBody

Name Description Schema

value
optional

The concrete value to set.

string

ConfigPropertyResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ConfigProperty

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ConfigResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Generic type which can be object, string, array, etc.

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ContactData

Name Description Schema

addressBusiness
optional

Support for Outlook 'business' address field. (since 6.20.1)

string

addressHome
optional

Support for Outlook 'home' address field. (since 6.20.1)

string

addressOther
optional

Support for Outlook 'other' address field. (since 6.20.1)

string

anniversary
optional

The anniversary.

integer(int64)

assistant_name
optional

The assistant’s name.

string

birthday
optional

The date of birth.

integer(int64)

branches
optional

The branches.

string

business_category
optional

The business category.

string

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

cellular_telephone1
optional

The cellular telephone number 1.

string

cellular_telephone2
optional

The cellular telephone number 2.

string

city_business
optional

The city of the business address.

string

city_home
optional

The city of the home address.

string

city_other
optional

The city of another address.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

commercial_register
optional

The commercial register.

string

company
optional

The company name.

string

country_business
optional

The country of the business address.

string

country_home
optional

The country of the home address.

string

country_other
optional

The country of another address.

string

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

default_address
optional

The default address.

integer

department
optional

The department.

string

display_name
optional

The display name.

string

distribution_list
optional

If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.

< DistributionListMember > array

email1
optional

The email address 1.

string

email2
optional

The email address 2.

string

email3
optional

The email address 3.

string

employee_type
optional

The type of the employee.

string

fax_business
optional

The business fax number.

string

fax_home
optional

The home fax number.

string

fax_other
optional

The other fax number.

string

file_as
optional

The file name.

string

first_name
optional

The given name.

string

folder_id
optional

Object ID of the parent folder.

string

id
optional

Object ID.

string

image1
optional

string

image1_content_type
optional

The content type of the image (like "image/png").

string

image1_url
optional

The url to the image.

string

image_last_modified
optional

The last modification of the image.

integer(int64)

info
optional

An information.

string

instant_messenger1
optional

The instant messenger address 1.

string

instant_messenger2
optional

The instant messenger address 2.

string

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

last_name
optional

The sur name.

string

manager_name
optional

The manager’s name.

string

marital_status
optional

The marital status.

string

mark_as_distributionlist
optional

boolean

modified_by
optional

User ID of the user who last modified this object.

string

nickname
optional

The nickname.

string

note
optional

A note.

string

number_of_attachments
optional

Number of attachments.

integer

number_of_children
optional

The number of children.

string

number_of_distribution_list
optional

The number of objects in the distribution list.

integer

number_of_employees
optional

The number of employees.

string

number_of_images
optional

The number of images.

integer

position
optional

The position.

string

postal_code_business
optional

The postal code of the business address.

string

postal_code_home
optional

The postal code of the home address.

string

postal_code_other
optional

The postal code of another address.

string

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

profession
optional

The profession.

string

room_number
optional

The room number.

string

sales_volume
optional

The sales volume.

string

second_name
optional

The middle name.

string

spouse_name
optional

The name of the spouse.

string

state_business
optional

The state of the business address.

string

state_home
optional

The state of the home address.

string

state_other
optional

The state of another address.

string

street_business
optional

The street of the business address.

string

street_home
optional

The street of the home address.

string

street_other
optional

The street of another address.

string

suffix
optional

The suffix.

string

tax_id
optional

The tax id.

string

telephone_assistant
optional

The assistant telephone number.

string

telephone_business1
optional

The business telephone number 1.

string

telephone_business2
optional

The business telephone number 2.

string

telephone_callback
optional

The callback telephone number.

string

telephone_car
optional

The car telephone number.

string

telephone_company
optional

The company telephone number.

string

telephone_home1
optional

The home telephone number 1.

string

telephone_home2
optional

The home telephone number 2.

string

telephone_ip
optional

The IP telephone number.

string

telephone_isdn
optional

The ISDN telephone number.

string

telephone_other
optional

The other telephone number.

string

telephone_pager
optional

The pager telephone number.

string

telephone_primary
optional

The primary telephone number.

string

telephone_radio
optional

The radio telephone number.

string

telephone_telex
optional

The telex telephone number.

string

telephone_ttytdd
optional

The TTY/TDD telephone number.

string

title
optional

The title.

string

uid
optional

Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.

string

url
optional

The url address or homepage.

string

useCount
optional

In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.

integer

user_id
optional

The internal user id.

integer

userfield01
optional

Dynamic Field 1.

string

userfield02
optional

Dynamic Field 2.

string

userfield03
optional

Dynamic Field 3.

string

userfield04
optional

Dynamic Field 4.

string

userfield05
optional

Dynamic Field 5.

string

userfield06
optional

Dynamic Field 6.

string

userfield07
optional

Dynamic Field 7.

string

userfield08
optional

Dynamic Field 8.

string

userfield09
optional

Dynamic Field 9.

string

userfield10
optional

Dynamic Field 10.

string

userfield11
optional

Dynamic Field 11.

string

userfield12
optional

Dynamic Field 12.

string

userfield13
optional

Dynamic Field 13.

string

userfield14
optional

Dynamic Field 14.

string

userfield15
optional

Dynamic Field 15.

string

userfield16
optional

Dynamic Field 16.

string

userfield17
optional

Dynamic Field 17.

string

userfield18
optional

Dynamic Field 18.

string

userfield19
optional

Dynamic Field 19.

string

userfield20
optional

Dynamic Field 20.

string

yomiCompany
optional

Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues. (since 6.20)

string

yomiFirstName
optional

Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20)

string

yomiLastName
optional

Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20)

string

ContactDeletionsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ContactListElement

Name Description Schema

folder
required

The object ID of the related folder.

string

id
required

The object ID of the contact.

string

ContactResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ContactData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ContactSearchBody

Name Description Schema

categories
optional

Searches contacts where the categories match with the given search pattern.

string

company
optional

Searches contacts where the company match with the given search pattern. (requires version >= 6.12)

string

display_name
optional

Searches contacts where the display name match with the given display name.

string

email1
optional

Searches contacts where the email1 address match with the given search pattern. (requires version >= 6.12)

string

email2
optional

Searches contacts where the email2 address match with the given search pattern. (requires version >= 6.12)

string

email3
optional

Searches contacts where the email3 address match with the given search pattern. (requires version >= 6.12)

string

emailAutoComplete
optional

If set to true, results are guaranteed to contain at least one email adress and the search is performed as if orSearch were set to true. The actual value of orSearch is ignored.

boolean

exactMatch
optional

If set to true, contacts are returned where the specified patterns match the corresponding fields exactly. Otherwise, a "startsWith" or "substring" comparison is used based on the "orSearch" parameter. (requires version > 6.22.1)

boolean

first_name
optional

Searches contacts where the first name match with the given first name.

string

folder
optional

If a list of folder identifiers or at least a single folder identifier is given, only in that folders will be searched for contacts. This paramenter is optional but searching in all contact folders that are viewable and where objects can be read in is more expensive on that database than searching in a dedicated number of them. The possibility to provide here an array of folder identifier has been added with 6.10.

< integer > array

last_name
optional

Searches contacts where the last name match with the given last name.

string

orSearch
optional

If set to true, a contact is returned if any specified pattern matches at the start of the corresponding field. Otherwise, a contact is returned if all specified patterns match any substring of the corresponding field.

boolean

pattern
optional

Search pattern to find contacts. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves. Matching is performed against any substring of the field display_name.

string

startletter
optional

Search contacts with the given startletter. If this field is present, the pattern is matched against the contact field which is specified by the property "contact_first_letter_field" on the server (default: last name). Otherwise, the pattern is matched against the display name.

boolean

ContactUpdateData

Name Description Schema

id
optional

ID of a newly created contact.

string

ContactUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ContactUpdateData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ContactUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of contacts.

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ContactsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of contacts. Each contact is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ConversionBody

Name Description Schema

datahandler
optional

ConversionDataHandler

datasource
optional

ConversionDataSource

ConversionDataHandler

Name Description Schema

args
optional

A JSON array of optional JSON objects containing the name-value-pairs.

< ConversionDataHandlerPair > array

identifier
optional

The identifier of the data handler.

string

ConversionDataHandlerPair

Name Description Schema

com.openexchange.groupware.calendar.confirmmessage
optional

The message.

string

com.openexchange.groupware.calendar.confirmstatus
optional

The status.

string

com.openexchange.groupware.calendar.folder
optional

The calendar folder ID.

string

com.openexchange.groupware.calendar.searchobject
optional

Can be true or false.

string

com.openexchange.groupware.calendar.timezone
optional

The timezone ID.

string

com.openexchange.groupware.contact.folder
optional

The contact folder ID.

string

com.openexchange.groupware.task.folder
optional

The task folder ID.

string

com.openexchange.grouware.calendar.recurrencePosition
optional

The recurrence position.

string

ConversionDataSource

Name Description Schema

args
optional

A JSON array of optional JSON objects containing the name-value-pairs.

< ConversionDataSourcePair > array

identifier
optional

The identifier of the data source.

string

ConversionDataSourcePair

A name-value-pair where only one name with a value must be filled out except the case when VCard data from speicified contact object(s) is obtained then the folder and id must be specified.

Name Description Schema

com.openexchange.mail.conversion.fullname
optional

The folder’s full name.

string

com.openexchange.mail.conversion.mailid
optional

The object ID of the mail.

string

com.openexchange.mail.conversion.sequenceid
optional

The attachment sequence ID.

string

folder
optional

A folder ID.

string

id
optional

The ID.

string

ConversionResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

CurrentUserData

Name Description Schema

context_admin
optional

The ID of the context’s administrator user.

integer

context_id
optional

The unique identifier of the user’s context.

integer

display_name
optional

The display name of the user.

string

login_name
optional

The login name of the user.

string

user_id
optional

The unique identifier of the user himself.

integer

CurrentUserResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

CurrentUserData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

DistributionListMember

Name Description Schema

display_name
optional

The display name.

string

folder_id
optional

Parent folder ID of the member’s contact if the member is an existing contact (preliminary, from 6.22 on).

string

id
optional

Object ID of the member’s contact if the member is an existing contact.

string

mail
optional

The email address (mandatory before 6.22, afterwards optional if you are referring to an internal contact).

string

mail_field
optional

Which email field of an existing contact (if any) is used for the mail field: 0 (independent contact), 1 (default email field, email1), 2 (second email field, email2), 3 (third email field, email3).

number

FileAccountCreationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The ID of the newly created account.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FileAccountData

Name Description Schema

capabilities
optional

An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, and LOCKS.

< string > array

configuration
optional

The configuration data according to the form description of the relevant file storage service.

object

displayName
optional

A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.

string

filestorageService
optional

The identifier of the file storage service this account belongs to.

string

id
optional

The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, …). This is not writeable and is generated by the server.

string

isDefaultAccount
optional

Indicates whether this account is the user’s default account. Exactly one account will have this flag set to true.

boolean

qualifiedId
optional

A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.

string

rootFolder
optional

The ID of the account’s root folder within the folder tree. This is not writeable and is generated by the server.

string

FileAccountResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

FileAccountData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FileAccountUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Returns 1 on success.

integer

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FileAccountsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of JSON objects each describing one file storage account.

< FileAccountData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FileServiceConfiguration

Name Description Schema

defaultValue
optional

Can contain a default value.

object

displayName
optional

The display name of the field.

string

mandatory
optional

Indicates whether the field is mandatory.

boolean

name
optional

The name of the field.

string

options
optional

A list of available options in the field.

< object > array

widget
optional

The name of the widget.

string

FileServiceData

Name Description Schema

configuration
optional

An array of dynamic form fields. Same as in PubSub.

< FileServiceConfiguration > array

displayName
optional

A human-readable display name of the service, e.g. "Box File Storage Service"

string

id
optional

The identifier of the file storage service, e.g. "boxcom".

string

FileServiceResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

FileServiceData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FileServicesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of JSON objects each describing one service.

< FileServiceData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FindActiveFacet

Name Description Schema

filter
optional

FindActiveFacetFilter

id
optional

The ID of the according facet.

string

value
optional

The ID of the according value. Must always be copied from the value object, not from a possibly according option (in the two-dimensional case).

string

FindActiveFacetFilter

The filter object, copied from the value or option.

Name Description Schema

fields
optional

An array of fields to search for.

< string > array

queries
optional

An array of corresponding search values.

< string > array

FindAutoCompleteBody

Name Description Schema

facets
optional

An array of already selected facets, meaning categories the user has filtered by before.

< FindFacetData > array

options
optional

FindOptionsData

prefix
optional

The user’s search input.

string

FindAutoCompleteData

Name Description Schema

facets
optional

An array of facets each describing a possible search category or an already applied category.

< FindFacetData > array

FindAutoCompleteResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

FindAutoCompleteData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FindFacetData

Name Description Schema

filter
optional

FindFacetFilter

flags
optional

An array of flags. Available flags: conflicts (specified as "conflicts:<other-id>", facets carrying this flag must not be combined with a facet of type <other-id>). (for simple, default, and exclusive)

< string > array

id
optional

The ID of this facet. Must be unique within an autocomplete response. Can be used to distinguish and filter certain facets. (for simple, default, and exclusive)

string

item
optional

FindFacetItem

name
optional

A displayable (and localized) name for this facet. If absent, an item attribute is present. (for simple, default, and exclusive)

string

options
optional

An array of facet values. (for exclusive)

< FindFacetValue > array

style
optional

The facet style, which can be one of: simple, default, or exclusive. Dependent on the style some fields are present and others are not.

string

values
optional

An array of facet values. (for default)

< FindFacetValue > array

FindFacetFilter

The filter to refine the search. (for simple)

Name Description Schema

fields
optional

An array of fields to search for.

< string > array

queries
optional

An array of corresponding search values.

< string > array

FindFacetItem

A more complex object to display this facet. Attributes are name, detail (optional), and image_url (optional). (for simple, default, and exclusive)

Name Description Schema

detail
optional

A displayable (and localized) detail name, like "in mail text".

string

image_url
optional

An URL to a displayable image.

string

name
optional

A displayable (and localized) name for the facet.

string

FindFacetValue

Name Description Schema

filter
optional

FindFacetValueFilter

id
optional

The ID of the value. Must be unique within one facet.

string

item
optional

FindFacetValueItem

name
optional

A displayable (and localized) name for this facet. If absent, an item attribute is present.

string

options
optional

An array of options to refine the search.

< FindFacetValueOption > array

FindFacetValueFilter

The filter to refine the search.

Name Description Schema

fields
optional

An array of fields to search for.

< string > array

queries
optional

An array of corresponding search values.

< string > array

FindFacetValueItem

A more complex object to display this facet. Attributes are name, detail (optional), and image_url (optional).

Name Description Schema

detail
optional

A displayable (and localized) detail name, like "in mail text".

string

image_url
optional

An URL to a displayable image.

string

name
optional

A displayable (and localized) name for the facet.

string

FindFacetValueOption

Name Description Schema

filter
optional

FindFacetValueFilter

id
optional

The ID of the option. Must be unique within a set of options.

string

name
optional

The displayable (and localized) name for this option.

string

FindOptionsData

Name Description Schema

admin
optional

Indicates whether the context admin shall be included if it matches any search criteria. If the context admin shall always be ignored (i.e. not returned), false has to be set.

boolean

timezone
optional

The timezone to use if any dates are returned.

string

FindQueryBody

Name Description Schema

facets
optional

An array of selected facets that shall be applied for search.

< FindActiveFacet > array

options
optional

FindOptionsData

size
optional

The page size of a pagination, if desired.

integer

start
optional

The start of a pagination, if desired.

integer

FindQueryResponse

Name Description Schema

num_found
optional

The number of found items.

integer

results
optional

An array of search results. Each result is described by a JSON object containing the fields specified in the columns parameter.

< object > array

size
optional

The page size.

integer

start
optional

The start of the pagination.

integer

FolderBody

Name Description Schema

folder
required

FolderData

notification
optional

FolderBodyNotification

FolderBodyNotification

Name Description Schema

message
optional

string

transport
optional

E.g. "mail".

string

FolderData

Name Description Schema

account_id
optional

Will be null if the folder does not belong to any account (i.e. if its module doesn’t support multiple accounts), is a virtual folder or an account-agnostic system folder. Since 7.8.0.

string

capabilities
optional

Bit mask containing information about mailing system capabilites: bit 0 (mailing system supports permissions), bit 1 (mailing system supports ordering mails by their thread reference), bit 2 (mailing system supports quota restrictions), bit 3 (mailing system supports sorting), bit 4 (mailing system supports folder subscription).

integer

com.openexchange.folderstorage.displayName
optional

Provides the display of the folder’s owner. Read Only, Since 6.20.

string

com.openexchange.publish.publicationFlag
optional

Indicates whether this folder is published. Read Only, provided by the com.openexchange.publish plugin, since 6.14.

boolean

com.openexchange.share.extendedPermissions
optional

< FolderExtendedPermission > array

com.openexchange.subscribe.subscriptionFlag
optional

Indicates whether this folder has subscriptions storing their content in this folder. Read Only, provided by the com.openexchange.subscribe plugin, since 6.14.

boolean

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

deleted
optional

The number of deleted objects in this Folder.

integer

folder_id
optional

Object ID of the parent folder.

string

id
optional

Object ID

string

last_modified
optional

Date and time of the last modification.

integer(int64)

last_modified_utc
optional

Timestamp of the last modification. Note that the type is Timestamp, not Time (added 2008-10-17, with SP5, temporary workaround).

integer(int64)

modified_by
optional

User ID of the user who last modified this object.

string

module
optional

Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"

string

new
optional

The number of new objects in this Folder.

integer

own_rights
optional

Permissions which apply to the current user, as described either in Permission flags or in http://tools.ietf.org/html/rfc2086.

integer

permissions
optional

< FolderPermission > array

standard_folder
optional

Indicates whether or not folder is marked as a default folder (only OX folder).

boolean

standard_folder_type
optional

Indicates the default folder type: 0 (non-default folder), 1 (task), 2 (calendar), 3 (contact), 7 (inbox), 8 (infostore), 9 (drafts), 10 (sent), 11 (spam), 12 (trash).

integer

subfolders
optional

true if this folder has subfolders.

boolean

subscr_subflds
optional

Indicates whether subfolders should appear in folder tree or not.

boolean

subscribed
optional

Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.

boolean

summary
optional

Information about contained objects.

string

supported_capabilities
optional

Can contain "permissions", "publication", "quota", "sort", "subscription".

< string > array

title
optional

Name of this folder.

string

total
optional

The number of objects in this Folder.

integer

type
optional

Type of folder.

integer

unread
optional

The number of unread objects in this Folder.

integer

FolderExtendedPermission

Name Description Schema

bits
optional

A number as described in Permission flags.

integer

contact
optional

A (reduced) set of Detailed contact data for "user" and "guest" entities.

object

display_name
optional

A display name for the permission entity.

string

entity
optional

Identifier of the permission entity (i.e. user-, group- or guest-ID).

integer

expiry_date
optional

The optionally set expiry date for "anonymous" entities.

integer(int64)

password
optional

The optionally set password for "anonymous" entities.

string

share_url
optional

The share link for "anonymous" entities.

string

type
optional

Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.

string

FolderPermission

Name Description Schema

bits
optional

For non-mail folders, a number as described in Permission flags.

integer

contact_folder
optional

The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).

string

contact_id
optional

The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).

string

display_name
optional

The display name of the recipient (for type "guest", optional).

string

email_address
optional

The e-mail address of the recipient (for type "guest").

string

entity
optional

User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest").

integer

expiry_date
optional

The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).

integer(int64)

group
optional

true if entity refers to a group, false if it refers to a user (ignored for type "anonymous" or "guest").

boolean

password
optional

An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).

string

rights
optional

For mail folders, the rights string as defined in http://tools.ietf.org/html/rfc2086.

string

type
optional

The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).

string

FolderResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

FolderData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FolderSharingNotificationBody

Name Description Schema

entities
required

Array containing the entity ID(s) of the users or groups that shall be notified.

< string > array

notification
optional

FolderBodyNotification

FolderSharingNotificationData

Name Description Schema

warnings
optional

Can contain transport warnings that occured during sending the notifications.

< object > array

FolderSharingNotificationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

FolderSharingNotificationData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FolderUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The object id of the folder.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FolderUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of folders.

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FoldersCleanUpResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array with object IDs of folders that could not be processed because of a concurrent modification or something else.

< string > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FoldersResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of folders. Each folder is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FoldersVisibilityData

Name Description Schema

private
optional

Array of private folders. Each folder is described as an array itself.

< < object > array > array

public
optional

Array of public folders. Each folder is described as an array itself.

< < object > array > array

shared
optional

Array of shared folders. Each folder is described as an array itself.

< < object > array > array

FoldersVisibilityResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

FoldersVisibilityData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FreeBusyData

Name Description Schema

end_date
optional

The end time of the interval.

integer(int64)

folder_id
optional

The folder ID of the corresponding appointment if available.

string

full_time
optional

Indicates whether the corresponding appointment is a whole day appointment, not present otherwise.

boolean

id
optional

The object ID of the corresponding appointment if available.

string

location
optional

The location of the corresponding appointment if available.

string

shown_as
optional

The busy status of this interval, one of: 0 (unknown), 1 (reserved), 2 (temporary), 3 (absent), 4 (free).

integer

start_date
optional

The start time of the interval.

integer(int64)

title
optional

The title of the corresponding appointment if available.

string

FreeBusyResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of free/busy intervals.

< FreeBusyData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

FreeBusysResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The free/busy data for all requested participants inside a JSON object with the participant IDs as keys, like {"data":{"3":{"data":[{"start_date":…​},{"start_date":…​]}},"19":{"data":[{"start_date":…​}]}}}. Besides a combined data element for a requested group, all group members are resolved and listed separately in the result. If the merged parameter is specified, an additional data element named merged representing a combined view for all requested participants is added to the results implicity.

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

GroupData

Name Description Schema

display_name
optional

Display name of the group.

string

id
optional

The group ID.

integer

last_modified_utc
optional

Timestamp of the last modification.

integer(int64)

members
optional

The array contains identifiers of users that are member of the group.

< integer > array

name
optional

Internal name with character restrictions.

string

GroupListElement

Name Description Schema

id
optional

ID of a group.

integer

GroupResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

GroupData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

GroupSearchBody

Name Description Schema

pattern
optional

Search pattern to find groups. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.

string

GroupUpdateData

Name Description Schema

id
optional

The ID of a newly created group.

integer

GroupUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

GroupUpdateData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

GroupUpdatesData

Name Description Schema

deleted
optional

Array of deleted group objects.

< GroupData > array

modified
optional

Array of modified group objects.

< GroupData > array

new
optional

Array of new group objects.

< GroupData > array

GroupUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

GroupUpdatesData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

GroupsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of group objects.

< GroupData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

HaloInvestigationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of halo data objects. Each object is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

HaloServicesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array with available halo providers.

< string > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemBody

Name Description Schema

file
required

InfoItemData

notification
optional

InfoItemBodyNotification

InfoItemBodyNotification

Responsible for sending out notifications for changed object permissions of an infoitem.

Name Description Schema

message
optional

string

transport
optional

E.g. "mail".

string

InfoItemData

Name Description Schema

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

com.openexchange.file.storage.mail.mailMetadata
optional

Contains additional metadata for items in the "maildrive" file storage (read-only). (available since 7.8.2)

object

com.openexchange.realtime.resourceID
optional

The resource identifier for the infoitem for usage within the realtime component (read-only). (available since 7.8.0)

string

com.openexchange.share.extendedObjectPermissions
optional

An array of extended object permissions (read-only). (available since 7.8.0)

< InfoItemExtendedPermission > array

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

current_version
optional

"true" if this version is the current version, "false" otherwise. Note: This is not writeable.

boolean

description
optional

A description if the item.

string

file_md5sum
optional

MD5Sum of the document.

string

file_mimetype
optional

MIME type of the document. The client converts known types to more readable names before displaying them.

string

file_size
optional

The size of the document in bytes.

integer(int64)

filename
optional

Displayed filename of the document.

string

folder_id
optional

Object ID of the parent folder.

string

id
optional

Object ID.

string

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

locked_until
optional

The time until which this item will presumably be locked. Only set if the docment is currently locked, 0 otherwise.

integer(int64)

modified_by
optional

User ID of the user who last modified this object.

string

number_of_attachments
optional

Number of attachments.

integer

number_of_versions
optional

The number of all versions of the item. Note: This is not writeable.

integer

object_permissions
optional

An array of object permissions (preliminary, available since v7.8.0).

< InfoItemPermission > array

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

shareable
optional

(read-only) Indicates if the item can be shared (preliminary, available since v7.8.0).

boolean

title
optional

The title.

string

url
optional

Link/URL to item.

string

version
optional

Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.

string

version_comment
optional

A version comment is used to file a changelog for the file.

string

InfoItemDetachResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

< integer > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemExtendedPermission

Name Description Schema

bits
optional

A number specifying the permission flags: 0 (the numerical value indicating no object permissions), 1 (the numerical value indicating read object permissions), 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)).

integer

contact
optional

ContactData

display_name
optional

A display name for the permission entity.

string

entity
optional

Identifier of the permission entity (i.e. user-, group- or guest-ID).

integer

expiry_date
optional

The optionally set expiry date for "anonymous" entities.

integer(int64)

password
optional

The optionally set password for "anonymous" entities.

string

share_url
optional

The share link for "anonymous" entities.

string

type
optional

"user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.

string

InfoItemListElement

Name Description Schema

folder
required

The object ID of the related folder (e.g. "31841").

string

id
required

The object ID of the infoitem (e.g. "31841/36639").

string

InfoItemPermission

Name Description Schema

bits
optional

A number specifying the permission flags: 0 (the numerical value indicating no object permissions), 1 (the numerical value indicating read object permissions), 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)).

integer

contact_folder
optional

The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).

string

contact_id
optional

The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).

string

display_name
optional

The display name of the recipient (for type "guest", optional).

string

email_address
optional

The e-mail address of the recipient (for type "guest").

string

entity
optional

User ID of the user or group to which this permission applies.

integer

expiry_date
optional

The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).

integer(int64)

group
optional

Is true if entity refers to a group, false if it refers to a user.

boolean

password
optional

An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).

string

type
optional

The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).

string

InfoItemResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

InfoItemData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemSearchBody

Name Description Schema

pattern
optional

The search pattern, where "*" matches any sequence of characters.

string

InfoItemSharingNotificationBody

Name Description Schema

entities
required

Array containing the entity ID(s) of the users or groups that shall be notified.

< string > array

notification
optional

InfoItemBodyNotification

InfoItemSharingNotificationData

Name Description Schema

warnings
optional

Can contain transport warnings that occured during sending the notifications.

< object > array

InfoItemSharingNotificationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

InfoItemSharingNotificationData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The object ID of the updated infoitem.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of infoitems.

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemZipElement

Name Description Schema

folder
required

The object ID of the related folder (e.g. "31841").

string

id
required

The object ID of the infoitem (e.g. "31841/36639").

string

version
optional

The version of the infoitem.

string

InfoItemsMovedResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of infoitem identifiers that could not be moved (due to a conflict).

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

InfoItemsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of infoitems. Each infoitem is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

JSlobData

Name Description Schema

id
optional

The identifier of the JSlob.

string

meta
optional

A JSON object containing meta data.

object

tree
optional

The JSON object that is stored in the JSlob.

object

JSlobsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array containing JSON configurations.

< JSlobData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

JumpResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

JumpTokenData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

JumpTokenData

Name Description Schema

token
optional

The identifier of the token.

string

LoginResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

context_id
optional

The context ID.

integer

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

locale
optional

The users locale (e.g. "en_US").

string

session
optional

The session ID.

string

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

user
optional

The username.

string

user_id
optional

The user ID.

integer

MailAccountData

Name Description Schema

addresses
optional

The comma-separated list of available email addresses including aliases (only available for primary mail account).

string

archive
optional

The name of the archive folder. Currently not functional!

string

archive_fullname
optional

The full name of the archive folder. Currently not functional!

string

confirmed_ham
optional

The name of the default confirmed-ham folder.

string

confirmed_ham_fullname
optional

Path to default confirmed-ham folder. Preferred over confirmed_ham.

string

confirmed_spam
optional

The name of the default confirmed-spam folder.

string

confirmed_span_fullname
optional

Path to default confirmed-spam folder. Preferred over confirmed_spam.

string

drafts
optional

The name of the default drafts folder.

string

drafts_fullname
optional

Path to default drafts folder. Preferred over drafts.

string

id
optional

The account identifier.

integer

login
optional

The login name.

string

mail_port
optional

The mail server’s port.

integer

mail_protocol
optional

The mail server’s protocol. Always use basic protocol name. E.g. use "imap" instead of "imaps".

string

mail_secure
optional

Whether to establish a secure connection to mail server (SSL, TLS).

boolean

mail_server
optional

The mail server’s hostname or IP address.

string

mail_starttls
optional

Whether to establish a secure connection to mail server via STARTTLS (available since v7.8.2).

boolean

mail_url
optional

The mail server URL, e.g. "imap://imap.somewhere.com:143". URL is preferred over single fields (like mail_server, mail_port, etc.).

string

meta
optional

Stores arbitrary JSON data as specified by client associated with the mail account.

string

name
optional

The account’s display name.

string

password
optional

The (optional) password.

string

personal
optional

The customizable personal part of the email address.

string

pop3_delete_write_through
optional

If option pop3_expunge_on_quite is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.

boolean

pop3_expunge_on_quit
optional

Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.

boolean

pop3_path
optional

Path to POP3’s virtual root folder in storage, default name of the POP3 account beside default folders.

string

pop3_refresh_rate
optional

The interval in minutes the POP3 account is refreshed.

integer

pop3_storage
optional

The name of POP3 storage provider, default is "mailaccount".

string

primary_address
optional

The user’s primary address in account, e.g. "someone@somewhere.com".

string

reply_to
optional

The customizable reply-to email address.

string

sent
optional

The name of the default sent folder.

string

sent_fullname
optional

Path to default sent folder. Preferred over sent.

string

spam
optional

The name of the default spam folder.

string

spam_fullname
optional

Path to default spam folder. Preferred over spam.

string

spam_handler
optional

The name of the spam handler used by account.

string

transport_auth
optional

Specifies the source for mail transport (SMTP) credentials. Possible values: mail (signals to use the same credentials as given in associated mail store, e.g. IMAP or POP3), custom (signals that individual credentials are supposed to be used (fields transport_login and transport_password are considered), none (means the mail transport does not support any authentication mechansim). (available since v7.6.1)

string

transport_login
optional

The transport login. Please see transport_auth for the handling of this field.

string

transport_password
optional

The transport password. Please see transport_auth for the handling of this field.

string

transport_port
optional

The transport server’s port.

integer

transport_protocol
optional

The transport server’s protocol. Always use basic protocol name. E.g. use "smtp" instead of "smtps".

string

transport_secure
optional

Whether to establish a secure connection to transport server (SSL, TLS).

boolean

transport_server
optional

The transport server’s hostname or IP address.

string

transport_starttls
optional

Whether to establish a secure connection to transport server via STARTTLS (available since v7.8.2).

boolean

transport_url
optional

The transport server URL, e.g. "smtp://smtp.somewhere.com:25". URL is preferred over single fields (like transport_server, transport_port, etc.).

string

trash
optional

The name of the default trash folder.

string

trash_fullname
optional

Path to default trash folder. Preferred over trash.

string

unified_inbox_enabled
optional

Whether Unified INBOX is enabled.

boolean

MailAccountDeletionResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array containing the identifiers of the mail accounts that were deleted.

< integer > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailAccountResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailAccountData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailAccountUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailAccountData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

warnings
optional

An array of error objects that occurred during the creation of the account.

< CommonResponse > array

MailAccountValidationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

A boolean if parameter tree is not specified indicating the validation result otherwise the folder tree object (see FolderData model) extended by a field subfolder_array that contains possible subfolders. In the tree case a value of null indicating a failed validation.

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

warnings
optional

CommonResponse

MailAccountsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of mail accounts. Each account is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailAckBody

Name Description Schema

folder
optional

The ID of the folder where the mail is placed.

string

from
optional

The from email address.

string

id
optional

The ID of the mail.

string

MailAckResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailAttachment

Name Description Schema

content
optional

Content as text. Present only if easily convertible to text.

string

content_type
optional

MIME type.

string

disp
optional

Attachment’s disposition: null, inline, attachment or alternative.

string

filename
optional

Displayed filename (mutually exclusive with content).

string

id
optional

Object ID (unique only inside the same message).

string

size
optional

Size of the attachment in bytes.

integer(int64)

MailConversationData

Name Description Schema

account_id
optional

Message’s account identifier. Since v6.20.2.

integer

account_name
optional

Message’s account name.

string

attachment
optional

Indicates whether this mail has attachments.

boolean

attachments
optional

Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.

< MailAttachment > array

bcc
optional

Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.

< < string > array > array

cc
optional

Each element is a two-element array (see the from field) specifying one carbon-copy receiver.

< < string > array > array

cid
optional

The value of the "Content-ID" header, if the header is present.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).

integer

content_type
optional

The MIME type of the mail.

string

disp_notification_to
optional

Content of message’s header "Disposition-Notification-To".

string

flag_seen
optional

Special field to sort mails by seen status.

string

flags
optional

Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details): 1 (answered), 2 (deleted), 4 (draft), 8 (flagged), 16 (recent), 32 (seen), 64 (user), 128 (spam), 256 (forwarded).

integer

folder_id
optional

Object ID of the parent folder.

string

from
optional

Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.

< < string > array > array

headers
optional

A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.

object

id
optional

Object ID of the mail.

string

level
optional

Zero-based nesting level in a thread.

integer

msg_ref
optional

Message reference on reply/forward.

string

original_folder_id
optional

The original folder identifier (e.g. if fetched from "virtual/all" folder).

string

original_id
optional

The original mail identifier (e.g. if fetched from "virtual/all" folder).

string

priority
optional

Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high).

integer

received_date
optional

Date and time as measured by the receiving server.

integer(int64)

sent_date
optional

Date and time as specified in the mail by the sending client.

integer(int64)

size
optional

The size if the mail in bytes.

integer(int64)

source
optional

RFC822 source of the mail. Only present for "?action=get&attach_src=true".

string

subject
optional

The mail’s subject.

string

thread
optional

JSON array consisting of JSON objects, each representing a message in the conversation.

< MailData > array

to
optional

Each element is a two-element array (see the from field) specifying one receiver.

< < string > array > array

truncated
optional

true/false if the mail content was trimmed. Since v7.6.1

boolean

unreadCount
optional

integer

user
optional

An array with user-defined flags as strings.

< string > array

MailConversationsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of JSON objects each representing a conversation’s root message.

< MailConversationData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailCountResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The folder’s mail count.

integer

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailData

Name Description Schema

account_id
optional

Message’s account identifier. Since v6.20.2.

integer

account_name
optional

Message’s account name.

string

attachment
optional

Indicates whether this mail has attachments.

boolean

attachments
optional

Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.

< MailAttachment > array

bcc
optional

Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.

< < string > array > array

cc
optional

Each element is a two-element array (see the from field) specifying one carbon-copy receiver.

< < string > array > array

cid
optional

The value of the "Content-ID" header, if the header is present.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).

integer

content_type
optional

The MIME type of the mail.

string

disp_notification_to
optional

Content of message’s header "Disposition-Notification-To".

string

flag_seen
optional

Special field to sort mails by seen status.

string

flags
optional

Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details): 1 (answered), 2 (deleted), 4 (draft), 8 (flagged), 16 (recent), 32 (seen), 64 (user), 128 (spam), 256 (forwarded).

integer

folder_id
optional

Object ID of the parent folder.

string

from
optional

Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.

< < string > array > array

headers
optional

A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.

object

id
optional

Object ID of the mail.

string

level
optional

Zero-based nesting level in a thread.

integer

msg_ref
optional

Message reference on reply/forward.

string

original_folder_id
optional

The original folder identifier (e.g. if fetched from "virtual/all" folder).

string

original_id
optional

The original mail identifier (e.g. if fetched from "virtual/all" folder).

string

priority
optional

Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high).

integer

received_date
optional

Date and time as measured by the receiving server.

integer(int64)

sent_date
optional

Date and time as specified in the mail by the sending client.

integer(int64)

size
optional

The size if the mail in bytes.

integer(int64)

source
optional

RFC822 source of the mail. Only present for "?action=get&attach_src=true".

string

subject
optional

The mail’s subject.

string

to
optional

Each element is a two-element array (see the from field) specifying one receiver.

< < string > array > array

truncated
optional

true/false if the mail content was trimmed. Since v7.6.1

boolean

user
optional

An array with user-defined flags as strings.

< string > array

MailDestinationBody

Name Description Schema

folder_id
optional

The object ID of the destination folder.

string

MailDestinationData

Name Description Schema

folder_id
optional

Object ID of the destination folder.

string

id
optional

Object ID of the "new" mail.

string

MailDestinationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailDestinationData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailFilterAction

Name Description Schema

addresses
optional

The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.

< string > array

days
optional

The days for which a vacation text is returned (for vacation-command).

string

flags
optional

An array containing the flags which should be added to the mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ), 0x29 (, 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form $cl_n, where "n" is a number between 1 and 10 (inclusive). (for addflags-command)

< string > array

from
optional

Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear foo.bear@ox.io (Since 7.8.1). The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command)

object

id
optional

A string defining the object itself (e.g. "keep" or "discard").

string

into
optional

This string takes the object id of the destination mail folder (for move-command).

string

keys
optional

The public keys which should be used for encryption (for pgp-command).

< string > array

message
optional

The content of the notification message (for notify-command).

string

method
optional

The method of the notification message, eg. mailto:012345678@sms.gateway (for notify-command).

string

subject
optional

The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).

string

text
optional

A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).

string

to
optional

A string containing where the mail should be redirected to (for redirect-command).

string

MailFilterConfigData

Name Description Schema

actioncommands
optional

Array of available action commands.

< string > array

tests
optional

Array of available test-objects.

< MailFilterConfigTest > array

MailFilterConfigResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailFilterConfigData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailFilterConfigTest

Name Description Schema

comparison
optional

An array of the valid comparison types for this test, see Possible comparisons.

< string > array

test
optional

The name of the test, see Possible tests.

string

MailFilterCreationResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The id of the newly created rule.

integer

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailFilterDeletionBody

Name Description Schema

id
optional

The ID of the rule that shall be deleted.

integer

MailFilterNotTest

A test object which result will be negated.

Name Description Schema

comparison
optional

The comparison type, see Possible comparisons.

string

datepart
optional

Type of the comparison, which can be "date", "weekday" or "time" (available since v7.6.1) (for currentdate-test).

string

datevalue
optional

Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).

< integer(int64) > array

extensionskey
optional

The extension key (for body-test).

string

extensionsvalue
optional

A value for the given key. If the key has no value the value given here is ignored (for body-test).

string

headers
optional

An array containing the header fields (for address-, envelope- and header-test).

< string > array

id
optional

The name of the test command, see Possible tests.

string

size
optional

The size in bytes (for size-test).

integer(int64)

values
optional

An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).

< string > array

MailFilterRule

Name Description Schema

actioncmds
optional

An array of action commands.

< MailFilterAction > array

active
optional

If this rule is active or not.

boolean

errormsg
optional

If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn’t known.

string

flags
optional

An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.

< string > array

id
optional

A unique identifier of the rule (once created must not be changed).

integer

position
optional

The position inside the mail filter list (starts with 0).

integer

rulename
optional

A name describing the rule, can be empty but must not contain a line break.

string

test
optional

MailFilterTest

text
optional

If this rule cannot be read in this string is filled containing the whole lines of this command.

string

MailFilterRulesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

< MailFilterRule > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailFilterScriptResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The mail filter script.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailFilterTest

Name Description Schema

comparison
optional

The comparison type, see Possible comparisons.

string

datepart
optional

Type of the comparison, which can be "date", "weekday" or "time" (available since v7.6.1) (for currentdate-test).

string

datevalue
optional

Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).

< integer(int64) > array

extensionskey
optional

The extension key (for body-test).

string

extensionsvalue
optional

A value for the given key. If the key has no value the value given here is ignored (for body-test).

string

headers
optional

An array containing the header fields (for address-, envelope- and header-test).

< string > array

id
optional

The name of the test command, see Possible tests.

string

size
optional

The size in bytes (for size-test).

integer(int64)

test
optional

MailFilterNotTest

values
optional

An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).

< string > array

MailHeadersResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The (formatted) message headers as plain text.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailImportResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of JSON objects each describing the folder ID and object ID of one imported mail.

< MailDestinationData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailListElement

Name Description Schema

folder
required

The object ID of the related folder.

string

id
required

The object ID of the mail.

string

MailReplyData

Name Description Schema

account_id
optional

Message’s account identifier. Since v6.20.2.

integer

account_name
optional

Message’s account name.

string

attachment
optional

Indicates whether this mail has attachments.

boolean

attachments
optional

Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.

< MailAttachment > array

bcc
optional

Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.

< < string > array > array

cc
optional

Each element is a two-element array (see the from field) specifying one carbon-copy receiver.

< < string > array > array

cid
optional

The value of the "Content-ID" header, if the header is present.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).

integer

content_type
optional

The MIME type of the mail.

string

disp_notification_to
optional

Content of message’s header "Disposition-Notification-To".

string

flag_seen
optional

Special field to sort mails by seen status.

string

flags
optional

Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details): 1 (answered), 2 (deleted), 4 (draft), 8 (flagged), 16 (recent), 32 (seen), 64 (user), 128 (spam), 256 (forwarded).

integer

folder_id
optional

Object ID of the parent folder.

string

from
optional

Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.

< < string > array > array

headers
optional

A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.

object

id
optional

Object ID of the mail.

string

level
optional

Zero-based nesting level in a thread.

integer

msg_ref
optional

Message reference on reply/forward.

string

msgref
optional

Indicates the ID of the referenced original mail.

string

original_folder_id
optional

The original folder identifier (e.g. if fetched from "virtual/all" folder).

string

original_id
optional

The original mail identifier (e.g. if fetched from "virtual/all" folder).

string

priority
optional

Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high).

integer

received_date
optional

Date and time as measured by the receiving server.

integer(int64)

sent_date
optional

Date and time as specified in the mail by the sending client.

integer(int64)

size
optional

The size if the mail in bytes.

integer(int64)

source
optional

RFC822 source of the mail. Only present for "?action=get&attach_src=true".

string

subject
optional

The mail’s subject.

string

to
optional

Each element is a two-element array (see the from field) specifying one receiver.

< < string > array > array

truncated
optional

true/false if the mail content was trimmed. Since v7.6.1

boolean

user
optional

An array with user-defined flags as strings.

< string > array

MailReplyResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailReplyData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MailData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailSourceResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The complete message source as plain text.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailUpdateBody

Name Description Schema

clear_flags
optional

A set of flags to remove. Note: Flags for "recent" (8) and "user" (64) are ignored (available since SP5 v6.10).

integer

color_label
optional

The color number between 0 and 10.

integer

flags
optional

A set of flags to add or remove. Note: Flags for "recent" (8) and "user" (64) are ignored.

integer

folder_id
optional

The object ID of the destination folder (if the mail shall be moved).

string

set_flags
optional

A set of flags to add. Note: Flags for "recent" (8) and "user" (64) are ignored (available since SP5 v6.10).

integer(int64)

value
optional

Use true to add the flags specified by flags (logical OR) and false to remove them (logical AND with the inverted value).

boolean

MailUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

Mail_CategoriesMoveBody

Name Description Schema

folder_id
optional

The folder ID of the mail

string

id
optional

The object ID of the mail

string

Mail_CategoriesTrainBody

Name Description Schema

from
optional

An array of email addresses

< string > array

Mail_CategoriesUnreadResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

A JSON object with a field for each active category containing the number of unread messages.

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailsAllSeenResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

boolean

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailsCleanUpResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array with IDs of objects that could not be processed.

< string > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MailsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of mails. Each mail is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingAccountData

Name Description Schema

configuration
optional

The configuration data according to the formDescription of the relevant messaging service.

object

displayName
optional

User chosen string to identify a given account. Will also be translated into the folder name of the folder representing the accounts content.

string

id
optional

Identifier of the messaging account.

integer

messagingService
optional

The messaging service ID of the messaging service this account belongs to.

string

MessagingAccountResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MessagingAccountData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingAccountUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The response value.

integer

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingAccountsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array containing JSON objects representing messaging accounts.

< MessagingAccountData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingFormDescription

Name Description Schema

defaultValue
optional

Can contain a default value.

object

displayName
optional

The display name of the field.

string

mandatory
optional

Indicates whether the field is mandatory.

boolean

name
optional

The name of the field.

string

options
optional

A list of available options in the field.

< object > array

widget
optional

The name of the widget.

string

MessagingMessageData

Name Description Schema

body
optional

A JSON object representing the content of the message.

object

colorLabel
optional

An arbitrary number marking the message in a certain color. The same as the color label common to all groupware objects.

integer

flags
optional

Bitmask showing the state of this message. The same as in the module "mail".

integer

folder
optional

The folder ID.

string

headers
optional

A JSON object of header data. Usually the value is either a string or an array (if it has more than one value). Certain headers are rendered as more complex structures.

object

id
optional

The ID of the message. Only unique in the given folder.

string

picture
optional

The URL to a picture for this message.

string

receivedDate
optional

The time this message was received.

integer(int64)

sectionId
optional

The section ID of a certain message part, if the content-type is multipart/*.

string

size
optional

The size of the message in bytes.

integer(int64)

threadLevel
optional

The nesting level of this message according to the conversation it’s belonged to. May not be set.

integer

url
optional

A link to the messages origin currently used in RSS messages.

string

user
optional

An array of strings representing user flags.

< string > array

MessagingMessageResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MessagingMessageData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingMessageUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The response value.

integer

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingMessagesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of messages. Each message is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingServiceData

Name Description Schema

displayName
optional

Human-readable display name of the service.

string

formDescription
optional

An array of dynamic form fields. Same as in PubSub.

< MessagingFormDescription > array

id
optional

The identifier of the messaging service. This is usually a string in reverse domain name notation, like "com.openexchange.messaging.twitter".

string

messagingActions
optional

An array representing a dynamic set of actions that are possible with messages of this service.

< string > array

MessagingServiceResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

MessagingServiceData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

MessagingServicesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array containing JSON objects representing messaging services.

< MessagingServiceData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthAccountData

Name Description Schema

displayName
optional

The account’s display name.

string

id
optional

The numeric identifier of the OAuth account.

integer

secret
optional

The token secret.

string

serviceId
optional

The identifier of the associated service meta data, e.g. "com.openexchange.oauth.twitter".

string

token
optional

The token.

string

OAuthAccountDeletionResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Indicates whether the the account was deleted successfully.

boolean

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthAccountInteraction

Name Description Schema

authUrl
optional

The numeric identifier of the OAuth account.

string

token
optional

The token.

string

type
optional

The interaction type name, which can be "outOfBand" or "callback".

string

uuid
optional

The UUID for this OAuth interaction.

string

OAuthAccountInteractionResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

OAuthAccountInteraction

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthAccountResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

OAuthAccountData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthAccountUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Indicates whether the the account was updated successfully.

boolean

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthAccountsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of OAuth account objects.

< OAuthAccountData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthClientData

Name Description Schema

description
optional

A description of the client.

string

icon
optional

A URL or path to obtain the client’s icon via the image module.

string

id
optional

The client’s ID.

string

name
optional

The client’s/service’s name.

string

website
optional

A URL to the client’s website.

string

OAuthGrantData

Name Description Schema

client
optional

OAuthClientData

date
optional

The time when the access was granted.

integer(int64)

scopes
optional

A mapping from scope tokens to translated, human-readable descriptions for every scope that was granted to the external service (example: {"read_contacts":"See all your contacts"}).

object

OAuthGrantsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array containing one object for every granted access.

< OAuthGrantData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthServiceMetaData

Name Description Schema

displayName
optional

The service’s display name.

string

id
optional

The identifier of the service meta data, e.g. "com.openexchange.oauth.twitter".

string

OAuthServiceResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

OAuthServiceMetaData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

OAuthServicesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array with OAuth service meta data.

< OAuthServiceMetaData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

PasswordChangeBody

Name Description Schema

new_password
optional

The new password the user wants to set or null to remove the password (especially for guest users).

string

old_password
optional

The user’s current password or null if the password wasn’t set before (especially for guest users).

string

QuotaData

Name Description Schema

quota
optional

Represents the maximum storage (-1 represents an unlimited quota).

integer(int64)

use
optional

Represents the used storage.

integer(int64)

QuotaResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

QuotaData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

QuotasResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Dependent on the request parameters: the payload may be a JSON object containing the quota modules as fields that represent JSON objects itself with the properties "display_name" and "accounts" (array of account data objects) or it may be a JSON array of account data objects if the parameter "module" specifies a certain quota module.

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ReminderData

Name Description Schema

alarm
optional

The time of the alarm.

integer(int64)

folder
optional

The ID of the folder through that the object can be read.

integer

id
optional

The ID of the reminder.

integer

last_modified
optional

The last modification timestamp of the reminder.

integer(int64)

module
optional

The module of the reminder’s target object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).

integer

recurrence_position
optional

The recurrence position for series appointments or 0 if no series.

integer

server_time
optional

The time on the server.

integer(int64)

target_id
optional

The object ID of the target this reminder is attached to.

integer

user_id
optional

The ID of the user.

integer

ReminderListElement

Name Description Schema

id
optional

The ID of the reminder.

integer

ReminderResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ReminderData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ReminderUpdateBody

Name Description Schema

alarm
optional

The new time of the alarm.

integer(int64)

RemindersResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ReminderData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ResolveShareReferenceElement

Name Description Schema

reference
required

The reference string.

string

ResolveShareReferenceResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

data

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

data

Name Description Schema

contextId
optional

The originator’s context identifier.

integer

expiration
optional

The optional expiration date of the share link.

integer(int64)

files
optional

The file meta data.

< files > array

password
optional

The optional password that protects the share link.

string

shareToken
optional

The associated share token.

string

userId
optional

The originator’s user identifier.

integer

files

Name Description Schema

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

com.openexchange.file.storage.mail.mailMetadata
optional

Contains additional metadata for items in the "maildrive" file storage (read-only). (available since 7.8.2)

object

com.openexchange.realtime.resourceID
optional

The resource identifier for the infoitem for usage within the realtime component (read-only). (available since 7.8.0)

string

com.openexchange.share.extendedObjectPermissions
optional

An array of extended object permissions (read-only). (available since 7.8.0)

< InfoItemExtendedPermission > array

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

current_version
optional

"true" if this version is the current version, "false" otherwise. Note: This is not writeable.

boolean

description
optional

A description if the item.

string

file_md5sum
optional

MD5Sum of the document.

string

file_mimetype
optional

MIME type of the document. The client converts known types to more readable names before displaying them.

string

file_size
optional

The size of the document in bytes.

integer(int64)

filename
optional

Displayed filename of the document.

string

folder_id
optional

Object ID of the parent folder.

string

id
optional

Object ID.

string

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

locked_until
optional

The time until which this item will presumably be locked. Only set if the docment is currently locked, 0 otherwise.

integer(int64)

modified_by
optional

User ID of the user who last modified this object.

string

number_of_attachments
optional

Number of attachments.

integer

number_of_versions
optional

The number of all versions of the item. Note: This is not writeable.

integer

object_permissions
optional

An array of object permissions (preliminary, available since v7.8.0).

< InfoItemPermission > array

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

shareable
optional

(read-only) Indicates if the item can be shared (preliminary, available since v7.8.0).

boolean

title
optional

The title.

string

url
optional

Link/URL to item.

string

version
optional

Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.

string

version_comment
optional

A version comment is used to file a changelog for the file.

string

ResourceData

Name Description Schema

availability
optional

Can be false to mark the resource currently unavailable.

boolean

description
optional

The description of the resource.

string

display_name
optional

Display name of the resource.

string

id
optional

The resource ID.

integer

last_modified
optional

Date and time of the last modification.

string

last_modified_utc
optional

Timestamp of the last modification.

string

mailaddress
optional

Email address of the resource.

string

name
optional

Internal name with character restrictions.

string

ResourceListElement

Name Description Schema

id
optional

ID of a resource.

integer

ResourceResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ResourceData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ResourceSearchBody

Name Description Schema

pattern
optional

Search pattern to find resources. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.

string

ResourceUpdateData

Name Description Schema

id
optional

The ID of a newly created rsource.

integer

ResourceUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ResourceUpdateData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ResourceUpdatesData

Name Description Schema

deleted
optional

Array of deleted resource objects.

< ResourceData > array

modified
optional

Array of modified resource objects.

< ResourceData > array

new
optional

Array of new resource objects.

< ResourceData > array

ResourceUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ResourceUpdatesData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ResourcesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of resource objects.

< ResourceData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

SendMailData

Name Description Schema

account_id
optional

Message’s account identifier. Since v6.20.2.

integer

account_name
optional

Message’s account name.

string

attachment
optional

Indicates whether this mail has attachments.

boolean

attachments
optional

Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.

< MailAttachment > array

bcc
optional

Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.

< < string > array > array

cc
optional

Each element is a two-element array (see the from field) specifying one carbon-copy receiver.

< < string > array > array

cid
optional

The value of the "Content-ID" header, if the header is present.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).

integer

content_type
optional

The MIME type of the mail.

string

disp_notification_to
optional

Content of message’s header "Disposition-Notification-To".

string

flag_seen
optional

Special field to sort mails by seen status.

string

flags
optional

Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details): 1 (answered), 2 (deleted), 4 (draft), 8 (flagged), 16 (recent), 32 (seen), 64 (user), 128 (spam), 256 (forwarded).

integer

folder_id
optional

Object ID of the parent folder.

string

from
optional

Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.

< < string > array > array

headers
optional

A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.

object

id
optional

Object ID of the mail.

string

infostore_ids
optional

JSON array of infostore document ID(s) that ought to be appended to the mail as attachments.

< string > array

level
optional

Zero-based nesting level in a thread.

integer

msg_ref
optional

Message reference on reply/forward.

string

msgref
optional

Indicates the ID of the referenced original mail.

string

original_folder_id
optional

The original folder identifier (e.g. if fetched from "virtual/all" folder).

string

original_id
optional

The original mail identifier (e.g. if fetched from "virtual/all" folder).

string

priority
optional

Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high).

integer

received_date
optional

Date and time as measured by the receiving server.

integer(int64)

sendtype
optional

Indicates the type of the meessage: 0 (normal new mail), 1 (a reply mail, field "msgref" must be present), 2 (a forward mail, field "msgref" must be present), 3 (draft edit operation, field "msgref" must be present in order to delete previous draft message since e.g. IMAP does not support changing/replacing a message but requires a delete-and-insert sequence), 4 (transport of a draft mail, field "msgref" must be present), 6 (signals that user intends to send out a saved draft message and expects the draft message (referenced by "msgref" field) being deleted after successful transport).

integer

sent_date
optional

Date and time as specified in the mail by the sending client.

integer(int64)

size
optional

The size if the mail in bytes.

integer(int64)

source
optional

RFC822 source of the mail. Only present for "?action=get&attach_src=true".

string

subject
optional

The mail’s subject.

string

to
optional

Each element is a two-element array (see the from field) specifying one receiver.

< < string > array > array

truncated
optional

true/false if the mail content was trimmed. Since v7.6.1

boolean

user
optional

An array with user-defined flags as strings.

< string > array

vcard
optional

The user’s VCard.

integer

ShareLinkData

Name Description Schema

entity
optional

The identifier of the anonymous user entity for the share (read-only).

integer

expiry_date
optional

The end date / expiration time after which the share link is no longer accessible.

integer(int64)

is_new
optional

Whether the share link is new, i.e. it has been created by the /share/management?action=getLink request, or if it already existed (read-only).

boolean

meta
optional

Can be used by the client to save arbitrary JSON data along with the share.

object

password
optional

An additional secret / pin number an anonymous user needs to enter when accessing the share.

string

url
optional

The link to share (read-only).

string

ShareLinkResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

ShareLinkData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

ShareLinkSendBody

Name Description Schema

folder
optional

The folder identifier.

string

item
optional

The object identifier, in case the share target is a single item. This must not be present to share a complete folder.

string

message
optional

Can contain an optional custom message.

string

module
optional

The folder’s module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".

string

recipients
optional

An array that lists the recipients. Each element is itself a two-element array specifying one recipient. The first element represents the personal name, the second element is the email address.

< < string > array > array

ShareLinkSendResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

warnings
optional

Can contain possible warnings during sending of the notifications.

< object > array

ShareLinkUpdateBody

Name Description Schema

entity
optional

The identifier of the anonymous user entity for the share (read-only).

integer

expiry_date
optional

The end date / expiration time after which the share link is no longer accessible.

integer(int64)

folder
optional

The folder identifier.

string

is_new
optional

Whether the share link is new, i.e. it has been created by the /share/management?action=getLink request, or if it already existed (read-only).

boolean

item
optional

The object identifier, in case the share target is a single item. This must not be present to share a complete folder.

string

meta
optional

Can be used by the client to save arbitrary JSON data along with the share.

object

module
optional

The folder’s module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".

string

password
optional

An additional secret / pin number an anonymous user needs to enter when accessing the share.

string

url
optional

The link to share (read-only).

string

ShareTargetData

Name Description Schema

folder
optional

The folder identifier.

string

item
optional

The object identifier, in case the share target is a single item. This must not be present to share a complete folder.

string

module
optional

The folder’s module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".

string

SingleRequest

Contains all currently available (resp. possible) parameters that could be specified to perform a request in the multiple module except action, module, and data which are part of the actual request itself.

Name Description Schema

accountId
optional

The "accountId" parameter of a request.

integer

action
required

The name of the request’s action like "all", "list", etc.

string

all
optional

The "all" parameter of a request.

integer

allowed_modules
optional

The "allowed_modules" parameter of a request.

string

attach_src
optional

The "attach_src" parameter of a request.

boolean

attached
optional

The "attached" parameter of a request.

integer

attachment
optional

The "attachment" parameter of a request.

string

attachmentid
optional

The "attachmentid" parameter of a request.

string

cascadePermissions
optional

The "cascadePermissions" parameter of a request.

string

cid
optional

The "cid" parameter of a request.

string

client
optional

The "client" parameter of a request.

string

columns
optional

The "columns" parameter of a request.

string

content_type
optional

The "content_type" parameter of a request.

string

data
optional

The request’s body as a JSON object.

object

diff
optional

The "diff" parameter of a request.

integer(int64)

displayName
optional

The "displayName" parameter of a request.

string

edit
optional

The "edit" parameter of a request.

integer

email
optional

The "email" parameter of a request.

string

email1
optional

The "email1" parameter of a request.

string

email2
optional

The "email2" parameter of a request.

string

email3
optional

The "email3" parameter of a request.

string

end
optional

The "end" parameter of a request.

integer(int64)

errorOnDuplicateName
optional

The "errorOnDuplicateName" parameter of a request.

boolean

filestorageService
optional

The "filestorageService" parameter of a request.

string

filter
optional

The "filter" parameter of a request.

integer

flags
optional

The "falgs" parameter of a request.

integer

folder
optional

The "folder" parameter of a request.

string

force
optional

The "force" parameter of a request.

boolean

force_secure
optional

The "force_secure" parameter of a request.

string

from
optional

The "from" parameter of a request.

integer(int64)

hardDelete
optional

The "hardDelete" parameter of a request.

boolean

hdr
optional

The "hdr" parameter of a request.

integer

headers
optional

The "headers" parameter of a request.

string

id
optional

The "id" parameter of a request.

string

ignore
optional

The "ignore" parameter of a request.

string

includeSent
optional

The "includeSent" parameter of a request.

boolean

internal_userid
optional

The "internal_userid" parameter of a request.

integer

left_hand_limit
optional

The "left_hand_limit" parameter of a request.

integer

limit
optional

The "limit" parameter of a request.

integer

lineWrapAfter
optional

The "lineWrapAfter" parameter of a request.

integer

max_size
optional

The "max_size" parameter of a request.

integer

merged
optional

The "merged" parameter of a request.

boolean

messageAction
optional

The "messageAction" parameter of a request.

string

message_id
optional

The "message_id" parameter of a request.

string

messagingService
optional

The "messagingService" parameter of a request.

string

module
required

The name of the request’s module like "mail", "folders", etc.

string

name
optional

The "name" parameter of a request.

string

oauth_token
optional

The "oauth_token" parameter of a request.

string

oauth_verifier
optional

The "oauth_verifier" parameter of a request.

string

occurrence
optional

The "occurrence" parameter of a request.

string

order
optional

The "order" parameter of a request.

string

parent
optional

The "parent" parameter of a request.

string

participant
optional

The "participant" parameter of a request.

string

password
optional

The "password" parameter of a request.

string

peek
optional

The "peek" parameter of a request.

string

provider
optional

The "provider" parameter of a request.

string

query
optional

The "query" parameter of a request.

string

recipients
optional

The "recipients" parameter of a request.

string

recurrence_master
optional

The "recurrence_master" parameter of a request.

boolean

recursive
optional

The "recursive" parameter of a request.

string

right_hand_limit
optional

The "right_hand_limit" parameter of a request.

integer

save
optional

The "save" parameter of a request.

integer

serviceId
optional

The "serviceId" parameter of a request.

string

setFrom
optional

The "setFrom" parameter of a request.

boolean

setIfAbsent
optional

The "setIfAbsent" parameter of a request.

string

showPrivate
optional

The "showPrivate" parameter of a request.

boolean

sort
optional

The "sort" parameter of a request.

string

src
optional

The "src" parameter of a request.

integer

start
optional

The "start" parameter of a request.

integer(int64)

system
optional

The "system" parameter of a request.

string

timestamp
optional

The "timestamp" parameter of a request.

integer(int64)

timezone
optional

The "timezone" parameter of a request.

string

tree
optional

The "tree" parameter of a request.

string

type
optional

The "type" parameter of a request.

integer

uid
optional

The "uid" parameter of a request.

string

unseen
optional

The "unseen" parameter of a request.

boolean

until
optional

The "until" parameter of a request.

integer(int64)

user_id
optional

The "user_id" parameter of a request.

integer

userid
optional

The "userid" parameter of a request.

integer

uuid
optional

The "uuid" parameter of a request.

string

version
optional

The "version" parameter of a request.

integer

view
optional

The "view" parameter of a request.

string

SingleResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The data of a request that was processed with the multiple module.

object

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

SnippetAttachment

Name Description Schema

contentid
optional

The content ID of the attachment.

string

filename
optional

The file name of the attachment.

string

id
optional

The ID of the attachment.

string

mimetype
optional

The MIME type of the attachment.

string

size
optional

The size of the attachment in bytes.

integer(int64)

SnippetAttachmentListElement

Name Description Schema

id
optional

The identifier of an attachment.

string

SnippetData

Name Description Schema

accountid
optional

The identifier of the account.

integer

content
optional

Contains the snippet’s content.

string

createdby
optional

The user ID of the creator.

integer

displayname
optional

The display name of the snippet.

string

files
optional

An array of attachments.

< SnippetAttachment > array

id
optional

The ID of the snippet.

string

misc
optional

Contains miscellaneous data as JSON object.

object

module
optional

The module identifier, like "com.openexchange.mail".

string

props
optional

Contains custom properties as JSON object.

object

shared
optional

The shared flag.

boolean

type
optional

The type of the snippet, like "signature".

string

SnippetResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

SnippetData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

SnippetUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

The ID of the new snippet.

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

SnippetsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array of snippet objects.

< SnippetData > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

TaskConfirmation

Name Description Schema

display_name
optional

Display name of external participant.

string

mail
optional

Email address of external participant.

string

message
optional

Confirm message of the participant.

string

status
optional

0 (none), 1 (accepted), 2 (declined), 3 (tentative).

integer

type
optional

Type of participant: 0 (user), 5 (external user).

integer

TaskConfirmationBody

Name Description Schema

confirmation
optional

0 (none), 1 (accepted), 2 (declined), 3 (tentative).

integer

confirmmessage
optional

The confirmation message or comment.

string

TaskData

Name Description Schema

actual_costs
optional

A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.

number(double)

actual_duration
optional

Actual duration of the task, e.g. in minutes.

string

after_complete
optional

Deprecated. Only present in AJAX interface. Value will not be stored on OX server.

integer(int64)

alarm
optional

Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.

integer(int64)

billing_information
optional

Billing information of the task.

string

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

companies
optional

Companies.

string

confirmations
optional

Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.

< TaskConfirmation > array

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

currency
optional

The currency, e.g. "EUR".

string

date_completed
optional

integer(int64)

day_in_month
optional

Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.

integer

days
optional

Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).

integer

end_date
optional

Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).

integer(int64)

end_time
optional

Exclusive end as Date for whole day tasks and as Time for normal tasks.

integer(int64)

folder_id
optional

Object ID of the parent folder.

string

full_time
optional

True if the event is a whole day appointment or task, false otherwise.

boolean

id
optional

Object ID.

string

interval
optional

Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.

integer

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

modified_by
optional

User ID of the user who last modified this object.

string

month
optional

Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.

integer

note
optional

Long description.

string

notification
optional

If true, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.

boolean

number_of_attachments
optional

Number of attachments.

integer

occurrences
optional

Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.

integer

organizer
optional

Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks.

string

organizerId
optional

Contains the userIId of the appointment organizer if it is an internal user. Not implemented for tasks (introduced with 6.20.1).

integer

participants
optional

Each element identifies a participant, user, group or booked resource.

< TaskParticipant > array

percent_completed
optional

How much of the task is completed. An integer number between 0 and 100.

integer

principal
optional

Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks (introduced with 6.20.1).

string

principalId
optional

Contains the userIId of the appointment principal if it is an internal user. Not implemented for tasks (introduced with 6.20.1).

integer

priority
optional

The priority of the task: 1 (low), 2 (medium), 3 (high).

integer

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

recurrence_type
optional

Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly).

integer

sequence
optional

iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set.

integer

start_date
optional

Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).

integer(int64)

start_time
optional

Inclusive start as Date for whole day tasks and Time for normal tasks.

integer(int64)

status
optional

Status of the task: 1 (not started), 2 (in progress), 3 (done), 4 (waiting), 5 (deferred).

integer

target_costs
optional

A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.

number(double)

target_duration
optional

Target duration of the task, e.g. in minutes.

string

title
optional

Short description.

string

trip_meter
optional

The trip meter.

string

uid
optional

Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.

string

until
optional

Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.

integer(int64)

users
optional

Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.

< TaskUser > array

TaskDeletionsResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

An array with object IDs of tasks which were modified after the specified timestamp and were therefore not deleted.

< string > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

TaskListElement

Name Description Schema

folder
required

The object ID of the related folder.

string

id
required

The object ID of the task.

string

TaskParticipant

Name Description Schema

id
optional

User ID.

integer

mail
optional

Mail address of an external participant.

string

type
optional

Type of participant: 1 (user), 2 (user group), 3 (resource), 4 (resource group), 5 (external user)

integer

TaskResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

TaskData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

TaskSearchBody

Name Description Schema

end
optional

Exclusive end date for a time range the tasks should end in. If this parameter is omitted the time range has an open end.

integer(int64)

folder
optional

Defines the folder to search for tasks in. If this is omitted in all task folders will be searched.

string

pattern
required

Search pattern to find tasks. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.

string

start
optional

Inclusive start date for a time range the tasks should end in. If start is omitted end is ignored.

integer(int64)

TaskUpdateData

Name Description Schema

id
optional

ID of a newly created task.

string

TaskUpdateResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

TaskUpdateData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

TaskUpdatesResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of tasks.

< object > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

TaskUser

Name Description Schema

confirm
optional

0 (none), 1 (accepted), 2 (declined), 3 (tentative)

integer

confirmmessage
optional

Confirm message of the participant.

string

display_name
optional

Displayable name of the participant.

string

id
optional

User ID. Confirming for other users only works for appointments and not for tasks.

integer

TasksResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of tasks. Each task is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

TokenLoginResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

jsessionid
optional

string

serverToken
optional

The token generated by the server.

string

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

url
optional

The URL of the redirect to the web UI.

string

user
optional

The username.

string

user_id
optional

The user ID.

integer

TokensData

Name Description Schema

context_id
optional

The context ID.

integer

locale
optional

The users locale (e.g. "en_US").

string

session
optional

The session ID.

string

user
optional

The username.

string

user_id
optional

The user ID.

integer

TokensResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

TokensData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

UserAttribute

Name Description Schema

name
optional

The name of the attribute.

string

value
optional

The value of the attribute.

string

UserAttributeResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

UserAttribute

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

UserAttributionResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Indicates whether the attribute could be set.

boolean

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

UserData

Name Description Schema

addressBusiness
optional

Support for Outlook 'business' address field. (since 6.20.1)

string

addressHome
optional

Support for Outlook 'home' address field. (since 6.20.1)

string

addressOther
optional

Support for Outlook 'other' address field. (since 6.20.1)

string

aliases
optional

The user’s aliases.

< string > array

anniversary
optional

The anniversary.

integer(int64)

assistant_name
optional

The assistant’s name.

string

birthday
optional

The date of birth.

integer(int64)

branches
optional

The branches.

string

business_category
optional

The business category.

string

categories
optional

String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.

string

cellular_telephone1
optional

The cellular telephone number 1.

string

cellular_telephone2
optional

The cellular telephone number 2.

string

city_business
optional

The city of the business address.

string

city_home
optional

The city of the home address.

string

city_other
optional

The city of another address.

string

color_label
optional

Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.

integer

commercial_register
optional

The commercial register.

string

company
optional

The company name.

string

contact_id
optional

The contact ID of the user.

string

country_business
optional

The country of the business address.

string

country_home
optional

The country of the home address.

string

country_other
optional

The country of another address.

string

created_by
optional

User ID of the user who created this object.

string

creation_date
optional

Date and time of creation.

integer(int64)

default_address
optional

The default address.

integer

department
optional

The department.

string

display_name
optional

The display name.

string

distribution_list
optional

If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.

< DistributionListMember > array

email1
optional

The email address 1.

string

email2
optional

The email address 2.

string

email3
optional

The email address 3.

string

employee_type
optional

The type of the employee.

string

fax_business
optional

The business fax number.

string

fax_home
optional

The home fax number.

string

fax_other
optional

The other fax number.

string

file_as
optional

The file name.

string

first_name
optional

The given name.

string

folder_id
optional

Object ID of the parent folder.

string

groups
optional

The IDs of user’s groups.

< integer > array

guest_created_by
optional

The ID of the user who has created this guest in case this user represents a guest user. 0 represents regular users. (preliminary, available since v7.8.0)

integer

id
optional

Object ID.

string

image1
optional

string

image1_content_type
optional

The content type of the image (like "image/png").

string

image1_url
optional

The url to the image.

string

image_last_modified
optional

The last modification of the image.

integer(int64)

info
optional

An information.

string

instant_messenger1
optional

The instant messenger address 1.

string

instant_messenger2
optional

The instant messenger address 2.

string

lastModifiedOfNewestAttachmentUTC
optional

Timestamp of the newest attachment written with UTC time zone.

integer(int64)

last_modified
optional

Date and time of the last modification.

integer(int64)

last_name
optional

The sur name.

string

locale
optional

The name of user’s entire locale, with, language, country and variant separated by underbars (e.g. "en", "de_DE").

string

login_info
optional

The user’s login information.

string

manager_name
optional

The manager’s name.

string

marital_status
optional

The marital status.

string

mark_as_distributionlist
optional

boolean

modified_by
optional

User ID of the user who last modified this object.

string

nickname
optional

The nickname.

string

note
optional

A note.

string

number_of_attachments
optional

Number of attachments.

integer

number_of_children
optional

The number of children.

string

number_of_distribution_list
optional

The number of objects in the distribution list.

integer

number_of_employees
optional

The number of employees.

string

number_of_images
optional

The number of images.

integer

position
optional

The position.

string

postal_code_business
optional

The postal code of the business address.

string

postal_code_home
optional

The postal code of the home address.

string

postal_code_other
optional

The postal code of another address.

string

private_flag
optional

Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects.

boolean

profession
optional

The profession.

string

room_number
optional

The room number.

string

sales_volume
optional

The sales volume.

string

second_name
optional

The middle name.

string

spouse_name
optional

The name of the spouse.

string

state_business
optional

The state of the business address.

string

state_home
optional

The state of the home address.

string

state_other
optional

The state of another address.

string

street_business
optional

The street of the business address.

string

street_home
optional

The street of the home address.

string

street_other
optional

The street of another address.

string

suffix
optional

The suffix.

string

tax_id
optional

The tax id.

string

telephone_assistant
optional

The assistant telephone number.

string

telephone_business1
optional

The business telephone number 1.

string

telephone_business2
optional

The business telephone number 2.

string

telephone_callback
optional

The callback telephone number.

string

telephone_car
optional

The car telephone number.

string

telephone_company
optional

The company telephone number.

string

telephone_home1
optional

The home telephone number 1.

string

telephone_home2
optional

The home telephone number 2.

string

telephone_ip
optional

The IP telephone number.

string

telephone_isdn
optional

The ISDN telephone number.

string

telephone_other
optional

The other telephone number.

string

telephone_pager
optional

The pager telephone number.

string

telephone_primary
optional

The primary telephone number.

string

telephone_radio
optional

The radio telephone number.

string

telephone_telex
optional

The telex telephone number.

string

telephone_ttytdd
optional

The TTY/TDD telephone number.

string

timezone
optional

The time zone.

string

title
optional

The title.

string

uid
optional

Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.

string

url
optional

The url address or homepage.

string

useCount
optional

In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.

integer

user_id
optional

The internal user id.

integer

userfield01
optional

Dynamic Field 1.

string

userfield02
optional

Dynamic Field 2.

string

userfield03
optional

Dynamic Field 3.

string

userfield04
optional

Dynamic Field 4.

string

userfield05
optional

Dynamic Field 5.

string

userfield06
optional

Dynamic Field 6.

string

userfield07
optional

Dynamic Field 7.

string

userfield08
optional

Dynamic Field 8.

string

userfield09
optional

Dynamic Field 9.

string

userfield10
optional

Dynamic Field 10.

string

userfield11
optional

Dynamic Field 11.

string

userfield12
optional

Dynamic Field 12.

string

userfield13
optional

Dynamic Field 13.

string

userfield14
optional

Dynamic Field 14.

string

userfield15
optional

Dynamic Field 15.

string

userfield16
optional

Dynamic Field 16.

string

userfield17
optional

Dynamic Field 17.

string

userfield18
optional

Dynamic Field 18.

string

userfield19
optional

Dynamic Field 19.

string

userfield20
optional

Dynamic Field 20.

string

yomiCompany
optional

Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues. (since 6.20)

string

yomiFirstName
optional

Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20)

string

yomiLastName
optional

Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20)

string

UserResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

UserData

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)

UserSearchBody

Name Description Schema

display_name
optional

Searches users where the display name matches with the given display name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if pattern is specified.

string

emailAutoComplete
optional

If set to true, results are guaranteed to contain at least one email adress and the search is performed by connecting the relevant fields through an OR search habit. This field is ignored if pattern is specified.

boolean

first_name
optional

Searches users where the first name matches with the given first name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if pattern is specified.

string

last_name
optional

Searches users where the last name matches with the given last name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if pattern is specified.

string

orSearch
optional

If set to true, the fields last_name, first_name and display_name are connected through an OR search habit. This field is ignored if pattern is specified.

boolean

pattern
optional

Search pattern to find tasks. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.

string

startletter
optional

Search users with the given startletter. If this field is present, the pattern is matched against the user field which is specified by the property "contact_first_letter_field" on the server (default: last name). Otherwise, the pattern is matched against the display name.

boolean

UsersResponse

Name Description Schema

categories
optional

Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.

string

category
optional

Maintained for legacy reasons: The numeric representation of the first category.

integer

code
optional

Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"

string

data
optional

Array of user. Each user is described as an array itself.

< < object > array > array

error
optional

The translated error message. Present in case of errors.

string

error_desc
optional

The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.

string

error_id
optional

Unique error identifier to help finding this error instance in the server logs.

string

error_params
optional

As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style).

< string > array

error_stack
optional

If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in "server.properties") this field provides the stack trace of associated Java exception represented as a JSON array.

< string > array

timestamp
optional

The latest timestamp of the returned data (see Updates).

integer(int64)