Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Vpn API

Last updated . Documentation for the current release. Ask in the product.

8 operations. Back to the API overview. Examples use synthetic data.

Vpn overview

GET /admin/v1/vpn

Needs the permission: config:history.

Response 200

Response fields of Vpn overview
FieldTypePresenceDescription
defaultsobjectoptional-
defaults.bgp_rangesanyoptional-
defaults.cloud_asnanyoptional-
defaults.regionanyoptional-
key_storageanyoptional-
portsanyoptional-
proposalanyoptional-
ramp_availableanyoptional-
service_accountanyoptional-
service_attachmentanyoptional-
sitesanyoptional-
status_checkanyoptional-
vendorsanyoptional-
Example response (synthetic data)
{
  "defaults": {
    "bgp_ranges": {},
    "cloud_asn": {},
    "region": {}
  },
  "key_storage": {},
  "ports": {},
  "proposal": {},
  "ramp_available": {},
  "service_account": {},
  "service_attachment": {},
  "sites": {},
  "status_check": {},
  "vendors": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn"

Vpn gateway

POST /admin/v1/vpn/gateway

Needs the permission: config:history.

Request body

Request body of Vpn gateway
FieldTypePresenceDescription
textstringoptional-
Example request body (synthetic data)
{
  "text": "example"
}

Response 200

Response fields of Vpn gateway
FieldTypePresenceDescription
cloud_public_ipsanyoptional-
Example response (synthetic data)
{
  "cloud_public_ips": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"text":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/gateway"

Vpn create

POST /admin/v1/vpn/sites

Needs the permission: config:write.

Request body

Request body of Vpn create
FieldTypePresenceDescription
siteobject (VpnconfigSite)optionalSite is one customer site's tunnel parameters (no secrets).
site.bgp_rangesarray of stringoptionalBGPRanges are the two link-local /30s, one per tunnel: the cloud side takes the first host address, the site the second.
site.cloud_asnintegeroptionalCloudASN is the Cloud Router's (or Alkira's) ASN.
site.cloud_public_ipsarray of stringoptionalCloudPublicIPs are the cloud gateway's two interface addresses: HA VPN interfaces 0 and 1, or the Alkira connector's two tunnel endpoints. Empty until the gateway exists (the configuration needs them).
site.endpointstringoptionalEndpoint is the private address senders connect to: the Private Service Connect endpoint (google_ha_vpn) or the tenant's private ingress address (alkira). Empty until known.
site.lanstringoptional-
site.namestringoptional-
site.pathstringoptional-
site.projectstringoptionalProject and Region locate the customer's HA VPN (google_ha_vpn) for the live status check; Router and the tunnel names default to customer_setup.sh's.
site.regionstringoptional-
site.site_asnintegeroptional-
site.site_cidrsarray of stringoptionalSiteCIDRs are the on-site networks whose systems talk to Velacent Bridge (advertised over BGP; sources in the firewall rules).
site.site_public_ipsarray of stringoptionalSitePublicIPs are the public IPv4 addresses of the customer's VPN device(s): one (both tunnels from one address) or two (tunnel i from address i: two WAN links, or two devices).
site.vendorstringoptional-
site.wan_interfacesarray of stringoptionalWANInterfaces name the device's outside interface per tunnel and LAN its inside interface or zone (vendor defaults when empty).
versionintegeroptional-
Example request body (synthetic data)
{
  "site": {
    "bgp_ranges": [
      "example"
    ],
    "cloud_asn": 1,
    "cloud_public_ips": [
      "example"
    ],
    "endpoint": "https://example.org/resource",
    "lan": "example",
    "name": "example-name",
    "path": "example",
    "project": "example",
    "region": "example",
    "site_asn": 1,
    "site_cidrs": [
      "example"
    ],
    "site_public_ips": [
      "example"
    ],
    "vendor": "example",
    "wan_interfaces": [
      "example"
    ]
  },
  "version": 1
}

Response 201

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"site":{"bgp_ranges":["example"],"cloud_asn":1,"cloud_public_ips":["example"],"endpoint":"https://example.org/resource","lan":"example","name":"example-name","path":"example","project":"example","region":"example","site_asn":1,"site_cidrs":["example"],"site_public_ips":["example"],"vendor":"example","wan_interfaces":["example"]},"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/sites"

Vpn get

GET /admin/v1/vpn/sites/{id}

Needs the permission: config:history.

Parameters

Parameters of Vpn get
NameInTypePresenceDescription
idpathstringrequired-
vendorquerystringoptional-

Response 200

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/sites/example-id"

Vpn update

PUT /admin/v1/vpn/sites/{id}

Needs the permission: config:write.

Parameters

Parameters of Vpn update
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Vpn update
FieldTypePresenceDescription
siteobject (VpnconfigSite)optionalSite is one customer site's tunnel parameters (no secrets).
site.bgp_rangesarray of stringoptionalBGPRanges are the two link-local /30s, one per tunnel: the cloud side takes the first host address, the site the second.
site.cloud_asnintegeroptionalCloudASN is the Cloud Router's (or Alkira's) ASN.
site.cloud_public_ipsarray of stringoptionalCloudPublicIPs are the cloud gateway's two interface addresses: HA VPN interfaces 0 and 1, or the Alkira connector's two tunnel endpoints. Empty until the gateway exists (the configuration needs them).
site.endpointstringoptionalEndpoint is the private address senders connect to: the Private Service Connect endpoint (google_ha_vpn) or the tenant's private ingress address (alkira). Empty until known.
site.lanstringoptional-
site.namestringoptional-
site.pathstringoptional-
site.projectstringoptionalProject and Region locate the customer's HA VPN (google_ha_vpn) for the live status check; Router and the tunnel names default to customer_setup.sh's.
site.regionstringoptional-
site.site_asnintegeroptional-
site.site_cidrsarray of stringoptionalSiteCIDRs are the on-site networks whose systems talk to Velacent Bridge (advertised over BGP; sources in the firewall rules).
site.site_public_ipsarray of stringoptionalSitePublicIPs are the public IPv4 addresses of the customer's VPN device(s): one (both tunnels from one address) or two (tunnel i from address i: two WAN links, or two devices).
site.vendorstringoptional-
site.wan_interfacesarray of stringoptionalWANInterfaces name the device's outside interface per tunnel and LAN its inside interface or zone (vendor defaults when empty).
versionintegeroptional-
Example request body (synthetic data)
{
  "site": {
    "bgp_ranges": [
      "example"
    ],
    "cloud_asn": 1,
    "cloud_public_ips": [
      "example"
    ],
    "endpoint": "https://example.org/resource",
    "lan": "example",
    "name": "example-name",
    "path": "example",
    "project": "example",
    "region": "example",
    "site_asn": 1,
    "site_cidrs": [
      "example"
    ],
    "site_public_ips": [
      "example"
    ],
    "vendor": "example",
    "wan_interfaces": [
      "example"
    ]
  },
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request PUT \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"site":{"bgp_ranges":["example"],"cloud_asn":1,"cloud_public_ips":["example"],"endpoint":"https://example.org/resource","lan":"example","name":"example-name","path":"example","project":"example","region":"example","site_asn":1,"site_cidrs":["example"],"site_public_ips":["example"],"vendor":"example","wan_interfaces":["example"]},"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/sites/example-id"

Vpn delete

DELETE /admin/v1/vpn/sites/{id}

Needs the permission: config:write.

Parameters

Parameters of Vpn delete
NameInTypePresenceDescription
idpathstringrequired-
versionquerystringoptional-

Response 200

Response fields of Vpn delete
FieldTypePresenceDescription
deletedanyoptional-
Example response (synthetic data)
{
  "deleted": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request DELETE \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/sites/example-id"

Vpn check

POST /admin/v1/vpn/sites/{id}/check

Needs the permission: config:history.

Parameters

Parameters of Vpn check
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Vpn check
FieldTypePresenceDescription
grant_commandanyoptional-
reportobject (VpnconfigReport)optionalReport is the outcome of a connectivity check.
report.checksarray of object (VpnconfigCheck)optional-
report.okbooleanoptional-
report.reasonstringoptional-
report.site_testsarray of stringoptionalSiteTests still have to be run from a site computer.
report.sourcestringoptionalSource: "google" (live), "unavailable" (with Reason).
report.statusobject (VpnconfigCloudStatus)optionalCloudStatus is what the Compute API reports, reduced to what the check needs (no secrets in it).
Example response (synthetic data)
{
  "grant_command": {},
  "report": {
    "checks": [
      {
        "detail": "example",
        "fix": "example",
        "id": "example-id",
        "ok": true,
        "title": "example"
      }
    ],
    "ok": true,
    "reason": "Example text",
    "site_tests": [
      "example"
    ],
    "source": "example",
    "status": {
      "learned": [
        "example"
      ],
      "peers": [
        {
          "advertised": [],
          "learned_routes": 1,
          "name": "example-name",
          "state": "ok",
          "status": "ok",
          "uptime": "2026-01-15T14:30:00Z"
        }
      ],
      "tunnels": [
        {
          "detailed_status": "ok",
          "name": "example-name",
          "status": "ok"
        }
      ]
    }
  }
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/sites/example-id/check"

Vpn keys

POST /admin/v1/vpn/sites/{id}/keys

Needs the permission: config:write.

Parameters

Parameters of Vpn keys
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Vpn keys
FieldTypePresenceDescription
rotatebooleanoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "rotate": true,
  "version": 1
}

Response 200

Response fields of Vpn keys
FieldTypePresenceDescription
fingerprintsanyoptional-
keysanyoptional-
shown_onceanyoptional-
siteobject (VpnSiteView)optionalvpnSiteView is a site as the console shows it.
site.created_atanyoptional-
site.created_bystringoptional-
site.idstringoptional-
site.key_fingerprintsarray of stringoptional-
site.key_storedbooleanoptionalKeyStored: the Alkira path's keys are held for Velacent Bridge operations.
site.keys_issuedbooleanoptional-
site.keys_issued_atanyoptional-
site.keys_issued_bystringoptional-
site.namestringoptional-
site.pathstringoptional-
site.readybooleanoptional-
site.siteobject (VpnconfigSite)optionalSite is one customer site's tunnel parameters (no secrets).
site.updated_atanyoptional-
site.vendorstringoptional-
site.versionintegeroptional-
Example response (synthetic data)
{
  "fingerprints": {},
  "keys": {},
  "shown_once": {},
  "site": {
    "created_at": {},
    "created_by": "example",
    "id": "example-id",
    "key_fingerprints": [
      "example"
    ],
    "key_stored": true,
    "keys_issued": true,
    "keys_issued_at": {},
    "keys_issued_by": "example",
    "name": "example-name",
    "path": "example",
    "ready": true,
    "site": {
      "bgp_ranges": [
        "example"
      ],
      "cloud_asn": 1,
      "cloud_public_ips": [
        "example"
      ],
      "endpoint": "https://example.org/resource",
      "lan": "example",
      "name": "example-name",
      "path": "example",
      "project": "example",
      "region": "example",
      "site_asn": 1,
      "site_cidrs": [
        "example"
      ],
      "site_public_ips": [
        "example"
      ],
      "vendor": "example",
      "wan_interfaces": [
        "example"
      ]
    },
    "updated_at": {},
    "vendor": "example",
    "version": 1
  }
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"rotate":true,"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vpn/sites/example-id/keys"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.