---
title: "Retrieve Wireguard config template for Peer"
method: GET
path: "/wireguard_peers/{id}/config"
tags: ["WireGuard Interfaces"]
---

# Retrieve Wireguard config template for Peer

`GET /wireguard_peers/{id}/config`

Retrieve Wireguard config template for Peer

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful response

## Other responses

- `422` — Unexpected error
- `default` — Unexpected error

## Changes

- **2026-08-17** `1571b0380bd7` — 2 breaking
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `422`
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `default`
- **2026-08-04** `8f5f4e537994` — 2 breaking
  - the `errors/items/code` response's property type changed from `string` to `integer`, and format from no format to `int32` for status `422`
  - the `errors/items/code` response's property type changed from `string` to `integer`, and format from no format to `int32` for status `default`

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/wireguard_peers/:id/config/get.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/3fdc16374d70/schema)
