Postmark · Capability

Postmark Account API — Templates API

Postmark Account API — Templates API. 1 operations. Lead operation: Postmark Push templates from one server to another. Self-contained Naftiko capability covering one Postmark business surface.

Run with Naftiko PostmarkTemplates API

What You Can Do

PUT
Pushtemplates — Postmark Push templates from one server to another
/v1/templates/push

MCP Tools

postmark-push-templates-one-server

Postmark Push templates from one server to another

idempotent

Capability Spec

account-templates-api.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postmark Account API — Templates API
  description: 'Postmark Account API — Templates API. 1 operations. Lead operation: Postmark Push templates from one server
    to another. Self-contained Naftiko capability covering one Postmark business surface.'
  tags:
  - Postmark
  - Templates API
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMARK_API_KEY: POSTMARK_API_KEY
capability:
  consumes:
  - type: http
    namespace: account-templates-api
    baseUri: ''
    description: Postmark Account API — Templates API business capability. Self-contained, no shared references.
    resources:
    - name: templates-push
      path: /templates/push
      operations:
      - name: pushtemplates
        method: PUT
        description: Postmark Push templates from one server to another
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Postmark-Account-Token
          in: header
          type: string
          description: The token associated with the Account on which this request will operate.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: account-templates-api-rest
    port: 8080
    description: REST adapter for Postmark Account API — Templates API. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/templates/push
      name: templates-push
      description: REST surface for templates-push.
      operations:
      - method: PUT
        name: pushtemplates
        description: Postmark Push templates from one server to another
        call: account-templates-api.pushtemplates
        with:
          X-Postmark-Account-Token: rest.X-Postmark-Account-Token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: account-templates-api-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postmark Account API — Templates API. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: postmark-push-templates-one-server
      description: Postmark Push templates from one server to another
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: account-templates-api.pushtemplates
      with:
        X-Postmark-Account-Token: tools.X-Postmark-Account-Token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.