Veeam Backup for Microsoft Office 365 4.0
RESTful API Reference
Related documents

Exporting Data to PST

This section explains how to export backup items to a .pst file.


POST https://<hostname>:4443/v4/RestoreSessions/{restoreSessionId}/Organization/Action

Request Headers

The request header must contain an authorization token of the current session.

Request Body

Export to PST

Exporting Data to PST Important!

To export data to .pst files, you must have a 64-bit version of Microsoft Outlook 2016, Microsoft Outlook 2013 or Microsoft Outlook 2010 installed on a computer running restore sessions.

To export data, the request body must contain the exporttoPst action property:






Specifies the keyword to query backed up data.

For example:



 {"contentKeywords": "support"



The request command will look for a specified keyword in Exchange organization's data. The backed up data with a specified keyword then will be exported to a PST file and placed to a temporary folder on the Veeam Backup for Microsoft Office 365 server. After that, the PST file will be transferred as application/octet-stream media to the client. To download, read, convert to PST or perform other actions with the octet-stream, use features of programming languages.

Exporting Data to PST Tip:

You can use Swagger UI to download the octet-stream file by clicking the Download action link, which server returns in the response body after a successfully completed export operation.


The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 200 (OK).

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTPS headers.




The length of the response body.


The media type and syntax of the response body message: application/json; charset=utf-8

Response Body



The following request exports the Exchange organization's data with "support" keyword to a PST file.




Request Header:

Authorization: Bearer <Access-Token>


Request Body:





   "сontentKeywords": "support"





200 OK

This Document Help Center
User GuideRESTful API ReferencePowerShell ReferenceVeeam Explorers User GuideVeeam Explorers PowerShell Reference
I want to report a typo

There is a misspelling right here:


I want to let the Veeam Documentation Team know about that.