Live Direct Marketing Prompt Templates API

The Prompt Templates API from Live Direct Marketing — 3 operation(s) for prompt templates.

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/prompt-templates List prompt templates · List prompt templates with optional filters #
Ask an LLM
“Which AI prompt templates do I have, and which are active?”
“Can I filter prompt templates by kind?”
Tell an agent
List prompt templates of kind {kind}.
Show page {page} of active prompt templates, {pageSize} per page.
POST /api/prompt-templates Create a prompt template · Create a new prompt template #
Ask an LLM
“How do I save a new reusable AI prompt template?”
“Can I add my own prompt template for email generation?”
Tell an agent
Create a new prompt template.
Save this prompt as a reusable template.
GET /api/prompt-templates/{id} Get a prompt template · Get a single prompt template by id #
Ask an LLM
“Can I view the text of one prompt template?”
“How do I look up a prompt template by id?”
Tell an agent
Get prompt template {id}.
Show the contents of prompt template {id}.
PATCH /api/prompt-templates/{id} Update a prompt template · Update a prompt template #
Ask an LLM
“How do I edit an existing prompt template?”
“Can I deactivate a prompt template without deleting it?”
Tell an agent
Update prompt template {id}.
Edit the wording of prompt template {id}.
DELETE /api/prompt-templates/{id} Delete a prompt template · Delete a prompt template #
Ask an LLM
“Can I delete a prompt template I no longer use?”
“Is removing a prompt template permanent?”
Tell an agent destructive · confirm first
Delete prompt template {id}.
Remove prompt template {id}.
POST /api/prompt-templates/{idOrName}/render Render a prompt template with variables · Render a prompt template (by id or name) with caller variables #
Ask an LLM
“Can I fill in a prompt template's variables to see the final prompt?”
“Can I render a prompt template by its name instead of its id?”
Tell an agent
Render prompt template {idOrName} with my variables.
Preview the filled-in prompt for template {idOrName}.

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/live-direct-marketing-online:live-direct-marketing-online-prompt-templates-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

live-direct-marketing-online-prompt-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LDM v3 Prompt Templates API
  description: 'Multi-tenant B2B outreach automation platform. Auth: JWT Bearer (15-min) or tenant API key (ldm_*) managed in CRM Settings → API Keys. All tenant-scoped endpoints require the X-Tenant-Id header.'
  version: 1.0.0
  contact: {}
servers:
- url: https://api.live-direct-marketing.online
  description: Production
- url: https://api.dev.live-direct-marketing.online
  description: Development
- url: http://127.0.0.1:3000
  description: Local
tags:
- name: Prompt Templates
paths:
  /api/prompt-templates:
    get:
      operationId: PromptTemplatesController_list
      parameters:
      - name: kind
        required: true
        in: query
        schema:
          type: string
      - name: isActive
        required: true
        in: query
        schema:
          type: string
      - name: page
        required: true
        in: query
        schema:
          type: string
      - name: pageSize
        required: true
        in: query
        schema:
          type: string
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Tenant UUID — required for all tenant-scoped endpoints
      responses:
        '200':
          description: ''
      security:
      - jwt: []
      summary: List prompt templates with optional filters
      tags:
      - Prompt Templates
    post:
      operationId: PromptTemplatesController_create
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Tenant UUID — required for all tenant-scoped endpoints
      responses:
        '201':
          description: ''
      security:
      - jwt: []
      summary: Create a new prompt template
      tags:
      - Prompt Templates
  /api/prompt-templates/{id}:
    get:
      operationId: PromptTemplatesController_get
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Tenant UUID — required for all tenant-scoped endpoints
      responses:
        '200':
          description: ''
      security:
      - jwt: []
      summary: Get a single prompt template by id
      tags:
      - Prompt Templates
    patch:
      operationId: PromptTemplatesController_update
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Tenant UUID — required for all tenant-scoped endpoints
      responses:
        '200':
          description: ''
      security:
      - jwt: []
      summary: Update a prompt template
      tags:
      - Prompt Templates
    delete:
      operationId: PromptTemplatesController_delete
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Tenant UUID — required for all tenant-scoped endpoints
      responses:
        '200':
          description: ''
      security:
      - jwt: []
      summary: Delete a prompt template
      tags:
      - Prompt Templates
  /api/prompt-templates/{idOrName}/render:
    post:
      operationId: PromptTemplatesController_render
      parameters:
      - name: idOrName
        required: true
        in: path
        schema:
          type: string
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          type: string
          format: uuid
        description: Tenant UUID — required for all tenant-scoped endpoints
      responses:
        '201':
          description: ''
      security:
      - jwt: []
      summary: Render a prompt template (by id or name) with caller variables
      tags:
      - Prompt Templates
components:
  securitySchemes:
    jwt:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT access token from /auth/login (Bearer <token>)
    tenant-api-key:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Tenant API key (Bearer ldm_*) for MCP/A2A clients. Issued via CRM Settings → API Keys.
    rpa-service:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Dedicated RPA service key. No tenant API-key or query-key authentication.