Tunnels of an organisation, newest first
GET/v1/orgs/{org}/tunnels
API token or dashboard session
Tunnels of an organisation, newest first.
Path parameters
orgstringpathrequiredOrganisation slug
Responses
200Tunnel[]
Fields of Tunnel
addressstringrequiredWhat to give to whoever should reach the tunnel: a URL for HTTP,
host:portotherwise.agentsintegerrequiredAgents currently connected. Zero means the tunnel is offline.
created_atdate-timerequiredhostnamestringrequirediduuidrequiredmachine_iduuid | nullThe machine that serves it. Absent for a tunnel not yet attached to one.
namestringrequiredportinteger | nullPublic port, for TCP and UDP tunnels.
protocolProtocolrequiredtargetstring | nullThe local service it leads to on that machine:
host:port.
curl "https://api.infraflow.app/v1/orgs/acme/tunnels" \ -H "Authorization: Bearer $INFRAFLOW_TOKEN"
[
{
"address": "string",
"agents": 0,
"created_at": "2026-01-15T09:30:00Z",
"hostname": "www.example.com",
"id": "0197b2a4-5c1e-7d3a-9f10-4b6c8e2a1d55",
"machine_id": "0197b2a4-5c1e-7d3a-9f10-4b6c8e2a1d55",
"name": "my-app",
"port": 3000,
"protocol": "http",
"target": "3000"
}
]