Lokki Email Template API

The Email Template API from Lokki — 4 operation(s) for email template.

Operations 5

GET /v2/email-template/byCompany #
GET /v2/email-template/byId/{id} #
DELETE /v2/email-template/byId/{id} #
POST /v2/email-template #
PUT /v2/email-template/{templateId} #

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/lokki-email-template-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

lokki-email-template-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lokki Email Template API
  description: The main API powering the Lokki Dashboard and Online Store
  version: '2.0'
  contact: {}
servers: []
security:
- x-access-token: []
tags:
- name: Email Template
paths:
  /v2/email-template/byCompany:
    get:
      operationId: getEmailTemplatesByCompany
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EmailTemplate'
      tags:
      - Email Template
  /v2/email-template/byId/{id}:
    get:
      operationId: getEmailTemplateById
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplate'
      tags:
      - Email Template
    delete:
      operationId: deleteEmailTemplateById
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Email Template
  /v2/email-template:
    post:
      operationId: createEmailTemplate
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEmailTemplateDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplate'
      tags:
      - Email Template
  /v2/email-template/{templateId}:
    put:
      operationId: updateEmailTemplate
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateEmailTemplateDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplate'
      tags:
      - Email Template
components:
  schemas:
    LocalizedContent:
      type: object
      additionalProperties:
        type: string
    UpdateEmailTemplateDto:
      type: object
      properties:
        id:
          type: string
        companyId:
          type: string
        type:
          type: string
        object:
          $ref: '#/components/schemas/LocalizedContent'
        content:
          $ref: '#/components/schemas/LocalizedContent'
        documentState:
          type: object
        documents:
          type: object
        payment:
          type: number
        bail:
          type: number
        hideTime:
          type: boolean
        hideDate:
          type: boolean
      required:
      - companyId
      - type
      - object
      - content
    CreateEmailTemplateDto:
      type: object
      properties:
        companyId:
          type: string
        type:
          type: string
        object:
          $ref: '#/components/schemas/LocalizedContent'
        content:
          $ref: '#/components/schemas/LocalizedContent'
        documentId:
          type: string
        method:
          type: string
        payment:
          type: number
        bail:
          type: number
        methodState:
          type: string
        hideTime:
          type: boolean
        hideDate:
          type: boolean
      required:
      - companyId
      - type
      - object
      - content
    EmailTemplate:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        object:
          $ref: '#/components/schemas/LocalizedContent'
        content:
          $ref: '#/components/schemas/LocalizedContent'
        companyId:
          type: string
        documents:
          $ref: '#/components/schemas/EmailTemplateDocument'
        documentState:
          $ref: '#/components/schemas/EmailTemplateDocument'
        payment:
          type: number
        bail:
          type: number
        hideTime:
          type: boolean
        hideDate:
          type: boolean
        createdAt:
          format: date-time
          type: string
      required:
      - id
      - type
      - object
      - content
      - companyId
      - payment
      - bail
      - hideTime
      - hideDate
      - createdAt
    EmailTemplateDocument:
      type: object
      properties:
        id:
          type: string
        method:
          type: string
      required:
      - id
      - method
  securitySchemes:
    x-access-token:
      scheme: bearer
      bearerFormat: JWT
      type: apiKey
      in: header
      name: x-access-token