Overview

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.

Resource URLs

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",
        ...
    }
]

Versioning

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"

REST API Revisions

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

Working with REST API Revisions

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 is v1.

  • 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

Authorization and Security

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.

User Authorization

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.

TIP

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

Application Authorization

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:

  1. 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.
  2. 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 id and clientId. Save both values: you need id to manage the application, and clientId to get an access token.
  3. 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 the expirationTime property. In response, you receive the client secret.
NOTE

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:

  1. URL-encode the client ID and the client secret. For example, the urn:veeam:oauth:client:app-3f2b9c1e8d4a4b6f9e7c5a1d2b3c4e5f client ID becomes urn%3Aveeam%3Aoauth%3Aclient%3Aapp-3f2b9c1e8d4a4b6f9e7c5a1d2b3c4e5f.
  2. Join the encoded values with a colon: <client ID>:<client secret>.
  3. 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_credentials grant 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:

TLS Certificate

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.

HTTP Methods

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.

Request and Response Headers

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.

Request Headers

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:
  • application/x-www-form-urlencoded — for the Get Access Token request.
  • application/json — for all other requests that contain a request body.
Accept application/json Specifies the media type of the response body. The REST API supports only the application/json media type.

Response Headers

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

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.

IMPORTANT

All query parameters are case-sensitive.

You can use the following query parameters:

skip

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.

limit

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.

Sort Parameters

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

Filter Parameters

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 nameFilter parameter, specify a full string that must match one of the item parameters.
  • In the nameFilter parameter, specify a substring that one of the item parameters must contain. To do this, use the asterisk * character at the beginning of the nameFilter value, 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

Evaluation with Swagger UI

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:

  1. Navigate to the following URL:

    https://<hostname>:<port>/swagger/index.html
    

    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 is 9419.

  2. From the Select a definition list, select the REST API version you need.

Evaluation with Swagger UI

Authorization with Swagger UI

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:

  1. Obtain an access token and a refresh token:

    1. On the Veeam Backup & Replication REST API page, expand the Login section and click POST api/oauth2/token.

    2. In the expanded method window, click Try it out.

    3. From the grant_type drop-down list, select password.

    4. In the username and password fields, specify the credentials of a user created in Veeam Backup & Replication.

    5. Click Execute.

      Getting Access Token - Enter Credentials

      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.

      Getting Access Token — Server Response
    6. 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.

  2. Authorize your access in the Swagger UI:

    1. At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.

    2. 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.
    3. Click Authorize.

      Available Authorizations
  3. When the access token expires, use the refresh token:

    1. On the Veeam Backup & Replication REST API page, expand the Login resource and click POST api/oauth2/token.

    2. In the expanded method window, click Try it out.

    3. From the grant_type drop-down list, select refresh_token.

    4. In the refresh_token field, insert the saved refresh token and click Execute.

      Refresh Token

      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.

      Refresh Token — Server Response
    5. Save the access and refresh token locally for further use. To authorize your access in Swagger UI, repeat step 2.

  4. When you finish working with the Swagger UI:

    1. At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
    2. In the Available authorizations window, click Logout.
    Logout

Authorizing as Application

To authorize as an application, take the following steps:

  1. Provide the client credentials:

    1. At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
    2. 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.
    3. Click Authorize and close the window.
  2. Obtain an access token:

    1. On the Veeam Backup & Replication REST API page, expand the Login section and click POST api/oauth2/token.

    2. In the expanded method window, click Try it out.

    3. From the grant_type drop-down list, select client_credentials.

    4. 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.

    5. Save the access token locally for further use.

  3. Authorize your access in the Swagger UI:

    1. At the top right corner of the Veeam Backup & Replication REST API page, click Authorize.
    2. In the Available authorizations window, insert the access token saved locally in the Value field of the Bearer section.
    3. Click Authorize.
  4. When the access token expires, repeat steps 2–3.

Sending Requests

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:

  1. On the Veeam Backup & Replication REST API page, expand a resource to which you want to perform an operation.

  2. In the list of request methods, click the required method.

  3. In the expanded method window, click Try it out.

  4. Specify parameter values if required.

  5. Click Execute.

    Sending Request

    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.

    Getting Response