Access Server API
The Access Server REST API allows programmatic download of OpenVPN connection profiles.
Overview
The Access Server REST API allows programmatic download of OpenVPN connection profiles. This is the same API used by OpenVPN Connect and is compatible with other clients and tools.
Supports userlogin and autologin profiles.
Uses HTTP Basic Authentication.
Returns connection profiles as
.ovpn
files.Can be accessed via command-line tools like
curl
.
Base URL
https://<ACCESS_SERVER>/rest/<METHOD>
Prerequisites
Access Server is deployed and accessible.
XML-RPC/REST API is enabled under: Admin Web UI > Configuration > CWS Settings.
A valid username and password for an Access Server user.
Access Server’s HTTPS port is typically
443
, unless configured otherwise.