Postmark · Capability

Postmark API — Batch

Postmark API — Batch. 2 operations. Lead operation: Postmark Send a batch of emails. Self-contained Naftiko capability covering one Postmark business surface.

Run with Naftiko PostmarkBatch

What You Can Do

POST
Post — Postmark Send a batch of emails
/v1/email/batch
POST
Post — Postmark Send a batch of email using templates.
/v1/email/batchwithtemplates

MCP Tools

postmark-send-batch-emails

Postmark Send a batch of emails

postmark-send-batch-email-using

Postmark Send a batch of email using templates.

Capability Spec

postmark-batch.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postmark API — Batch
  description: 'Postmark API — Batch. 2 operations. Lead operation: Postmark Send a batch of emails. Self-contained Naftiko
    capability covering one Postmark business surface.'
  tags:
  - Postmark
  - Batch
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMARK_API_KEY: POSTMARK_API_KEY
capability:
  consumes:
  - type: http
    namespace: postmark-batch
    baseUri: http://{{baseurl}}
    description: Postmark API — Batch business capability. Self-contained, no shared references.
    resources:
    - name: email-batch
      path: /email/batch
      operations:
      - name: post
        method: POST
        description: Postmark Send a batch of emails
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: email-batchWithTemplates
      path: /email/batchWithTemplates
      operations:
      - name: post
        method: POST
        description: Postmark Send a batch of email using templates.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: postmark-batch-rest
    port: 8080
    description: REST adapter for Postmark API — Batch. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/email/batch
      name: email-batch
      description: REST surface for email-batch.
      operations:
      - method: POST
        name: post
        description: Postmark Send a batch of emails
        call: postmark-batch.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/email/batchwithtemplates
      name: email-batchwithtemplates
      description: REST surface for email-batchWithTemplates.
      operations:
      - method: POST
        name: post
        description: Postmark Send a batch of email using templates.
        call: postmark-batch.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: postmark-batch-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postmark API — Batch. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: postmark-send-batch-emails
      description: Postmark Send a batch of emails
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: postmark-batch.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-send-batch-email-using
      description: Postmark Send a batch of email using templates.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: postmark-batch.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.