Skip to main content

List team tunnels

get/v1/team/tunnels

List team tunnels (for team admins)

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • page_size integer<int64>
  • page integer<int64>
  • user_id integer<int64>

    Only tunnels of the user with this ID; 0 means tunnels of all members

  • search string

    Case-insensitive search by address (domain, or domain:port for TCP; the https:// or tcp:// scheme can be left in), tunnel name, hostname, and owner name and email

  • order_by string

    Sort order: created_at (default, newest first), address (by domain and port), owner (by owner name, or email if there is no name)

Response

  • Array [
  • activeboolean

    Whether it is currently active

    Example: true
    api_key_idinteger<int64>

    API key ID

    app object
    domainstring
    idinteger<int64>
    logo_urlstring
    namestring
    archstring

    Architecture

    Example: amd64
    client_namestring

    Client name

    Example: my-laptop
    client_versioninteger<uint8>

    Client version

    created_atstring<date-time>

    Creation date

    deleted_atstring<date-time>

    Deletion date

    desktop_iconstring

    Tunnel icon

    domain_namestring

    Domain name

    Example: demo-app.tuna.am
    domain_typestring

    Domain type

    Possible values: [dynamic, static, external, free]

    endpoint_aliasstring

    Port alias

    Example: postgres
    endpoint_portinteger<uint32>

    Port

    Possible values: <= 65535

    Example: 40000
    endpoint_typestring

    Port type

    Possible values: [dynamic, static]

    forwards_tostring

    Forwards to

    Example: 127.0.0.1:3000
    hostnamestring

    Hostname

    idinteger<int64>

    Tunnel ID

    Example: 42
    locationstring

    Location

    Possible values: [ru, nl, global]

    Example: ru
    namestring

    Tunnel name

    node object
    idinteger<int64>

    Node ID

    Example: 128
    locationstring

    Location

    Possible values: [global, nl, ru, unknown]

    Example: nl
    namestring

    Node name

    Example: edge-ams-1
    osstring

    Client OS

    Example: linux
    owner object
    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    protocolstring

    Protocol

    Possible values: [http, tcp]

    Example: http
    protocol_handlerstring

    Protocol handler

    Possible values: [``, sshd, postgres, redis, mysql, file-server, webdav, kubernetes, 1c]

    public_urlstring

    Public URL

    Example: https://demo-app.tuna.am
    ssh_sessionsinteger<int64>

    Number of recorded SSH sessions

    started_atstring<date-time>

    Start date

    tunnel_session_idstring

    Tunnel session ID

    uidstring

    Tunnel UID

    Example: 2dBvKpR7Wm2vXtL8Hc6sFjY3bQe
    user_session_idinteger<int64>

    User session ID

  • ]