Localtonet Create HTTP Random Sub Domain Tunnel API

The CreateHttpRandomSubDomainTunnel API from Localtonet — 1 operation(s) for createhttprandomsubdomaintunnel.

GitHub OpenAPI

Operations 1

POST /api/CreateHttpRandomSubDomainTunnel Create Http or File Server Tunnel with Random SubDomain #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/localtonet-com:localtonet-com-createhttprandomsubdomaintunnel-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

localtonet-com-createhttprandomsubdomaintunnel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Localtonet API v1 (Legacy) Create HTTP Random Sub Domain…
  description: Legacy API endpoints. Use V2 for RESTful endpoints.
  termsOfService: https://localtonet.com/home/terms
  contact:
    name: Support
    url: https://localtonet.com
    email: support@localtonet.com
  version: v1
security:
- ApiKey:
  - ''
tags:
- name: CreateHttpRandomSubDomainTunnel
paths:
  /api/CreateHttpRandomSubDomainTunnel:
    post:
      tags:
      - CreateHttpRandomSubDomainTunnel
      summary: Create Http or File Server Tunnel with Random SubDomain
      description: 'Protocol Types: HTTP = 1, FileServer = 5 | ServerCodes: Use GetAvailableServers for this'
      parameters:
      - name: X-Api-Version
        in: header
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRandomSubDomainForApiVM'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateRandomSubDomainForApiVM'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateRandomSubDomainForApiVM'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TunnelModelBaseResponseResult'
      operationId: postApiCreateHttpRandomSubDomainTunnel
      x-operation-id-source: derived
components:
  schemas:
    IpRestrictionModel:
      type: object
      properties:
        id:
          type: integer
          format: int64
        tunnelId:
          type: integer
          format: int64
        ipAddress:
          type:
          - string
          - 'null'
        isAllow:
          type: boolean
      additionalProperties: false
    TunnelModel:
      type: object
      properties:
        id:
          type: integer
          format: int64
        guidId:
          type: string
          format: uuid
        title:
          type:
          - string
          - 'null'
        teamId:
          type:
          - integer
          - 'null'
          format: int32
        authTokenName:
          type:
          - string
          - 'null'
        authToken:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
        isOnlyHttps:
          type: boolean
        serverId:
          type:
          - string
          - 'null'
        serverDomain:
          type:
          - string
          - 'null'
        serverIp:
          type:
          - string
          - 'null'
        localServerIp:
          type:
          - string
          - 'null'
        serverPort:
          type:
          - integer
          - 'null'
          format: int32
        isReserved:
          type: boolean
        clientIp:
          type:
          - string
          - 'null'
        clientPort:
          type: integer
          format: int32
        protocolType:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/UserDomainStatus'
        enableBasicAuthentication:
          type: boolean
        authenticationUsername:
          type:
          - string
          - 'null'
        authenticationPassword:
          type:
          - string
          - 'null'
        createDate:
          type:
          - string
          - 'null'
          format: date-time
        useStartedTime:
          type:
          - string
          - 'null'
          format: date-time
        updatedDate:
          type:
          - string
          - 'null'
          format: date-time
        path:
          type:
          - string
          - 'null'
        hostHeader:
          type:
          - string
          - 'null'
        bandwidthLimit:
          type: integer
          format: int64
        bandwidthUsage:
          type: integer
          format: int64
        isSslStream:
          type: boolean
        rewriteHttpPath:
          type:
          - string
          - 'null'
        httpTimeoutSeconds:
          type:
          - integer
          - 'null'
          format: int32
        externalUserId:
          type:
          - string
          - 'null'
        isWifiSplitOn:
          type: boolean
        isAllowIpRestriction:
          type: boolean
        ipRestrictions:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/IpRestrictionModel'
        connectionStatus:
          type: boolean
        userUsbDeviceId:
          type:
          - string
          - 'null'
          format: uuid
      additionalProperties: false
    TunnelModelBaseResponseResult:
      type: object
      properties:
        hasError:
          type: boolean
          readOnly: true
        errorCode:
          type:
          - string
          - 'null'
        errors:
          type:
          - array
          - 'null'
          items:
            type: string
        result:
          $ref: '#/components/schemas/TunnelModel'
      additionalProperties: false
    CreateRandomSubDomainForApiVM:
      type: object
      properties:
        ip:
          type:
          - string
          - 'null'
        port:
          type: integer
          format: int32
        serverCode:
          type:
          - string
          - 'null'
        authToken:
          type:
          - string
          - 'null'
        path:
          type:
          - string
          - 'null'
        protocolType:
          type: integer
          format: int32
        domainName:
          type:
          - string
          - 'null'
        localServerIp:
          type:
          - string
          - 'null'
      additionalProperties: false
    UserDomainStatus:
      enum:
      - 0 = Passive
      - 1 = Active
      type: integer
      format: int32
  securitySchemes:
    ApiKey:
      type: http
      description: You can get ApiKey from https://localtonet.com/dashboard
      scheme: bearer