- About Veeam Backup for Microsoft 365 REST API
- Overview
- Changelog
- Authorization
- Accounts
- Amazon Archiver Appliance
- Amazon S3 Object Storage Buckets and Folders
- Applications
- Audit
- Audit Email Notification Settings
- Azure Blob Object Storage Containers and Folders
- Azure Service Accounts
- getGet Azure Service Accounts
- postAdd Azure Service Account
- getGet Azure Service Account Properties by Account ID
- putEdit Azure Service Account
- delRemove Azure Service Account
- postGet Device Code
- getGet Subscriptions
- getGet Subscription by ID
- getGet Resource Groups
- getGet Resource Group by Name
- getGet Locations
- getGet Location by Name
- getGet Virtual Machine Sizes
- getGet Virtual Machine Size by Name
- getGet Virtual Networks
- getGet Virtual Network by Name
- getGet Subnets
- getGet Subnet by Name
- Backup Accounts
- Backup and Backup Copy Job Session Operations
- Backup and Backup Copy Job Sessions
- Backup Applications
- Backup Copy Jobs
- Backup Jobs
- getGet Backup Jobs
- postCreate Backup Job
- getGet Backup Job
- putEdit Backup Job Settings
- delRemove Backup Job
- getGet Backup Copy Job
- getGet Backup Job Items
- postAdd Items to Backup Job
- delRemove Backup Job Items
- getGet Backup Job Item
- putEdit Backup Job Item
- getGet Excluded Items
- postAdd Items to Exclusions
- delRemove Excluded Items
- getGet Excluded Item
- putEdit Excluded Item
- postEnable Backup Job
- postDisable Backup Job
- postStart Backup Job
- postStop Backup Job
- postCreate Restore Session
- Backup Proxy Pools
- Backup Proxy Servers
- getGet Backup Proxy Servers
- postAdd Backup Proxy Server
- getGet Backup Proxy Server
- putEdit Backup Proxy Server Settings
- postRescan Backup Proxy Server
- postEnable Maintenance Mode for Backup Proxy Server
- postDisable Maintenance Mode for Backup Proxy Server
- postRemove Backup Proxy Server
- postRescan Backup Proxy Servers
- postCheck SSH Connection
- Backup Repositories
- getGet Backup Repositories
- postAdd Backup Repository
- getGet Backup Repository
- putEdit Backup Repository Settings
- delRemove Backup Repository
- getGet Backed-Up Organizations
- postSynchronize Cache
- postCreate Restore Session for Backup Repository by Repository ID
- postChange Owner for Backup Repository by Repository ID
- Backup Repository Change Owner Sessions
- Backup Repository Synchronization
- Configuration
- Data Protection Reports
- Data Retrieval Jobs
- Data Retrieval Session Operations
- Data Retrieval Sessions
- Encryption Passwords
- Events
- Excluded Mailbox Folders
- Global Exclusions from Retention Policy
- Group Data Backups
- Health
- Internet Proxy Server Settings
- Job Session History Settings
- License
- License Usage Report
- Licensed Users
- Mailbox Data Backups
- Mailbox Folders Restore
- Mailbox Items Restore
- getGet Mailbox Item
- getGet Mailbox Items
- postRestore Mailbox Items to Original Mailbox
- postRestore Mailbox Items to Another Mailbox
- postExport Mailbox Items
- postSave Mailbox Items
- postSend Mailbox Items to Original Mailbox
- postSend Mailbox Items to Another Mailbox
- postRestore Mailbox Item to Original Mailbox
- postRestore Mailbox Item to Another Mailbox
- postExport Mailbox Item
- postSave Mailbox Item
- postSend Mailbox Item to Original Mailbox
- postSend Mailbox Item to Another Mailbox
- postRestore Mailbox Items by Restore Operator
- Mailboxes Restore
- Management Mode
- OneDrive Data Backups
- OneDrive Documents Restore
- getGet OneDrive Documents
- getGet OneDrive Document
- getGet Previous Versions of OneDrive Document
- getGet Specific Version of OneDrive Document
- postRestore OneDrive Documents
- postCopy OneDrive Documents
- postSend OneDrive Documents
- postSave OneDrive Documents
- postRestore OneDrive Document
- postRestore Version of OneDrive Document
- postCopy OneDrive Document
- postCopy Version of OneDrive Document
- postSave OneDrive Document
- postSave Version of OneDrive Document
- postSend OneDrive Document
- postSend Version of OneDrive Document
- postRestore OneDrive Documents by Restore Operator
- OneDrive Folders Restore
- getGet OneDrive Folders
- getGet OneDrive Folder
- postRestore OneDrive Folders
- getGet Specific Version of OneDrive Folder
- postCopy OneDrive Folders
- postSave OneDrive Folders
- postSend OneDrive Folders
- getGet Previous Versions of OneDrive Folder
- postRestore OneDrive Folder
- postRestore Version of OneDrive Folder
- postCopy OneDrive Folder
- postCopy Version of OneDrive Folder
- postSave OneDrive Folder
- postSave Version of OneDrive Folder
- postSend OneDrive Folder
- postSend Version of OneDrive Folder
- postSearch for OneDrive Items in OneDrive Folder
- OneDrives of Organization User
- OneDrives Restore
- Organization Data Backups
- Organization Data Restore
- Organization Exclusions from Retention Policy
- Organization Group Members
- Organization Groups
- Organization Licensing
- Organization Sites
- Organization Teams
- Organization Users
- Organizations
- Processed Objects
- Protected Data
- Restore Operator Roles
- getGet All Restore Operator Roles
- getGet Restore Operator Role
- putEdit Restore Operator Role Settings
- delRemove Restore Operator Role
- getGet Restore Operators
- postAdd Restore Operators
- delRemove Restore Operators
- getGet Restore Operator
- getGet Objects to Manage
- postAdd Objects to Manage
- delRemove Objects to Manage
- getGet Object to Manage
- getGet Excluded Objects
- postAdd Excluded Objects
- delRemove Excluded Objects
- getGet Excluded Object
- getGet Restore Operator Roles by Organization ID
- postAdd Restore Operator Role
- Restore Points
- Restore Portal Settings
- Restore Session Events
- Restore Sessions
- S3 Compatible Object Storage Buckets and Folders
- SharePoint Attachments Restore
- SharePoint Data Backups
- SharePoint Documents Restore
- getGet SharePoint Documents
- getGet SharePoint Document
- getGet Specific Version of SharePoint Document
- getGet Previous Versions of SharePoint Document
- postRestore SharePoint Documents to Original Location
- postRestore SharePoint Documents to Another Location
- postRestore Version of SharePoint Document to Original Location
- postRestore Version of SharePoint Document to Another Location
- postRestore SharePoint Document to Original Location
- postRestore SharePoint Document to Another Location
- postSave SharePoint Documents
- postSave Version of SharePoint Document
- postSave SharePoint Document
- postSend SharePoint Documents
- postSend Version of SharePoint Document
- postSend SharePoint Document
- postRestore SharePoint Documents by Restore Operator
- SharePoint Folders Restore
- getGet SharePoint Folders
- getGet SharePoint Folder
- getGet Specific Version of SharePoint Folder
- getGet Previous Versions of SharePoint Folder
- postRestore SharePoint Folders to Original Location
- postRestore SharePoint Folders to Another Location
- postRestore SharePoint Folder to Original Location
- postRestore SharePoint Folder to Another Location
- postRestore Version of SharePoint Folder to Original Location
- postRestore Version of SharePoint Folder to Another Location
- postSave SharePoint Folders
- postSave SharePoint Folder
- postSave Version of SharePoint Folder
- postSend SharePoint Folders
- postSend SharePoint Folder
- postSend Version of SharePoint Folder
- postSearch for SharePoint Documents in SharePoint Folder
- SharePoint Items Restore
- getGet SharePoint Items
- getGet SharePoint Item
- getGet Specific Version of SharePoint Item
- getGet Previous Versions of SharePoint Item
- postRestore SharePoint Items to Original Location
- postRestore SharePoint Items to Another Location
- postRestore SharePoint Item to Original Location
- postRestore Version of SharePoint Item to Original Location
- postRestore SharePoint Item to Another Location
- postRestore Version of SharePoint Item to Another Location
- postRestore SharePoint Items by Restore Operator
- SharePoint Libraries Restore
- SharePoint Lists Restore
- SharePoint Sites Restore
- Synchronization of Organization Objects
- Team Data Backups
- Teams Channels Restore
- Teams Files Restore
- Teams Posts Restore
- Teams Restore
- Teams Tabs Restore
- User Data Backups
- Users Logged In to Restore Portal
- Veeam Backup for Microsoft 365 Email Notification Settings
- Veeam Explorer for Microsoft Exchange Email Settings
- Veeam Explorer for Microsoft OneDrive for Business Email Settings
- Veeam Explorer for Microsoft SharePoint Email Settings
- Veeam Explorer for Microsoft Teams Email Settings
- Version and Installation ID
The /RestoreSessions/{restoreSessionId}/organization/mailboxes/{mailboxId}/items resource collection represents organization mailbox items to explore and restore and allows you to manage backed-up mailbox items.
Get Mailbox Item
Returns a resource representation of a backed-up mailbox item with the specified ID.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "mailboxId": "f16f762c-c61b-441d-8b9c-9aff4650cbe1",
- "attachments": [
- {
- "name": "string",
- "sizeBytes": 0
}
], - "organizer": "string",
- "attendees": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "location": "string",
- "subject": "string",
- "recurrencePatternFormat": "string",
- "recurring": true,
- "itemClass": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "_actions": {
- "property1": {
- "uri": "string",
- "method": "string"
}, - "property2": {
- "uri": "string",
- "method": "string"
}
}, - "id": "string",
- "name": "string",
- "address": "string",
- "businessPhone": "string",
- "company": "string",
- "displayAs": "string",
- "email": "string",
- "fax": "string",
- "fileAs": "string",
- "fullName": "string",
- "homePhone": "string",
- "imAddress": "string",
- "jobTitle": "string",
- "mobile": "string",
- "webPage": "string",
- "from": "string",
- "postedOn": "2019-08-24T14:15:22Z",
- "importance": "Low",
- "cc": "string",
- "bcc": "string",
- "to": "string",
- "sent": "2019-08-24T14:15:22Z",
- "received": "2019-08-24T14:15:22Z",
- "reminder": true,
- "duration": 0,
- "entryType": "string",
- "date": "2019-08-24T14:15:22Z",
- "status": "NotStarted",
- "percentComplete": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "owner": "string"
}Get Mailbox Items
Returns a collection of organization mailbox items to explore and restore.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
query Parameters
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| parentId | string Specifies what information the server will return in the resource representation. The following values are available:
|
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "mailboxId": "f16f762c-c61b-441d-8b9c-9aff4650cbe1",
- "attachments": [
- {
- "name": "string",
- "sizeBytes": 0
}
], - "organizer": "string",
- "attendees": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "location": "string",
- "subject": "string",
- "recurrencePatternFormat": "string",
- "recurring": true,
- "itemClass": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "_actions": {
- "property1": {
- "uri": "string",
- "method": "string"
}, - "property2": {
- "uri": "string",
- "method": "string"
}
}, - "id": "string",
- "name": "string",
- "address": "string",
- "businessPhone": "string",
- "company": "string",
- "displayAs": "string",
- "email": "string",
- "fax": "string",
- "fileAs": "string",
- "fullName": "string",
- "homePhone": "string",
- "imAddress": "string",
- "jobTitle": "string",
- "mobile": "string",
- "webPage": "string",
- "from": "string",
- "postedOn": "2019-08-24T14:15:22Z",
- "importance": "Low",
- "cc": "string",
- "bcc": "string",
- "to": "string",
- "sent": "2019-08-24T14:15:22Z",
- "received": "2019-08-24T14:15:22Z",
- "reminder": true,
- "duration": 0,
- "entryType": "string",
- "date": "2019-08-24T14:15:22Z",
- "status": "NotStarted",
- "percentComplete": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "owner": "string"
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Restore Mailbox Items to Original Mailbox
Restores backed-up items to the original mailbox.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
| userName | string Specifies the user name that you want to use for authenticating to the Exchange organization. |
| userPassword | string <password> (SecureString) Specifies a password. |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. This property is required if you want to use a device code for data restore. |
| applicationId | string or null <uuid> Specifies the ID of the Microsoft Entra application that you want to use for restore. |
| applicationCertificatePassword | string <password> (SecureString) Specifies a password. |
| applicationCertificate | string Specifies the SSL certificate configured for the Microsoft Entra application that you want to use for data restore. You must provide the certificate as a Base64 string. |
| impersonationAccountName | string Specifies a user name of the account that will be used as a Microsoft Exchange account to restore backed-up mailbox items. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to restore. For more information on how to get such IDs, see Get Mailbox Items. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "userName": "string",
- "userPassword": "pa$$word",
- "userCode": "string",
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificate": "string",
- "impersonationAccountName": "string",
- "items": [
- {
- "id": "string"
}
]
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}Restore Mailbox Items to Another Mailbox
Restores backed-up items to another mailbox.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
| changedItems | boolean or null Defines whether all versions of mailbox items will be restored. |
| deletedItems | boolean or null Defines whether the deleted mailbox items will be restored. |
| markRestoredAsUnread | boolean or null Defines whether the restored mailbox items will be marked as unread. |
| excludeDrafts | boolean or null Defines whether the Drafts mailbox folder will not be restored. |
| excludeDeletedItems | boolean or null Defines whether the Deleted Items mailbox folder will not be restored. |
| excludeInPlaceHoldItems | boolean or null Defines whether the preserved items of mailboxes placed on In-Place Hold will not be restored. |
| excludeLitigationHoldItems | boolean or null Defines whether the preserved items of mailboxes placed on Litigation Hold will not be restored. |
| mailbox | string Specifies the email address of the mailbox to which you want to restore mailbox items. |
| casServer | string Specifies the Microsoft Exchange server with Client Access Server (CAS) role. The mailbox items will be restored to a specified mailbox server. |
| folder | string Specifies the folder to which you want to restore mailbox items. |
| officeRegion | string or null Specifies the region of the target Exchange organization. |
| officeOrganizationName | string Specifies the name of the target Exchange organization. |
| userName | string Specifies the user name that you want to use for authenticating to the Exchange organization. |
| userPassword | string <password> (SecureString) Specifies a password. |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. This property is required if you want to use a device code for data restore. |
| applicationId | string or null <uuid> Specifies the ID of the Microsoft Entra application that you want to use for restore. |
| applicationCertificatePassword | string <password> (SecureString) Specifies a password. |
| applicationCertificate | string Specifies the SSL certificate configured for the Microsoft Entra application that you want to use for data restore. You must provide the certificate as a Base64 string. |
| impersonationAccountName | string Specifies a user name of the account that will be used as a Microsoft Exchange account to restore backed-up mailbox items. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to restore. For more information on how to get such IDs, see Get Mailbox Items. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "changedItems": true,
- "deletedItems": true,
- "markRestoredAsUnread": true,
- "excludeDrafts": true,
- "excludeDeletedItems": true,
- "excludeInPlaceHoldItems": true,
- "excludeLitigationHoldItems": true,
- "mailbox": "string",
- "casServer": "string",
- "folder": "string",
- "officeRegion": "Worldwide",
- "officeOrganizationName": "string",
- "userName": "string",
- "userPassword": "pa$$word",
- "userCode": "string",
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificate": "string",
- "impersonationAccountName": "string",
- "items": [
- {
- "id": "string"
}
]
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}Export Mailbox Items
Exports backed-up items to a PST file.
If the size of the exported data exceeds the limit specified for the PST file, Veeam Backup for Microsoft 365 splits the PST file into separate files and exports these files to an archive file of the ZIP format. For example, you specified 1 GB as the PST file size limit. The size of the exported data is 1.5 GB. In this case, Veeam Backup for Microsoft 365 will export data to a ZIP archive. The archive will contain two PST files: one PST file of the 1 GB size and another PST file of the 0.5 GB size.
If downloading of the octet-stream was interrupted for some reason, you can send the request again and download the file from the temporary folder.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to export. For more information on how to get such IDs, see Get Mailbox Items. | |
| enablePstSizeLimit | boolean or null Defines whether to set the size limit for the exported PST file. If set to true, indicates that you must specify the |
| pstSizeLimitBytes | integer or null <int64> Specifies the limit of the exported PST file in Bytes. You can specify the limit range from 1 GB to 49 GB. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "items": [
- {
- "id": "string"
}
], - "enablePstSizeLimit": true,
- "pstSizeLimitBytes": 0
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Save Mailbox Items
Saves backed-up items to MSG files (Outlook Message Files).
When you save backed-up items, the request command saves the items to MSG files and transfers them to application/octet-stream media.
If downloading of the octet-stream was interrupted for some reason, you can send the request again and download files from the temporary folder.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to save. For more information on how to get such IDs, see Get Mailbox Items. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "items": [
- {
- "id": "string"
}
]
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Send Mailbox Items to Original Mailbox
Sends backed-up items as attachments in an email message to the original mailbox.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to send. For more information on how to get such IDs, see Get Mailbox Items. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "items": [
- {
- "id": "string"
}
]
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Send Mailbox Items to Another Mailbox
Sends backed-up items as attachments in an email message to a specified email address.
from property, the default from email address specified in Veeam Explorer for Microsoft Exchange email settings will be used. For more information, see Edit Email Settings. path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to send. For more information on how to get such IDs, see Get Mailbox Items. | |
| from | string Specifies the email address from which the attachments will be sent. |
| to | string Specifies the email address to which the attachments will be sent. |
| subject | string Specifies the subject of the email message used for sending the attachments. |
| text | string Specifies the body of the email message used for sending the attachments. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "items": [
- {
- "id": "string"
}
], - "from": "string",
- "to": "string",
- "subject": "string",
- "text": "string"
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Restore Mailbox Item to Original Mailbox
Restores a backed-up item with the specified ID to the original mailbox.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
Request Body schema: application/jsonrequired
| userName | string Specifies the user name that you want to use for authenticating to the Exchange organization. |
| userPassword | string <password> (SecureString) Specifies a password. |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. This property is required if you want to use a device code for data restore. |
| applicationId | string or null <uuid> Specifies the ID of the Microsoft Entra application that you want to use for restore. |
| applicationCertificatePassword | string <password> (SecureString) Specifies a password. |
| applicationCertificate | string Specifies the SSL certificate configured for the Microsoft Entra application that you want to use for data restore. You must provide the certificate as a Base64 string. |
| impersonationAccountName | string Specifies a user name of the account that will be used as a Microsoft Exchange account to restore data. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "userName": "string",
- "userPassword": "pa$$word",
- "userCode": "string",
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificate": "string",
- "impersonationAccountName": "string"
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}Restore Mailbox Item to Another Mailbox
Restores a backed-up item with the specified ID to another mailbox.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
Request Body schema: application/jsonrequired
| changedItems | boolean or null Defines whether all versions of mailbox items will be restored. |
| deletedItems | boolean or null Defines whether the deleted mailbox items will be restored. |
| markRestoredAsUnread | boolean or null Defines whether the restored mailbox data will be marked as unread. |
| excludeDrafts | boolean or null Defines whether the Drafts mailbox folder will not be restored. |
| excludeDeletedItems | boolean or null Defines whether the Deleted Items mailbox folder will not be restored. |
| excludeInPlaceHoldItems | boolean or null Defines whether the preserved items placed on In-Place Hold will not be restored. |
| excludeLitigationHoldItems | boolean or null Defines whether the preserved items placed on Litigation Hold will not be restored. |
| mailbox | string Specifies the email address of the mailbox to which you want to restore data. |
| casServer | string Specifies the Microsoft Exchange server with Client Access Server (CAS) role. Data will be restored to a specified mailbox server. |
| folder | string Specifies the mailbox folder to which you want to restore data. |
| officeRegion | string or null Specifies the region of the target Exchange organization. |
| officeOrganizationName | string Specifies the name of the target Exchange organization. |
| userName | string Specifies the user name that you want to use for authenticating to the Exchange organization. |
| userPassword | string <password> (SecureString) Specifies a password. |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. This property is required if you want to use a device code for data restore. |
| applicationId | string or null <uuid> Specifies the ID of the Microsoft Entra application that you want to use for restore. |
| applicationCertificatePassword | string <password> (SecureString) Specifies a password. |
| applicationCertificate | string Specifies the SSL certificate configured for the Microsoft Entra application that you want to use for data restore. You must provide the certificate as a Base64 string. |
| impersonationAccountName | string Specifies a user name of the account that will be used as a Microsoft Exchange account to restore data. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "changedItems": true,
- "deletedItems": true,
- "markRestoredAsUnread": true,
- "excludeDrafts": true,
- "excludeDeletedItems": true,
- "excludeInPlaceHoldItems": true,
- "excludeLitigationHoldItems": true,
- "mailbox": "string",
- "casServer": "string",
- "folder": "string",
- "officeRegion": "Worldwide",
- "officeOrganizationName": "string",
- "userName": "string",
- "userPassword": "pa$$word",
- "userCode": "string",
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificate": "string",
- "impersonationAccountName": "string"
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}Export Mailbox Item
Exports a backed-up item with the specified ID to a PST file.
If downloading of the octet-stream was interrupted for some reason, you can send the request again and download the file from the temporary folder.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
Request Body schema: application/jsonrequired
| enablePstSizeLimit | boolean or null Defines whether to set the size limit for the exported PST file. If set to true, indicates that you must specify the |
| pstSizeLimitBytes | integer or null <int64> Specifies the limit of the exported PST file in Bytes. You can specify the limit range from 1 GB to 49 GB. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "enablePstSizeLimit": true,
- "pstSizeLimitBytes": 0
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Save Mailbox Item
Saves a backed-up item with the specified ID to a file in the MSG format (Outlook Message File).
When you save a backed-up item, the request command saves the item to a file in the MSG format and transfers it to application/octet-stream media.
If downloading of the octet-stream was interrupted for some reason, you can send the request again and download the file from the temporary folder.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Send Mailbox Item to Original Mailbox
Sends a backed-up item with the specified ID as an attachment in an email message to the original mailbox.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Send Mailbox Item to Another Mailbox
Sends a backed-up mailbox item with the specified ID as an attachment in an email message to a specified email address.
from property, the default from email address specified in Veeam Explorer for Microsoft Exchange email settings will be used. For more information, see Edit Email Settings. path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
| itemId required | string Specifies the identification number of the mailbox item. For more information on how to get this parameter, see Get Mailbox Items. |
Request Body schema: application/jsonrequired
| from | string Specifies the email address from which the attachments will be sent. |
| to | string Specifies the email address to which the attachments will be sent. |
| subject | string Specifies the subject of the email message used for sending the attachments. |
| text | string Specifies the body of the email message used for sending the attachments. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "from": "string",
- "to": "string",
- "subject": "string",
- "text": "string"
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Restore Mailbox Items by Restore Operator
Restores backed-up mailbox items using Restore Portal. For more information about Restore Portal, see the Data Restore Using Restore Portal section of the Veeam Backup for Microsoft 365 User Guide.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| mailboxId required | string <uuid> Specifies the identification number of the mailbox. For more information on how to get this parameter, see Get Mailboxes. |
Request Body schema: application/jsonrequired
| changedItems | boolean Defines whether all versions of mailbox items will be restored. |
| deletedItems | boolean Defines whether the deleted mailbox items will be restored. |
| markRestoredAsUnread | boolean Defines whether the restored mailbox items will be marked as unread. |
| folder | string Specifies the folder to which you want to restore mailbox items. |
Array of objects (RESTExchangeItemStringId) Specifies IDs of the mailbox items that you want to restore. For more information on how to get such IDs, see Get Mailbox Items. | |
| reason | string Specifies a reason for the restore operation. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "changedItems": true,
- "deletedItems": true,
- "markRestoredAsUnread": true,
- "folder": "string",
- "items": [
- {
- "id": "string"
}
], - "reason": "string"
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}