---
title: "Create VPN connection"
method: POST
path: "/vpn/connection/get"
tags: ["VPN"]
---

# Create VPN connection

`POST /vpn/connection/get`

Use this BillingServ API endpoint to create VPN connection. Review the response for the operation result or validation errors.

## Request body

- object
  - `server_id` integer, required
  - `device_info` string

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `400` — The request could not be processed.
- `401` — Missing or invalid API key
- `403` — Authenticated key does not have permission for this endpoint
- `500` — The server could not complete the request.

## Changes

- **2026-08-22** `6b9208b64456` — 7 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
  - removed the non-success response with the status `422`
  - added the optional property `code` to the response with the `401` status
  - …3 more

[Change history](https://skmtc.dev/b-cdn/apis/billingserv-api-v2/changes/vpn/connection/get/post.md)

---

[API](https://skmtc.dev/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.dev/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
