Skip to content
Inkbox

Inkbox

DocsPricingBlogContact
GuidesAPI Reference

Ctrl K

GuidesAPI Reference

Jump to

Manage Tunnels

A read-mostly surface on tunnel resources: list, get, and update metadata. Tunnels are provisioned and destroyed via the identity surface — see Create identity and Delete identity. See the Tunnels API overview for naming rules, lifecycle states, and TLS modes.


List tunnels GET

GET /tunnels

List all tunnels in the caller's organization. Each entry includes a live currently_connected flag.

Response (200)

JSONJSON

Code examples


Get tunnel GET

GET /tunnels/{tunnel_id}

Fetch a single tunnel by ID. Includes a live currently_connected flag.

Path parameters

ParameterTypeDescription
tunnel_idUUIDTunnel ID

Code examples


Update tunnel PATCH

PATCH /tunnels/{tunnel_id}

Update the tunnel's metadata. tunnel_name and tls_mode are immutable — renames flow from identity-handle renames, and TLS mode is fixed at creation.

Path parameters

ParameterTypeDescription
tunnel_idUUIDTunnel ID

Request body

FieldTypeRequiredDescription
metadataobject | nullNoFree-form JSON object for your own use, capped at 4 KB serialized. Pass {} or null to clear; omit to leave unchanged. Returned as-is on read.

Code examples


Tunnel object

FieldTypeDescription
idUUIDUnique tunnel identifier
organization_idstringOwning organization
tunnel_namestringSubdomain label. Tracks the owning identity's handle; renames flow from identity-handle renames. Hostname is e.g. my-agent.inkboxwire.com.
public_hoststringFully qualified public hostname for this tunnel (e.g. my-agent.inkboxwire.com). The third-party-facing endpoint.
zonestringTunnel zone host (inkboxwire.com). Your agent connects to https://{zone}/_system/connect.
tls_modestring"edge" or "passthrough". Immutable.
cert_pemstring | nullSigned cert PEM (passthrough only, after first /sign-csr)
cert_fingerprint_sha256string | nullSHA-256 fingerprint of cert_pem, useful for monitoring rotations
cert_expires_atstring | nullISO 8601 expiry of cert_pem. Renew before this date.
statusstringawaiting_cert or active
last_connected_atstring | nullISO 8601 timestamp of the most recent agent connection
last_connected_ip_addrstring | nullClient IP recorded at the most recent agent connection
currently_connectedbooleantrue if at least one agent connection is currently registered
metadataobjectFree-form JSON object set via PATCH; capped at 4 KB serialized. Returned as-is. Defaults to {}.
created_atstringISO 8601
updated_atstringISO 8601

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Y CombinatorBacked by Y Combinator
Manage Tunnels