API Configuration: Enable the XML API and Configure Custom Fields

Management > API Configuration

API :: Configuration

Enable XML API

Choose to enable the BeyondTrust XML API, allowing you to run reports and issue commands such as starting or transferring sessions from external applications, as well as to automatically back up your software configuration.

Only the Command, Reporting, and Client Scripting API calls are enabled/disabled by this setting. Other API calls are configured under Public Portals.

For more information, please see the API Programmer's Guide.

Enable Archive API

Choose to enable the state archive API to download logs of the Secure Remote Access Appliance's state and of events that occurred on a given date.

API :: Accounts

An API account stores all of the authentication and authorization settings for the API client. At least one API account is required to use the API, either in conjunction with the Integration Client, with a third-party app, or with your own in-house developed software.

Prior to 16.2, a user account was used to authenticate to the API. This method has been deprecated, though for customers already using this method, it is still supported for backward compatibility.

Create New API Account, Edit, Delete

Create a new account, modify an existing account, or remove an existing account.

API :: Account :: Add or Edit


Create a unique name to help identify this account.


Add comments to help identify the purpose of this account.


If checked, this account is allowed to authenticate to the API. When an account is disabled, all OAuth tokens associated with the account are immediately disabled.


Select the areas of the API this account is allowed to use. For the Command API, choose to deny access, to allow read-only access, or to allow full access. Under Reporting API, set if this account has access to support session reports and recordings, presentation session reports and recordings, license usage reports, and/or archive reports. Also set if this account can use the Backup API, the Real-Time State API, and/or the Endpoint Credential Manager API.

Network Restrictions

List network address prefixes from which this account can authenticate.

API accounts are not restricted by the network prefixes configured on /login > Management > Security. They are restricted only by the network prefixes configured for the API account.

Authentication Settings

The OAuth client ID and client secret are used to create OAuth tokens, necessary for authenticating to the API.

OAuth Client ID

The OAuth client ID is a unique ID generated by the appliance. It cannot be modified. The client ID is considered public information and, therefore, can be shared without compromising the security of the integration.

OAuth Client Secret

The OAuth client secret is generated by the appliance using a cryptographically secure pseudo-random number generator.

The client secret cannot be modified, but it can be regenerated on the Edit page. Regenerating a client secret and then saving the account immediately invalidates any OAuth tokens associated with the account. Any API calls using those tokens will be unable to access the API.