---
title: "Show all tunnels from a socket"
method: GET
path: "/socket/{socket_id_or_name}/tunnel"
---

# Show all tunnels from a socket

`GET /socket/{socket_id_or_name}/tunnel`

## Request

- Base URL: `https://api.border0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.border0.com/socket/{socket_id_or_name}/tunnel`
- Auth: API key in header `Authorization`

## Path parameters

- `socket_id_or_name` string, required

## Response `200`

OK

- SerializerTunnel[]
  - `local_port` integer
  - `tunnel_id` string
  - `tunnel_server` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/border0/apis/border0-api.md) - [All operations](https://skmtc.dev/border0/apis/border0-api/llms.txt) - [OpenAPI document](https://skmtc.dev/border0/apis/border0-api/revisions/f0ccef7418d8?raw)
