Reveal Tunnel Token changedapi/beta/tunnels/reveal_token
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+9added
Lines−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
# Reveal Tunnel Token ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Reveal Tunnel Token ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Reveal Tunnel Token
3url: https://platform.claude.com/docs/en/api/beta/tunnels/reveal_token
4---
1# Reveal Tunnel Token
52
6## Reveal Tunnel Token
3**POST** `/v1/tunnels/{tunnel_id}/reveal_token`
74
8**post** `/v1/tunnels/{tunnel_id}/reveal_token`
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
127Reveals a tunnel's connector token. The value is fetched live on each call; Anthropic does not store it. Repeated calls return the same value until the token is rotated. Exposed as POST so the token does not appear in intermediary access logs.
138
14### Path Parameters
9## Path parameters
1510
1611- `tunnel_id: string`
1712
18### Header Parameters
13## Headers
1914
2015- `"anthropic-beta": optional array of AnthropicBeta`
2116
from line 88
9388
9489 - `"mid-conversation-tool-changes-2026-07-01"`
9590
96### Returns
91## Returns
9792
98- `BetaTunnelToken object { id, tunnel_token, type }`
93- `BetaTunnelToken object`
9994
10095 A tunnel's connector token.
10196
from line 104
109104
110105 - `type: "tunnel_token"`
111106
112 - `"tunnel_token"`
107## Example
113108
114### Example
115
116```http
109```bash
117110curl https://api.anthropic.com/v1/tunnels/$TUNNEL_ID/reveal_token \
118111 -X POST \
119112 -H 'anthropic-version: 2023-06-01' \
from line 114
121114 -H "X-Api-Key: $ANTHROPIC_API_KEY"
122115```
123116
124#### Response
117### Response (200)
125118
126119```json
127120{
No line in this hunk matches that.