Get Tunnel Certificate
api/beta/tunnels/certificates/retrieve
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.
api/beta/tunnels/certificates/retrieve Changed · +15 / -16 lines
# Get Tunnel Certificate ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Tunnel Certificate ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Get Tunnel Certificate -url: https://platform.claude.com/docs/en/api/beta/tunnels/certificates/retrieve ---- +# Get Tunnel Certificate -## Get Tunnel Certificate +**GET** `/v1/tunnels/{tunnel_id}/certificates/{certificate_id}` -**get** `/v1/tunnels/{tunnel_id}/certificates/{certificate_id}` - The 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. Fetches a tunnel certificate by ID. -### Path Parameters +## Path parameters - `tunnel_id: string` - `certificate_id: string` -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns -- `BetaTunnelCertificate object { id, archived_at, created_at, 4 more }` +- `BetaTunnelCertificate object` A CA certificate attached to a tunnel.
A timestamp in RFC 3339 format + format: date-time + - `created_at: string` A timestamp in RFC 3339 format + format: date-time + - `expires_at: string or null` A timestamp in RFC 3339 format + format: date-time + - `fingerprint: string` Lowercase hex SHA-256 fingerprint of the certificate's DER encoding.
- `type: "tunnel_certificate"` - - `"tunnel_certificate"` +## Example -### Example - -```http +```bash curl https://api.anthropic.com/v1/tunnels/$TUNNEL_ID/certificates/$CERTIFICATE_ID \ -H 'anthropic-version: 2023-06-01' \ -H 'anthropic-beta: mcp-tunnels-2026-06-22' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {