DealHub Template Script API

The TemplateScript API from DealHub — 1 operation(s) for templatescript.

Operations 3

GET /templateScript Fetch template scripts #
POST /templateScript Add a new template script #
DELETE /templateScript Disable a template script #

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/dealhub-templatescript-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

dealhub-templatescript-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Subskribe Template Script API
servers:
- url: https://api.app.subskribe.com
security:
- ApiKeyAuth: []
tags:
- name: TemplateScript
paths:
  /templateScript:
    get:
      tags:
      - TemplateScript
      summary: Fetch template scripts
      description: Returns a list of template scripts of a certain type
      operationId: getTemplateScripts
      parameters:
      - name: templateType
        in: query
        required: false
        schema:
          type: string
          enum:
          - ORDER
          - COMPOSITE_ORDER
          - INVOICE
          - CREDIT_MEMO
          - PREDEFINED_TERM
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TemplateScript'
    post:
      tags:
      - TemplateScript
      summary: Add a new template script
      description: ''
      operationId: addTemplateScript
      requestBody:
        $ref: '#/components/requestBodies/TemplateScript'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateScript'
    delete:
      tags:
      - TemplateScript
      summary: Disable a template script
      description: ''
      operationId: disableTemplateScript
      requestBody:
        $ref: '#/components/requestBodies/TemplateScript'
      responses:
        default:
          description: successful operation
components:
  schemas:
    TemplateScript:
      type: object
      required:
      - enabled
      - script
      - templateType
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        templateType:
          type: string
          readOnly: true
          enum:
          - ORDER
          - COMPOSITE_ORDER
          - INVOICE
          - CREDIT_MEMO
          - PREDEFINED_TERM
        script:
          type: string
          readOnly: true
        enabled:
          type: boolean
          readOnly: true
        createdBy:
          type: string
          readOnly: true
        createdOn:
          type: integer
          format: int64
          readOnly: true
        updatedOn:
          type: integer
          format: int64
          readOnly: true
  requestBodies:
    TemplateScript:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TemplateScript'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key