Skip to content
onelayer.
All tools

Tool detail

TempVPN · Activate a paid balance on any currently eligible node

Attaches a WireGuard public key to a paid TempVPN session and assigns it to an available node, returning the tunnel address and connection parameters.

Categories: Domains IP

Use when

  • connect a purchased VPN session to an available node
  • get WireGuard tunnel parameters after buying VPN time
  • reconnect a paused VPN session from a new node

Not for

  • not for purchasing VPN time itself, that happens when the session is created
  • not for checking remaining balance, use the session status endpoint

Inputs

Path param session_id; POST JSON body: { node_id: string, client_public_key: string (44-char base64 WireGuard key) } (both required).

Admitted input schema

{
  "type": "object",
  "properties": {
    "node_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "ID of a currently available node returned by GET /nodes."
    },
    "client_public_key": {
      "type": "string",
      "minLength": 44,
      "maxLength": 44,
      "pattern": "^[A-Za-z0-9+/]{43}=$",
      "description": "Canonical base64-encoded 32-byte WireGuard public key. Generate the matching private key locally and never send it.",
      "examples": [
        "BwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwc="
      ]
    }
  },
  "required": [
    "node_id",
    "client_public_key"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://registry.tempvpn.xyz/sessions/{session_id}/connect

Payment

Protocol
None listed
Listed price
Not listed

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Directory
MPP directory
Record
tempvpn POST /sessions/:session_id/connect
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z