Create Tunnel changedapi/beta/tunnels/create
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+15added
Lines−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
# Create Tunnel ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Create Tunnel ### Header Parameters ### Body Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Create Tunnel
3url: https://platform.claude.com/docs/en/api/beta/tunnels/create
4---
1# Create Tunnel
52
6## Create Tunnel
3**POST** `/v1/tunnels`
74
8**post** `/v1/tunnels`
9
105The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window.
116
127Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; it is not idempotent. The new tunnel rejects MCP traffic until at least one CA certificate is added.
138
14### Header Parameters
9## Headers
1510
1611- `"anthropic-beta": optional array of AnthropicBeta`
1712
from line 84
8984
9085 - `"mid-conversation-tool-changes-2026-07-01"`
9186
92### Body Parameters
87## Body parameters
9388
9489- `display_name: optional string or null`
9590
9691 Optional human-readable name for the tunnel (1-255 characters).
9792
98### Returns
93 minLength: 1, maxLength: 255
9994
100- `BetaTunnel object { id, archived_at, created_at, 3 more }`
95## Returns
10196
97- `BetaTunnel object`
98
10299 An MCP tunnel.
103100
104101 - `id: string`
from line 106
109106
110107 A timestamp in RFC 3339 format
111108
109 format: date-time
110
112111 - `created_at: string`
113112
114113 A timestamp in RFC 3339 format
115114
115 format: date-time
116
116117 - `display_name: string or null`
117118
118119 Human-readable name for the tunnel (1-255 characters). Null if unset.
from line 124
123124
124125 - `type: "tunnel"`
125126
126 - `"tunnel"`
127## Example
127128
128### Example
129
130```http
129```bash
131130curl https://api.anthropic.com/v1/tunnels \
132131 -H 'Content-Type: application/json' \
133132 -H 'anthropic-version: 2023-06-01' \
from line 135
136135 -d '{}'
137136```
138137
139#### Response
138### Response (200)
140139
141140```json
142141{
No line in this hunk matches that.