Skip to main content

Tunnels API

List Tunnels

GET /api/tunnels
Authorization: Bearer TOKEN

Create Tunnel

POST /api/tunnels
Authorization: Bearer TOKEN
Content-Type: application/json

{
"subdomain": "myapp",
"localPort": 3000
}

Get Tunnel

GET /api/tunnels/:id
Authorization: Bearer TOKEN

Delete Tunnel

DELETE /api/tunnels/:id
Authorization: Bearer TOKEN

Tunnel Statistics

GET /api/tunnels/:id/stats
Authorization: Bearer TOKEN