Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    Get Cloudflare zero trust tunnel

    One tunnel in depth: connectors and their Cloudflare locations, routes managed in Cloudflare and private network routes. Never origin IPs, tokens or origin addresses. Read-only, and only for accounts the caller may read whole and no other customer shares.

    GET/api/services/cloudflare/zero-trust/tunnel

    Authorizations

    Send one of these:

    AuthorizationstringAccess tokenheaderrequired

    Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login.

    AuthorizationstringAPI keyheaderrequired

    Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Read-only keys work. See organisation API keys.

    Permissions checkedread:services

    Query Parameters

    accountIdstring
    customerIdstring
    tunnelIdstring

    Body

    application/json

    The catalog has no JSON Schema for this body. One validates it with the schema below.

    Validation schema
    QuerySchema = z.object({
      customerId: z.string().uuid('Invalid customer ID format'),
      accountId: z.string().regex(CLOUDFLARE_ACCOUNT_ID, 'Invalid account ID format'),
      tunnelId: z.string().regex(ZERO_TRUST_RESOURCE_ID, 'Invalid tunnel ID format'),
    })

    Response

    Success

    More about this endpoint in the guide.

    Was this page helpful?