- About Veeam Backup & Replication REST API
- Overview
- How To
- Mass Deployment
- Object Storage Repositories
- External Repositories
- Storage Integration
- VMware vSphere Support
- Microsoft Hyper-V Support
- Red Hat OpenStack and Virtuozzo Support
- Continuous Data Protection
- Microsoft Entra ID Support
- Microsoft Active Directory Forest Support
- Unstructured Data Support
- Veeam Agent Management
- Application Backup Policies
- File Restore
- Bare Metal Recovery and Volume Restore
- Instant Recovery to Microsoft Azure
- Malware Detection
- Resource Tags
- Changelog
- Global Changes
- New Features
- Application Authorization
- Resource Tags
- Continuous Data Protection
- Application Backup Policies
- Storage Integration
- Red Hat OpenStack and Virtuozzo
- Microsoft Active Directory Forest Protection
- External Repositories
- Veeam Agent for Mac and Veeam Agent for IBM AIX and Oracle Solaris
- Bare Metal Recovery and Volume Restore
- Users and Roles
- Security Events
- Hypervisor Plug-ins
- Oracle Cloud Infrastructure
- VMware Cloud Foundation Automation
- New Repository Types
- File Restore
- Microsoft Entra ID
- Backup Move and Copy
- Job Operations
- Agent Management
- Inventory Browser
- Microsoft Azure Helper Appliances
- DataAI Command Platform Events
- Connection
- Replicas
- Scale-Out Backup Repositories
- Central Management Certificate
- Deprecated Requests
- Minor Non-Breaking Changes
- Breaking Changes
- Login
- Users and Roles
- getGet All Users and Groups
- postAdd User or Group
- getGet User or Group
- delRemove User or Group
- getGet Roles Assigned to User or Group
- putEdit Roles Assigned to User or Group
- postChange Service Account Mode
- postReset MFA for Specific User
- getGet All Roles
- postCreate Custom Role
- getGet Role
- putEdit Custom Role
- delDelete Custom Role
- getGet Role Permissions
- getGet Custom Role Details
- postClone Custom Role
- getGet MFA Settings
- putEdit MFA Settings
- getGet All Restore Options
- getGet All Backup Options
- Applications
- ACL
- Security
- postStart Security & Compliance Analyzer
- getGet Security & Compliance Analyzer Last Run
- getGet Security & Compliance Analyzer Schedule
- putModify Security & Compliance Analyzer Schedule
- postReset All Security & Compliance Analyzer Statuses
- getGet Security & Compliance Analyzer Results
- postSuppress Security & Compliance Analyzer Best Practice Status
- postReset Security & Compliance Analyzer Status
- getGet All Authorization Events
- getGet Authorization Event
- getGet All Approval Events
- getGet Approval Event
- getGet All Software Appliance Events
- getGet Software Appliance Event
- Service
- Services
- DataAI Command Platform
- License
- postInstall License
- getGet Installed License
- postRemove License
- postCreate License Usage Report
- postRenew Installed License
- getGet Consumption of Socket Licenses
- postRevoke Socket License
- getGet Instance Licenses Consumption
- postAssign Instance License
- postRevoke Instance License
- postRemove Instance License
- getGet Capacity License Consumption
- postRevoke Capacity License from Unstructured Data Workload
- postUpdate License
- postEnable or Disable License Auto Update
- postEnable or Disable Instance Consumption for Unlicensed Agents
- Resource Tags
- getGet All Tag Definitions
- postCreate Tag Definition
- getGet Tag Definition
- putEdit Tag Definition
- delDelete Tag Definition
- getGet Tag Values by Key
- postCreate Tag Value
- getGet Tag Value
- putRename Tag Value
- delDelete Tag Value
- postGet Tag Assignments by Query
- getGet Job Tags
- postAssign Job Tags
- putReplace Job Tags
- postRemove Job Tags
- getGet Protection Group Tags
- postAssign Protection Group Tags
- putReplace Protection Group Tags
- postRemove Protection Group Tags
- getGet Credentials Record Tags
- postAssign Credentials Record Tags
- putReplace Credentials Record Tags
- postRemove Credentials Record Tags
- getGet Encryption Password Tags
- postAssign Encryption Password Tags
- putReplace Encryption Password Tags
- postRemove Encryption Password Tags
- getGet KMS Server Tags
- postAssign KMS Server Tags
- putReplace KMS Server Tags
- postRemove KMS Server Tags
- getGet Backup Tags
- postAssign Backup Tags
- putReplace Backup Tags
- postRemove Backup Tags
- getGet Replica Tags
- postAssign Replica Tags
- putReplace Replica Tags
- postRemove Replica Tags
- getGet Backup Repository Tags
- postAssign Backup Repository Tags
- putReplace Backup Repository Tags
- postRemove Backup Repository Tags
- getGet Scale-Out Backup Repository Tags
- postAssign Scale-Out Backup Repository Tags
- putReplace Scale-Out Backup Repository Tags
- postRemove Scale-Out Backup Repository Tags
- getGet Managed Server Tags
- postAssign Managed Server Tags
- putReplace Managed Server Tags
- postRemove Managed Server Tags
- getGet Role Tags
- postAssign Role Tags
- putReplace Role Tags
- postRemove Role Tags
- getGet Unstructured Data Server Tags
- postAssign Unstructured Data Server Tags
- putReplace Unstructured Data Server Tags
- postRemove Unstructured Data Server Tags
- postGet Inventory Object Tags
- getGet Inventory Tag Assignments
- postAssign Inventory Object Tags
- putReplace Inventory Object Tags
- postRemove Inventory Object Tags
- Traffic Rules
- General Options
- getGet General Options
- putEdit General Options
- getGet Email Settings
- putEdit Email Settings
- postSend Test Email
- postCheck SMTP Server Certificate
- getGet Host Authentication Settings
- putEdit Host Authentication Settings
- postExport Trusted Hosts List to a File
- postImport Trusted Hosts List from a File
- getGet Notification Settings
- putEdit Notification Settings
- getGet Event Forwarding Settings
- putEdit Event Forwarding Settings
- getGet Storage Latency Settings
- putEdit Storage Latency Settings
- postAdd Latency Settings for Specific Datastore
- getGet Latency Settings for Specific Datastore
- putEdit Latency Settings for Specific Datastore
- delRemove Latency Settings for Specific Datastore
- getGet VSA Event Forwarding Settings
- putEdit VSA Event Forwarding Settings
- getGet Daemon Settings for VSA Event Forwarding
- putEdit Daemon Settings for VSA Event Forwarding
- getGet Node Exporter Settings
- putUpdate Node Exporter Settings
- postSet Node Exporter Basic Authentication
- Global Exclusions
- Configuration Backup
- Deployment
- Connection
- High Availability (HA) Cluster
- Log export
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Microsoft Entra ID Verification Code
- postRegister Microsoft Entra ID Application
- getGet Microsoft Entra ID Tenants Available for App Registration
- postCheck Microsoft Entra ID Tenant Sign-In Requirements
- postGet Google Authentication Information
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postValidate Oracle Cloud Infrastructure Account Credentials
- getGet Available Oracle Cloud Infrastructure Regions
- postValidate New Credentials of Oracle Cloud Infrastructure Account
- postChange Secret Key
- postChange Google Service Account
- postChange Certificate
- getGet All Helper Appliances
- postAdd Helper Appliance
- getGet Helper Appliance
- putEdit Helper Appliance
- delRemove Helper Appliance
- postRemove Helper Appliances
- Encryption
- getGet All Encryption Passwords
- postAdd Encryption Password
- getGet Encryption Password
- putEdit Encryption Password Hint
- delRemove Encryption Password
- postChange Encryption Password
- postVerify Encryption Password
- getGet All KMS Servers
- postAdd KMS Server
- getGet KMS Server
- putEdit KMS Server
- delRemove KMS Server
- postChange KMS Server Certificate
- Credentials
- Malware Detection
- getGet All Malware Events
- postCreate Malware Event
- getGet Malware Event
- getGet All Malware Detection Settings
- putEdit Malware Detection Settings
- getGet Malware Suspicious File Masks Settings
- putEdit Malware Suspicious File Masks Settings
- getGet Malware Allowed Trusted Extensions
- getGet Malware File Detection Indicators of Compromise
- postEnable Monitoring of Indicators of Compromise
- postDisable Monitoring of Indicators of Compromise
- getGet Logs for SureBackup Scan Task Session
- postMark Backup Objects as Clean
- getGet All Malware Detection Objects
- getGet Malware Detection Object
- getGet All Malware Detection Exclusions
- postCreate or Update Malware Detection Exclusions
- postDelete Malware Detection Exclusions
- getGet YARA Rules
- postScan Backups with Antivirus or YARA Rules
- postStart Malware Encryption Analysis
- getDownload Malware Encryption Analysis Logs
- Malware Detection
- Cloud Browser
- Inventory Browser
- getGet All VMware vSphere Servers
- getGet VMware vSphere Server Objects
- postRescan Inventory Objects
- postGet All Servers
- postGet Inventory Objects
- postGet Inventory Object Details
- postGet All Protection Groups
- postGet All Physical Inventory
- postGet All Virtual Inventory
- postGet Inventory Objects for Specific Protection Group
- getGet All Unstructured Data Servers
- postAdd Unstructured Data Servers
- getGet Unstructured Data Server Defaults
- getGet Unstructured Data Server
- putEdit Unstructured Data Server
- delRemove Unstructured Data Server
- postStart Browsing Unstructured Data Server
- postBrowse Unstructured Data Server
- postStop Browsing Unstructured Data Server
- getGet All Unstructured Data Server Inventory Browse Sessions
- getGet Unstructured Data Server Inventory Browse Session
- getGet All Microsoft Entra ID Tenants
- postAdd Microsoft Entra ID Tenant
- getGet Microsoft Entra ID Tenant
- putEdit Microsoft Entra ID Tenant
- delRemove Microsoft Entra ID Tenant
- postDiscover Microsoft Active Directory Forest
- postGet Microsoft Active Directory Domain Controller Certificate
- postDiscover Microsoft Active Directory Forest Backup Jobs
- getGet All Microsoft Active Directory Forests
- postAdd Microsoft Active Directory Forest
- getGet States of All Microsoft Active Directory Forests
- getGet Microsoft Active Directory Forest
- delRemove Microsoft Active Directory Forest
- putEdit Microsoft Active Directory Forest
- getGet Microsoft Active Directory Forest Protecting Jobs
- postEnable Microsoft Active Directory Forest Rescan Schedule
- postDisable Microsoft Active Directory Forest Rescan Schedule
- postRescan Microsoft Active Directory Forest
- getGet Active Directory Objects from Domain
- getGet Available Disk Slots for Platform
- postConstruct VMware vSphere Tag Combination (Multitag)
- Managed Servers
- getGet All Servers
- postAdd Server
- postGet vCenter Servers Attached to Cloud Director Server
- postGet Microsoft Hyper-V Servers Managed by Microsoft Hyper-V Cluster or SCVMM Server
- getGet Server
- putEdit Server
- delRemove Server
- getGet CDP I/O Filter Status for Clusters
- postManage CDP I/O Filters on Clusters
- postChange to Single-Use Credentials
- getGet Volumes for Microsoft Hyper-V Standalone Server
- putEdit Volumes on Microsoft Hyper-V Standalone Server
- postRescan All Managed Servers
- postRescan Managed Server
- getDefault Set of Optional Managed Server Components
- postUpdate Managed Server Components
- postGet vCenter Servers Managed by VCF Automation Server
- Repositories
- getGet All Repositories
- postAdd Repository
- postRescan Repositories
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet Repository Access Permissions
- putEdit Repository Access Permissions
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- postEvacuate Backups
- External Repositories
- Application Backup Repositories
- Mount Servers
- Proxies
- WAN Accelerators
- Helper Appliance Templates
- Jobs
- getGet All Jobs
- postCreate Job
- getGet All Job States
- postCalculate Job Objects Size
- getGet Job
- putEdit Job
- delDelete Job
- postStart Job
- postStop Job
- postRetry Job
- postDisable Job
- postEnable Job
- postApply Backup Policy Configuration
- postClear Backup Cache
- postClone Job
- postStart Quick Backup for VMware vSphere or VMware Cloud Director VM
- postStart Quick Backup for Hyper-V VM
- postStart Quick Backup for Agent-Managed Machine
- postStart Quick Backup for Agent-Managed Machines
- postStart VeeamZIP for One or More VMs
- Sessions
- Tasks
- Jobs
- Backups
- getGet All Backups
- getGet Backup
- delDelete Backup
- postView Backup Details
- getGet Backup Objects
- delDelete Backup Object
- postDownload Backup Metadata
- getGet All Backup Files
- getGet Backup File
- postMark Backup File as Clean
- postMark Backup File as Infected
- postRun Health Check and Repair
- postCopy Unstructured Data Backups to Another Repository
- postManage a Failed Copy Session of Unstructured Data Backups
- postCopy Machine Backups to Another Repository or Folder
- postMove Backup to Another Repository
- postMove Backup Objects to Another Job
- getGet Sessions of Moving or Copying Backups Awaiting Action
- postManage Session of Moving or Copying Backups Awaiting Action
- postCancel Moving or Copying Backups
- Backup Objects
- Restore Points
- Backups
- Restore
- postRestore Entire File Share
- postRestore Entire Object Storage Bucket or Container
- getGet All Mount Points for Instant File Share Recovery
- postStart Instant File Share Recovery
- getGet Mount Point for Instant File Share Recovery
- postStop File Share Publishing
- postStart File Share Migration
- postStart File Share Switchover
- getGet File Share Switchover Settings
- putUpdate File Share Switchover Settings
- postStart File Restore from Unstructured Data Backup
- postUnmount Unstructured Data FLR Volumes
- postProlong a Retrieval Operation from Cold Object Storage
- getGet Cold Object Storage Retrieval Operations
- getGet All Mount Points for Instant Recovery to VMware vSphere
- postStart Instant Recovery to VMware vSphere
- getGet Mount Point for Instant Recovery to VMware vSphere
- postStop Publishing Machine to VMware vSphere
- postStart Migrating Machine to VMware vSphere
- getGet All Mount Points for Instant Recovery to Microsoft Hyper-V
- postStart Instant Recovery to Microsoft Hyper-V
- getGet Mount Point for Instant Recovery to Microsoft Hyper-V
- postStop Publishing Machine to Microsoft Hyper-V
- postStart Migrating Machine to Microsoft Hyper-V
- getGet All Mount Points for Instant Recovery to Microsoft Azure
- postStart Instant Recovery to Microsoft Azure
- getGet Mount Point for Instant Recovery to Microsoft Azure
- getGet All Mount Sessions for Instant Recovery to Microsoft Azure
- postStop Publishing Machine to Microsoft Azure
- postStart Migrating Machine to Microsoft Azure
- getGet Settings for Switchover to Microsoft Azure
- putUpdate Settings for Switchover to Microsoft Azure
- postStart Switchover to Microsoft Azure
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- postRestore Entire Microsoft Hyper-V VM
- getGet All FCD Mount Points
- postStart Instant FCD Recovery
- getGet FCD Mount Point
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- postGet User Code for Delegated Restore of Microsoft Entra ID Items
- postGet Credentials for Delegated Restore of Microsoft Entra ID Items
- getGet Redirect URI for Delegated Restore of Microsoft Entra ID Items
- postPerform Authorization Code Exchange for Delegated Restore of Microsoft Entra ID Items
- postMount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Tenant Restore from Copy
- postUnmount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Audit Log Restore
- postUnmount Microsoft Entra ID Audit Logs
- postStarts Volume Restore for Agent or Recovery Appliance
- postRestore Entire VM to a Platform Plug-in Server
- postStart Volume Restore for Multiple Hosts
- Application Items Restore
- DiskManagement
- postInitialize Disk Management
- postMap Backup Layout to Host Layout Automatically
- putKeep Disk Management Session Alive
- getGet Current Restore Layout of Host
- postApply Backup Layout
- postApply Disk Layout
- postErase Disk
- postRemove Partition
- postResize Partition
- postGet Partition Resize Options
- postRestore Partition
- putUnlock BitLocker-Protected Volume
- putCreate Disk Management Checkpoint
- putRevert to Disk Management Checkpoint
- putRefresh Restore Layout of Host
- Recovery Media
- Data Integration API
- Backup Browser
- postValidate Target Machine Credentials
- postValidate FLR Restore Item Target Path
- getGet All File Restore Mount Points
- getGet File Restore Mount Point
- getGet Restored Files Audit
- postBrowse File System
- postCompare Attributes
- postCompare Attributes in Batch
- postCompare Files and Folders
- postInitialize Compare Mode
- postSearch for Files and Folders
- postBrowse Search Results
- postRestore Files and Folders to Original Location
- postRestore Files and Folders to Another Location
- postPrepare Files and Folders for Download
- postDownload Files and Folders
- getDownload Files and Folders
- getGet All Unstructured Data Mount Points
- getGet Unstructured Data Mount Point
- postBrowse Unstructured Data File System
- postGet Restore Points of Unstructured Data File System Item
- postSearch for Files and Folders in Unstructured Data Mount Point
- postBrowse Search Results in Unstructured Data Mount Point
- postCopy Files and Folders to Specific Folder
- postRestore Files and Folders from Unstructured Data Backup
- postPrepare Files and Folders for Download from Unstructured Data Backup
- getDownload Files and Folders
- postCompare Attributes of Unstructured Data Backup with Source
- postCompare Files and Folders of Unstructured Data Backup with Source
- getGet Mount Points of All Microsoft Entra ID Tenants
- getGet Mount Point of Microsoft Entra ID Tenant
- postGet Restore Points of Microsoft Entra ID Tenant
- getGet Protection Scope of Microsoft Entra ID Tenant
- postGet Microsoft Entra ID Items
- postGet Microsoft Entra ID Item
- postGet Restore Points of Microsoft Entra ID Item
- postValidate Microsoft Entra ID Items
- postCheck Microsoft Entra ID Items in Production
- postGenerate Microsoft Entra ID User Passwords
- postRestore Microsoft Entra ID Items
- postRestore Microsoft Entra ID Item Properties
- postCompare Microsoft Entra ID Item Properties
- postStart Comparing Microsoft Entra ID Item Properties
- getGet Comparison Results for Microsoft Entra ID Items
- postStart Comparing Microsoft Entra ID Conditional Access Policy
- getGet Comparison Results for Microsoft Entra ID Conditional Access Policy
- postStart Exporting Microsoft Entra ID Items to JSON
- getGet JSON Export Results for Microsoft Entra ID Items
- postExport Microsoft Entra ID Tenant Objects To JSON
- postExport Microsoft Entra ID Items
- postUpload Microsoft Entra ID Users
- postUpload Microsoft Entra ID Groups
- postUpload Microsoft Entra ID Administrative Units
- postUpload Microsoft Entra ID Roles
- postUpload Microsoft Entra ID Applications
- postUpload Microsoft Entra ID Conditional Access Policies
- postUpload Microsoft Entra ID Device Configurations
- postUpload Microsoft Entra ID Organization Contacts
- postUpload Microsoft Entra ID Devices
- postUpload Microsoft Entra ID Intune Role Definitions
- getGet All Restore Sessions of Microsoft Entra ID Tenant
- getGet Restore Session of Microsoft Entra ID Tenant
- getGet Restore Session Logs of Microsoft Entra ID Tenant
- postStop Restore Session of Microsoft Entra ID Tenant
- postReveal Microsoft Entra ID BitLocker Recovery Key
- Restore
- Agents
- getGet All Recovery Tokens
- postCreate Recovery Token
- getGet Recovery Token
- putEdit Recovery Token
- delDelete Recovery Token
- getGet All Protected Linux Computers
- getGet Protected Linux Computer
- getGet All Discovered Entities
- getGet All Agent States
- getGet Agent State
- getGet Agent Backups
- postAttach Backups to Agent
- postDetach Backups from Agent
- getGet Protection Groups
- postAdd Protection Group
- getGet Protection Group
- putEdit Protection Group
- delRemove Protection Group
- postRescan Protection Group
- postEnable Protection Group
- postDisable Protection Group
- postDownload Protection Group Packages
- postPrepare Protection Group Packages Download
- getDownload Prepared Protection Group Packages
- getGet Discovered Entities
- postRescan Discovered Entities
- postReboot Discovered Entities
- postInstall Agent on Discovered Entities
- postUninstall Agent from Discovered Entities
- postUpgrade Agent on Discovered Entities
- postInstall CBT Driver on Discovered Entities
- postUninstall CBT Driver from Discovered Entities
- postInstall CDP Agent on Discovered Entities
- postUpgrade CDP Agent on Discovered Entities
- postUninstall CDP Agent from Discovered Entities
- postUninstall All Components from Discovered Entities
- postAdd Discovered Entities to Trusted Hosts List
- postPrepare Agent Hosts for Remote Bare Metal Recovery
- postRecreate Embedded Recovery Media on Agent Hosts
- getGet Discovered Entity
- delRemove Discovered Entity
- postCreate Recovery Media Task for Discovered Entity
- getCreate Recovery Media for Discovered Entity
- getGet Discovered Computer Network Adapters
- getGet Linux Agent Packages
- getGet Unix Agent Packages
- getGet Agents Recovery Appliances
- getGet Agents Recovery Appliance
- getGet Agent Recovery Appliance Devices
- postUpload Agent Recovery Appliance Drivers
- postUpload Agent Recovery Appliance Driver Files
- postInstall Existing Driver on Agent Recovery Appliance Device
- postInstall Custom Driver on Agent Recovery Appliance
- postRelease Agent Recovery Appliance Driver Upload Session
- postKeep Alive Agent Recovery Appliance Driver Upload Session
- putEdit Agent Recovery Appliance Driver Injection Settings
- postReboot Agent Recovery Appliances
- postReboot Agent Recovery Appliance
- postInstall Plug-in on Discovered Entities
- postUninstall Plug-in from Discovered Entities
- postUpgrade Plug-ins on Discovered Entities
- postDownload Logs from Agent Recovery Appliances
- postDownload Logs from Agent Recovery Appliance
- getDownload Agent Recovery Appliance Logs
- Active Directory Domains
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
- Automation
The following topics will help you learn how to connect to the REST API and authorize your access, and how to control and sort the data that the REST API returns.
Each Veeam Backup & Replication REST API-exposed entity has a resource representing it. To get a resource representation, request its URL.
The Veeam Backup & Replication REST API requests use the following base URL format:
https://<hostname>:<port>/api/<version>
where:
<hostname>is a public IPv4 address or DNS hostname of the machine where Veeam Backup & Replication is installed.<port>is the REST API port number set during Veeam Backup & Replication installation.
The default port number is 9419.
<version>is an API version.
The current major version is v1.
To get a collection of Veeam Backup & Replication REST API resources, request the base URL followed by a resource collection endpoint. For example:
https://enterprise01.tech.local:9419/api/v1/sessions
To get a representation of an individual resource, specify a resource identifier after the resource collection endpoint. For example:
https://enterprise01.tech.local:9419/api/v1/sessions/c36824e9-0c3e-4892-8dff-44fd56968506
The resource identifier is represented by the id property of the resource. For example:
[
{
...
"id": "c36824e9-0c3e-4892-8dff-44fd56968506",
"name": "Infrastructure",
...
,
},
{
...
"id": "e170b7a4-0375-41b1-b066-d4be19d7b7ce",
"name": "Backup Job 1",
...
}
]
Veeam Backup & Replication REST API is backward-compatible. This means that, in general, client requests that use an earlier version or revision of the REST API are compatible with further REST API updates. You can find the current Veeam Backup & Replication REST API version and revision in the REST API specification. It is specified in the version field of the info object. For example:
"version": "1.3-rev3"
The following table lists the REST API revisions, their support statuses and the Veeam Backup & Replication build numbers when the REST API revisions were released.
The Deprecated support status is intermediate. Deprecated REST API revisions are expected to become unsupported. You can still use them but it is recommended that you switch to a newer one.
| REST API Revision | Support Status | Veeam Backup & Replication Build |
|---|---|---|
| 1.3-rev3 | Supported | 13.2.0.193 |
| 1.3-rev2 | Supported | 13.1.0.411 |
| 1.3-rev1 | Supported | 13.0.1.180 |
| 1.3-rev0 | Supported | 13.0.0.4967 |
| 1.2-rev1 | Deprecated | 12.3.1.1139 |
| 1.2-rev0 | Deprecated | 12.3.0.310 |
| 1.1-rev2 | Deprecated | 12.2.0.334 |
| 1.1-rev1 | Deprecated | 12.1.0.2131 |
| 1.1-rev0 | Deprecated | 12.0.0.1420 |
| 1.0-rev2 | Unsupported | 11.0.1.1261 |
| 1.0-rev1 | Unsupported | 11.0.0.837 |
You must specify the Veeam Backup & Replication REST API version and revision in each request. The requirement lets you minimize changes in your client application with every REST API update.
Veeam Backup & Replication REST API implements a combined approach of versioning:
Major version is specified in the request path in the following format:
v<major_version>. The current major version isv1.Version and revision are specified in the request header in the following format:
<version>-<revision>. For example,1.3-rev3.
For example, to obtain current date and time on the backup server, send the HTTP GET request to the api/<major_version>/serverTime path. In the x-api-version header, specify a version and revision in the following format: <version>-<revision>.
Request
GET https://enterprise01.tech.local:9419/api/v1/serverTime
Request Header
x-api-version:1.3-rev3
Communication between the client and Veeam Backup & Replication REST API is established over HTTPS. To ensure data privacy, unencrypted HTTP is not supported. The client verifies the REST API identity with a server TLS certificate. For details on managing certificates, see TLS Certificate.
Authorization in REST API
Authorization process of the REST API is based on the OAuth 2.0 Authorization Framework. To get access to the REST API resources, the client obtains an access token — a string that represents authorization issued to the client. The access token must be specified in all requests to the REST API.
The REST API supports authorization of the following clients:
- Users — accounts that have roles in Veeam Backup & Replication. A user gets an access token by providing a user name and password. For details, see User Authorization.
- Applications — scripts, services and integrations registered in Veeam Backup & Replication. An application gets an access token by providing its client ID and client secret, without a user account. For details, see Application Authorization.
The following table describes the differences between user and application authorization.
| Characteristic | User | Application |
|---|---|---|
| Grant type | password |
client_credentials |
| Credentials | User name and password in the request body. | Client ID and client secret in the Authorization header (HTTP Basic authentication). |
| Refresh token | Issued | Not issued. To get a new access token, the application requests it again. |
| Logout | Invalidates the access token and the refresh token. | Invalidates the access token. The client secret stays valid. |
| Roles | Any built-in or custom role. | Security Administrator, Backup Viewer and Incident API Operator built-in roles or custom roles. |
| Initiator of sessions | User name. | Application name. |
Credentials Lifetime
The access token, refresh token and client secret have a lifetime after which they expire. The lifetime of a token starts from the time the authorization response was generated.
| Credential | Lifetime |
|---|---|
| Access token | 15 minutes. |
| Refresh token | 24 hours. Issued to users only. |
| Client secret | Specified when the secret is set. Applies to applications only. |
Users get an access token with the password grant type. To get a new access token when the current one expires, users specify the refresh token. When users finish working with the REST API, they log out.
Requesting Access Token
To get an access token and a refresh token, send the HTTP POST request to the /api/oauth2/token path. In the x-api-version header, specify the current revision of the Veeam Backup & Replication REST API.
In the request body, specify the following parameters:
| Parameter | Value | Description |
|---|---|---|
grant_type |
password |
Authorization grant type. |
username |
<Username> |
Account name used to access the backup server. |
password |
<Password> |
Account password. |
Request
POST https://enterprise01.tech.local:9419/api/oauth2/token
Request Header
x-api-version:1.3-rev3
Request Body
grant_type=password&username=administrator&password=Password1
A successfully completed operation returns the 200 response code. In the response body, Veeam Backup & Replication returns an access token, its expiration time (in seconds) and a refresh token. Specify the access token in headers of further requests to the Veeam Backup & Replication REST API. The refresh token must be saved locally.
Response
200
Response Body
{
"access_token": "eyJhbGciOiJSUzUxMiIsImtpZCI6IjQ2MDU0QjExNTE3Njk0QzAxN0IyRTE2MTQyNURCRDM1QkNGNzY3NkQiLCJ0eXAiOiJKV1QifQ.eyJ1bmlxdWVfbmFtZSI6InVzZXIiLCJuYmYiOjE1ODY...",
"token_type": "bearer",
"refresh_token": "eyJhbGciOiJSUzUxMiIsImtpZCI6IjQ2MDU0QjExNTE3Njk0QzAxN0IyRTE2MTQyNURCRDM1QkNGNzY3NkQiLCJ0eXAiOiJKV1QifQ.eyJ1bmlxdWVfbmFtZSI6InVzZXIiLCJ0b2tlbl9pZCI...",
"expires_in": 900,
".issued": "2025-06-10T10:29:39",
".expires": "2025-06-10T10:44:39",
"username": "administrator"
}
Using Refresh Token
Refresh token is a token used to refresh an expired or lost access token.
To refresh an access token, send the HTTP POST request to the /api/oauth2/token path. In the request body, specify the following parameters:
| Parameter | Value | Description |
|---|---|---|
grant_type |
refresh_token |
Authorization grant type. |
refresh_token |
<Refresh token> |
Previously saved refresh token. |
A successfully completed operation returns the 200 response code and a new pair of tokens in the response body.
If you have lost a refresh token, you can log in again under the same user account and get a new pair of tokens.
Example
To refresh an access token, send the HTTP POST request to the api/oauth2/token path. In the x-api-version header, specify the current revision of the Veeam Backup & Replication REST API.
In the body of the request, specify the refresh_token grant type and the refresh token itself.
Request
POST https://enterprise01.tech.local:9419/api/oauth2/token
Request Header
x-api-version:1.3-rev3
Request Body
grant_type=refresh_token&refresh_token=eyJhbGciOiJSUzUxMiIsImtpZCI6IjQ2MDU0QjExNTE3Njk0QzAxN0IyRTE2MTQyNURCRDM1QkNGNzY3NkQiLCJ0eXAiOiJKV1QifQ.eyJ1bmlxdWVfbmFtZSI6InVzZXIiLCJ0b2tlbl9pZCI6ImQ5ZDhiN2RlLWIwYjUtNDc1Yi04ZTE4LTU4ZGMzMzVmOWIzNSIsInNob3J0X3Rl...
You receive a response in the following format.
Response
200
Response Body
{
"access_token": "eyJhbGciOiJSUzUxMiIsImtpZCI6IjQ2MDU0QjExNTE3Njk0QzAxN0IyRTE2MTQyNURCRDM1QkNGNzY3NkQiLCJ0eXAiOiJKV1QifQ.eyJ1bmlxdWVfbmFtZSI6InVzZXIiLCJuYmYiOjE1ODYyNTU3ODMsImV4cCI6MTU4NjI1NjY4MywiaWF0IjoxNTg2MjU1NzgzLCJhdWQiO...",
"token_type": "bearer",
"refresh_token": "eyJhbGciOiJSUzUxMiIsImtpZCI6IjQ2MDU0QjExNTE3Njk0QzAxN0IyRTE2MTQyNURCRDM1QkNGNzY3NkQiLCJ0eXAiOiJKV1QifQ.eyJ1bmlxdWVfbmFtZSI6InVzZXIiLCJ0b2tlbl9pZCI6ImI5MjJhNGJiLTJmY2YtNGMwZi1hZGMxLTg2M2I4YzY1MzkxMiIsInNob3J0X3...",
"expires_in": 900,
".issued": "2025-04-07T10:36:23",
".expires": "2025-04-07T10:51:23"
}
Performing Logout
To log out, send the HTTP POST request to the api/oauth2/logout path. After you log out, access and refresh tokens are expired. A successfully completed operation returns the 200 response code.
Example
To log out, send the HTTP POST request to the api/oauth2/logout path. In the x-api-version header, specify the current revision of the Veeam Backup & Replication REST API, in the Authorization header — currently valid access token in the Bearer <access_token> format.
Request
POST https://enterprise01.tech.local:9419/api/oauth2/logout
Request Header
x-api-version:1.3-rev3
Authorization: Bearer YSEoaL6H9EEyJpnrJ9WhLtzbrrBBYWqMQFDBQuLnp13qGQX6MjNfZ_wriPIRHQrbY-8dYtsWcRZQczIHVuSqbnVb00m-yOihPZZHQ48aP1VcgUtgnYTvtAO3WRJ1cJ8VaIXzsV...
You receive a response in the following format.
Response
200
Applications get an access token with the client_credentials grant type. The application authenticates as itself, not on behalf of a user, and the roles assigned to the application define what it can do. The REST API does not issue a refresh token to applications. When the access token expires, the application requests a new access token. To revoke the access token before it expires, the application logs out.
Registering Application
Applications are registered by a user who has the Backup Administrator role. To register an application, take the following steps:
- To get the IDs of the roles that you want to assign to the application, run the Get All Roles request. You can assign the Security Administrator, Backup Viewer and Incident API Operator built-in roles or custom roles. You cannot assign built-in and custom roles to the same application.
- To register the application, run the Register Application request. In the request body, specify the application name and roles. In response, you receive the application
idandclientId. Save both values: you needidto manage the application, andclientIdto get an access token. - To set a client secret, run the Set Application Secret request, using the application
id. In the request body, specify the date and time when the secret expires in theexpirationTimeproperty. In response, you receive the client secret.
The response contains the client secret only once. You cannot get the secret later, so store it in a secure location. The application cannot get an access token until you set a client secret.
Requesting Access Token
To get an access token, send the HTTP POST request to the /api/oauth2/token path. In the request, specify the following parameters:
| Parameter | Location | Value | Description |
|---|---|---|---|
x-api-version |
Header | 1.3-rev3 |
Current revision of the Veeam Backup & Replication REST API |
Authorization |
Header | Basic <credentials> |
Client credentials of the application |
grant_type |
Body | client_credentials |
Authorization grant type |
To get <credentials>, take the following steps:
- URL-encode the client ID and the client secret. For example, the
urn:veeam:oauth:client:app-3f2b9c1e8d4a4b6f9e7c5a1d2b3c4e5fclient ID becomesurn%3Aveeam%3Aoauth%3Aclient%3Aapp-3f2b9c1e8d4a4b6f9e7c5a1d2b3c4e5f. - Join the encoded values with a colon:
<client ID>:<client secret>. - Encode the result in Base64.
Example
The following request gets an access token for the application with the urn:veeam:oauth:client:app-3f2b9c1e8d4a4b6f9e7c5a1d2b3c4e5f client ID and the Xq3vT9mK2pL7wR4sN8bY1cF6hJ0dG5aE3uZ2iO9kM7e client secret.
Request
POST https://enterprise01.tech.local:9419/api/oauth2/token
Request Header
x-api-version:1.3-rev3
Authorization: Basic dXJuJTNBdmVlYW0lM0FvYXV0aCUzQWNsaWVudCUzQWFwcC0zZjJiOWMxZThkNGE0YjZmOWU3YzVhMWQyYjNjNGU1ZjpYcTN2VDltSzJwTDd3UjRzTjhiWTFjRjZoSjBkRzVhRTN1WjJpTzlrTTdl
Request Body
grant_type=client_credentials
A successfully completed operation returns the 200 response code. In the response body, Veeam Backup & Replication returns an access token and its expiration time (in seconds). The response does not contain a refresh token. Specify the access token in headers of further requests to the Veeam Backup & Replication REST API.
Response
200
Response Body
{
"access_token": "eyJhbGciOiJSUzUxMiIsImtpZCI6IjQ2MDU0QjExNTE3Njk0QzAxN0IyRTE2MTQyNURCRDM1QkNGNzY3NkQiLCJ0eXAiOiJKV1QifQ.eyJ1bmlxdWVfbmFtZSI6InVybjp2ZWVhbTpvYXV0aDpjbGllbnQ6YXBw...",
"token_type": "bearer",
"expires_in": 900,
".issued": "2026-11-25T10:29:39",
".expires": "2026-11-25T10:44:39"
}
Performing Logout
To log out, send the HTTP POST request to the api/oauth2/logout path. In the x-api-version header, specify the current revision of the Veeam Backup & Replication REST API, in the Authorization header — currently valid access token in the Bearer <access_token> format. A successfully completed operation returns the 200 response code. For a request example, see User Authorization.
After you log out, the access token is expired. The client secret stays valid, and the application can request a new access token.
Rotating Client Secret
The client secret stops working at the time specified in the expirationTime property. To check when the secret expires, run the Get Application request and see the secretDetails.expirationTime property.
To set a new secret, use one of the following requests:
- Set Own Application Secret — the application sets a new secret for itself. The application must be authorized with an access token obtained with the
client_credentialsgrant type. - Set Application Secret — a Backup Administrator sets a new secret for the application.
In the request body, specify the expiration time of the new secret. The new secret replaces the current one, and the current secret stops working immediately.
Managing Applications
A Backup Administrator can perform the following operations with registered applications:
- To get registered applications, run the Get All Applications or Get Application request. The response does not contain client secrets.
- To edit the name and description of an application, run the Edit Application request. The request does not change the client ID, client secret or roles.
- To get the roles assigned to an application, run the Get Roles Assigned to Application request. To change the roles, run the Edit Roles Assigned to Application request. The request replaces all roles of the application: roles that the request does not contain are removed.
- To remove an application, run the Remove Application request.
Communication between the client and Veeam Backup & Replication REST API is established over HTTPS. To ensure data privacy, unencrypted HTTP is not supported. The client verifies the REST API identity with a server TLS certificate. The REST API uses the certificate of Veeam Backup & Replication.
During the Veeam Backup & Replication installation, a self-signed TLS certificate is created and bound to the REST API and the 9419 port.
If the existing TLS certificate expires, or if you want to use another certificate (for example, the one obtained from a Certificate Authority), you can add a new certificate. For details, see Updating TLS Certificate.
To view the TLS certificate, use the Get Backup Server Certificate request.
Updating TLS Certificate
If the existing TLS certificate expires, you need to install a new one using the Veeam Backup & Replication console or Veeam PowerShell. For details, see the Backup Server Certificate section of the Veeam Backup & Replication User Guide and the Add-VBRBackupServerCertificate section of the Veeam PowerShell Reference.
To perform REST API operations, use the following standard HTTP methods:
| Method | Description | Example |
|---|---|---|
GET |
Retrieves information about a resource or collection. | Get All Jobs |
POST |
Creates a new resource in a collection or activates a resource action. | Create Job |
PUT |
Makes changes to a resource. | Edit Job |
DELETE |
Removes a resource from a collection. | Delete Job |
POST and PUT requests can contain a request body. In response, the client receives a standard HTTP response code, response headers and an optional response body.
Some request and response bodies are polymorphic: one operation works with different types of resources. For example, the Get All Servers request returns both Microsoft Windows and Linux servers.
HTTP headers let the client and the server pass additional information with HTTP requests or responses. An HTTP header consists of a case-insensitive name and header value. The colon : separates the name and the value of the header.
When you send HTTP requests to the REST API, specify the following header parameters. All headers are required except the Content-Type header, which is required only if you specify a request body.
| Header | Sample Value | Description |
|---|---|---|
Authorization |
Bearer eyJhbGciOi... |
Authenticates the client that sends the request to the server. The header must contain an access token in the following format: Bearer <access token>. |
x-api-version |
1.3-rev3 |
Specifies the version and revision of the REST API. |
Content-Type |
application/json |
Identifies the media type of the request body. The REST API supports the following media types:
|
Accept |
application/json |
Specifies the media type of the response body. The REST API supports only the application/json media type. |
In response, the server passes the following header parameters.
| Header | Sample Value | Description |
|---|---|---|
Cache-Control |
private | Specifies the private caching type (tied to the client) for requests and responses. |
Content-Length |
20256 | Identifies the length of the response body, in bytes. |
Content-Type |
application/json; charset=utf-8 | Identifies the media type and encoding of the response body. The REST API supports only the application/json media type. |
X-Frame-Options |
SAMEORIGIN | Blocks clickjacking attacks. |
X-XSS-Protection |
1; mode=block | Prevents reflected cross-site scripting attacks. |
Strict-Transport-Security |
max-age=31536000 | Identifies that the server should only be accessed over HTTPS and specifies the time, in seconds, that the client should remember this requirement. |
X-Content-Type-Options |
nosniff | Blocks media type sniffing. |
Date |
Thu, 13 Apr 2025 14:35:46 GMT | The date and time the response was sent. |
Query parameters help you control the amount and order of data that the Veeam Backup & Replication REST API returns for a resource or collection. Query parameters are part of the URL that you specify in the request. The question mark ? separates query parameters from a resource collection path.
All query parameters are case-sensitive.
You can use the following query parameters:
You can use the skip query parameter to exclude the first N collection items from a response body.
For example, to return a list of sessions starting from the third one in the /sessions collection, send the following request:
GET https://enterprise01.tech.local:9419/api/v1/sessions?skip=2
You can combine the limit and the skip query parameters to request a particular set of items. Note that the skip parameter is applied before the limit parameter, regardless of the parameter position in the request. That is, top results are selected from a collection where a set of items is already excluded.
The Veeam Backup & Replication REST API returns resources in the default order based on its own semantics. To sort or filter a collection before excluding results, use sort and filter parameters. Note that sort and filter parameters are applied before the skip parameter, regardless of their position in the request. That is, a collection is first filtered or sorted, and then the top results are excluded.
You can use the limit query parameter to specify the maximum number of items of a resource collection to return in a response.
For example, to return only the first 3 sessions, send the following request:
GET https://enterprise01.tech.local:9419/api/v1/sessions?limit=3
The Veeam Backup & Replication REST API returns resources in the default order based on its own semantics. To sort or filter a collection before excluding results, use sort and filter parameters. Note that sort and filter parameters are applied before the limit parameter, regardless of their position in the request. That is, a collection is first filtered or sorted, and then the top results are selected.
You can use the orderColumn and orderAsc query parameters to sort items of a resource collection in a response.
Some resource properties of Veeam Backup & Replication REST API schemas can be used as parameter values for the orderColumn query parameter.
If the value of the orderAsc parameter is true, items are sorted in the ascending order by the orderColumn parameter. If the value is false, the items are sorted in the descending order.
For example, to sort sessions by session type in the ascending order, send the following request:
GET https://enterprise01.tech.local:9419/api/v1/sessions?orderColumn=SessionType&orderAsc=true
You can use filter query parameters to filter items of a resource collection to return a subset of resources in a response. The subset includes only those resources that satisfy parameter value specified in the query.
nameFilter
The nameFilter query parameter is used to filter items by the substring specified as the nameFilter value. The substring can be a part of any resource parameter.
To filter items, use the following methods:
- In the
nameFilterparameter, specify a full string that must match one of the item parameters. - In the
nameFilterparameter, specify a substring that one of the item parameters must contain. To do this, use the asterisk*character at the beginning of thenameFiltervalue, at the end or both.
For example, to return a list of sessions that contain the Working substring in any of their parameters, send the following request:
GET https://enterprise01.tech.local:9419/api/v1/sessions?nameFilter=*Working*
Other Filter Parameters
Some resource properties of Veeam Backup & Replication REST API schemas can be used as filter query parameters.
For example, to return a list of job sessions, specify the Job value of the typeFilter parameter in the following request:
GET https://enterprise01.tech.local:9419/api/v1/sessions?typeFilter=Job
To start working with the Veeam Backup & Replication REST API, you can use any client application that supports the HTTPS protocol. In addition, the REST API is available through Swagger UI, a web-based tool that you can use to evaluate and explore the REST API capabilities. Swagger UI visually represents the API specification file and enables you to interact with API endpoints directly from the browser.
The Veeam Backup & Replication REST API is defined in the swagger.json file. You can find the file in the Veeam Backup & Replication installation folder.
To access the REST API Swagger UI, use a web browser:
Navigate to the following URL:
https://<hostname>:<port>/swagger/index.htmlwhere:
<hostname>is a public IPv4 address or DNS hostname of the machine where Veeam Backup & Replication is installed.<port>is the REST API port number set during Veeam Backup & Replication installation.The default port is 9419.
From the Select a definition list, select the REST API version you need.

The procedure of authorization with the Swagger UI depends on the client: a user or an application. For details on clients, see Authorization and Security.
Authorizing as User
To authorize as a user, take the following steps:
Obtain an access token and a refresh token:
On the Veeam Backup & Replication REST API page, expand the Login section and click POST api/oauth2/token.
In the expanded method window, click Try it out.
From the grant_type drop-down list, select password.
In the username and password fields, specify the credentials of a user created in Veeam Backup & Replication.
Click Execute.
Wait for the response from the server. A successfully completed operation returns the 200 response code. In the response body, Veeam Backup & Replication returns an access token, its expiration time and a refresh token.
Save the access and refresh tokens locally for further use.
TIP
You can download a server response in the JSON format. To do that, in the expanded method window, click Download at the lower right corner of the Response body field.
Authorize your access in the Swagger UI:
At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
In the Available authorizations window, insert the access token saved locally in the Value field.
- If you use revision 1.2-rev1 or later, provide only the token itself.
- For all earlier revisions, use the
Bearer <access_token>format.
Click Authorize.

When the access token expires, use the refresh token:
On the Veeam Backup & Replication REST API page, expand the Login resource and click POST api/oauth2/token.
In the expanded method window, click Try it out.
From the grant_type drop-down list, select refresh_token.
In the refresh_token field, insert the saved refresh token and click Execute.
Wait for the response from the server. A successfully completed operation returns the 200 response code and a new pair of tokens in the response body.
Save the access and refresh token locally for further use. To authorize your access in Swagger UI, repeat step 2.
When you finish working with the Swagger UI:
- At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
- In the Available authorizations window, click Logout.

Authorizing as Application
To authorize as an application, take the following steps:
Provide the client credentials:
- At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
- In the Available authorizations window, in the clientBasicAuth section, specify the URL-encoded client ID in the Username field and the client secret in the Password field. For details on URL encoding, see Application Authorization.
- Click Authorize and close the window.
Obtain an access token:
On the Veeam Backup & Replication REST API page, expand the Login section and click POST api/oauth2/token.
In the expanded method window, click Try it out.
From the grant_type drop-down list, select client_credentials.
Click Execute.
Wait for the response from the server. A successfully completed operation returns the 200 response code. In the response body, Veeam Backup & Replication returns an access token and its expiration time.
Save the access token locally for further use.
Authorize your access in the Swagger UI:
- At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
- In the Available authorizations window, insert the access token saved locally in the Value field of the Bearer section.
- Click Authorize.
When the access token expires, repeat steps 2–3.
After you get authorization, you can send HTTP requests to Veeam Backup & Replication REST API collections and resources in the Swagger UI.
To send a request:
On the Veeam Backup & Replication REST API page, expand a resource to which you want to perform an operation.
In the list of request methods, click the required method.
In the expanded method window, click Try it out.
Specify parameter values if required.
Click Execute.
The Swagger UI returns a response body as well as a response code and response headers. Additionally the Swagger UI generates a curl command and a URL for your request.
TIP
You can download a server response in the JSON format. To do that, in the expanded method window, click Download at the lower right corner of the Response body field.
