---
title: "Get a VPC's config."
method: GET
path: "/v1/vpc/{id}/config"
tags: ["VPC"]
---

# Get a VPC's config.

`GET /v1/vpc/{id}/config`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/vpc/{id}/config`
- Auth: HTTP bearer

Returns the rendered VPN client configuration file for the VPC.

## Path parameters

- `id` string, required

## Response `200`

configuration for the VPC

- VpcConfigResponse: The configuration file for a VPC.
  - `config` string, required: The rendered VPN client configuration.

## Other responses

- `401`: Missing or invalid credentials
- `403`: Token lacks the vpc:read scope
- `404`: VPC not found
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
