Hotglue Tenants API

The Tenants API from Hotglue — 2 operation(s) for tenants.

Operations 2

GET /tenants/{env_id} Retrieve tenants #
PUT /tenants/{env_id}/schedule Toggle schedule #

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/hotglue:hotglue-tenants-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

hotglue-tenants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: hotglue Tenants API
  version: '1.2'
servers:
- url: https://api.hotglue.com
security:
- sec0: []
tags:
- name: Tenants
paths:
  /tenants/{env_id}:
    get:
      summary: Retrieve tenants
      description: Returns a list of tenants that exist in an environment
      operationId: tenants-retrieve
      parameters:
      - name: env_id
        in: path
        description: ID of environment
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                  - 123
                  - 456
                  - 789
              schema:
                type: array
                items:
                  type: string
                  example: 123
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Tenants
  /tenants/{env_id}/schedule:
    put:
      summary: Toggle schedule
      description: Disable, enable, and manage schedules across tenants in your environment
      operationId: tenants-toggle-schedule
      parameters:
      - name: env_id
        in: path
        description: ID of environment
        schema:
          type: string
        required: true
      - name: mode
        in: query
        description: By default, the toggle endpoint only applies to tenants who already have (or had) schedules. Passing ?mode=upsert will apply schedules to tenants whether or not they currently have schedules
        schema:
          type: string
          enum:
          - upsert
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                toggle:
                  type: string
                  description: Used to toggle all schedules in this environment
                  enum:
                  - enable
                  - disable
                flows:
                  type: array
                  description: List of flow ids to apply this operation for
                  items:
                    type: string
                tenants:
                  type: array
                  description: List of tenants to apply this operation for
                  items:
                    type: string
                expression:
                  type: string
                  description: Can be "default" to use the admin schedule or a cron expression. Will be applied for all tenants
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    toggle: enabled
                    updated: 1
              schema:
                type: object
                properties:
                  toggle:
                    type: string
                    example: enable
                  updated:
                    type: integer
                    example: 1
                    default: 0
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Tenants
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: x-api-key
x-readme:
  headers: []
  explorer-enabled: true
  proxy-enabled: true
  samples-enabled: true
x-readme-fauxas: true
x-provenance:
  method: harvested
  publisher: Hotglue
  source: https://docs.hotglue.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)