LendAPI Sub Tenant API

The Sub Tenant API from LendAPI — 2 operation(s) for sub tenant.

Operations 2

GET /sub_tenant/{tenant_id} Get Sub Tenant #
POST /sub_tenant/ Create Sub Tenant #

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/lendapi-sub-tenant-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

lendapi-sub-tenant-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: lendapi Amortization Sub Tenant API
  version: '1.0'
servers:
- url: https://app.lendapi.com/api/v1/
security:
- sec0: []
tags:
- name: Sub Tenant
paths:
  /sub_tenant/{tenant_id}:
    get:
      summary: Get Sub Tenant
      description: This API returns the information related to the sub tenant.
      operationId: get-sub-tenant
      parameters:
      - name: tenant_id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Sub Tenant
  /sub_tenant/:
    post:
      summary: Create Sub Tenant
      description: 'Creates a new Sub Tenant for the Tenant. client_id is an optional param which represents the external id of the sub-tenant. There are two types of Sub-Tenants: with login or without login. If the Sub Tenant doesn''t need to login, ignore first_name, last_name, email and password fields.'
      operationId: create-sub-tenant
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  description: This is the name of the sub-tenant
                cliend_id:
                  type: string
                  description: The external id of sub-tenant
                first_name:
                  type: string
                  description: The first name of the sub-tenant admin, it is only required if sub-tenant login is enabled.
                last_name:
                  type: string
                  description: The last name of the sub-tenant admin, it is only required if sub-tenant login is enabled
                email:
                  type: string
                  description: The email of the sub-tenant admin, it is only required if sub-tenant login is enabled
                password:
                  type: string
                  description: The password of the sub-tenant admin, it is only required if sub-tenant login is enabled. Password needs to be at least 8 characters, with lower case, upper case and letter.
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Sub Tenant
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: AUTHORIZATION
      x-default: Bearer your_api_key