Telnyx · Schema

WireguardPeerCreate

CommunicationsCPaaSVoiceSMSIoTTelecommunicationsMessagingArtificial IntelligenceMCPVoice AIPhone NumbersInferenceNumber VerificationPhone VerificationOTP2FALookupVerifyNumber LookupCNAMIdentityFraud Prevention

Properties

Name Type Description
created_at string ISO 8601 formatted date-time indicating when the resource was created.
id string Identifies the resource.
record_type string Identifies the type of the resource.
updated_at string ISO 8601 formatted date-time indicating when the resource was updated.
public_key string The WireGuard `PublicKey`.

If you do not provide a Public Key, a new Public and Private key pair will be generated for you.
last_seen string ISO 8601 formatted date-time indicating when peer sent traffic last time.
private_key string Your WireGuard `Interface.PrivateKey`.

This attribute is only ever utlised if, on POST, you do NOT provide your own `public_key`. In which case, a new Public and Private key pair will be ge
wireguard_interface_id string The id of the wireguard interface associated with the peer.
View JSON Schema on GitHub

JSON Schema

telnyx-wireguard-peer-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-wireguard-peer-create-schema.json",
  "title": "WireguardPeerCreate",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-wireguard-interfaces-api-openapi.yml#/components/schemas/WireguardPeerCreate",
  "allOf": [
    {
      "$ref": "#/$defs/WireguardPeer"
    },
    {
      "required": [
        "wireguard_interface_id"
      ],
      "title": "WireguardPeerCreate",
      "type": "object"
    }
  ],
  "$defs": {
    "Record": {
      "properties": {
        "created_at": {
          "description": "ISO 8601 formatted date-time indicating when the resource was created.",
          "readOnly": true,
          "type": "string"
        },
        "id": {
          "description": "Identifies the resource.",
          "format": "uuid",
          "readOnly": true,
          "type": "string"
        },
        "record_type": {
          "description": "Identifies the type of the resource.",
          "readOnly": true,
          "type": "string"
        },
        "updated_at": {
          "description": "ISO 8601 formatted date-time indicating when the resource was updated.",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "WireguardPeer": {
      "allOf": [
        {
          "$ref": "#/$defs/Record"
        },
        {
          "$ref": "#/$defs/WireguardPeerPatch"
        },
        {
          "properties": {
            "last_seen": {
              "description": "ISO 8601 formatted date-time indicating when peer sent traffic last time.",
              "readOnly": true,
              "type": "string"
            },
            "private_key": {
              "description": "Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever utlised if, on POST, you do NOT provide your own `public_key`. In which case, a new Public and Private key pair will be generated for you. When your `private_key` is returned, you must save this immediately as we do not save it within Telnyx. If you lose your Private Key, it can not be recovered.",
              "readOnly": true,
              "type": "string"
            },
            "record_type": {
              "description": "Identifies the type of the resource.",
              "readOnly": true,
              "type": "string"
            },
            "wireguard_interface_id": {
              "description": "The id of the wireguard interface associated with the peer.",
              "format": "uuid",
              "type": "string"
            }
          },
          "title": "WireguardPeer",
          "type": "object"
        }
      ]
    },
    "WireguardPeerPatch": {
      "properties": {
        "public_key": {
          "description": "The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new Public and Private key pair will be generated for you.",
          "type": "string"
        }
      },
      "title": "WireguardPeerPatch",
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/telnyx-wireguard-peer-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.