Postmark · Capability

Postmark API — Bounces

Postmark API — Bounces. 1 operations. Lead operation: Postmark Get bounces. Self-contained Naftiko capability covering one Postmark business surface.

Run with Naftiko PostmarkBounces

What You Can Do

GET
Get — Postmark Get bounces
/v1/bounces

MCP Tools

postmark-get-bounces

Postmark Get bounces

read-only idempotent

Capability Spec

postmark-bounces.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postmark API — Bounces
  description: 'Postmark API — Bounces. 1 operations. Lead operation: Postmark Get bounces. Self-contained Naftiko capability
    covering one Postmark business surface.'
  tags:
  - Postmark
  - Bounces
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMARK_API_KEY: POSTMARK_API_KEY
capability:
  consumes:
  - type: http
    namespace: postmark-bounces
    baseUri: http://{{baseurl}}
    description: Postmark API — Bounces business capability. Self-contained, no shared references.
    resources:
    - name: bounces
      path: /bounces
      operations:
      - name: get
        method: GET
        description: Postmark Get bounces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: string
          description: Number of bounces to return per request. Max 500.
        - name: offset
          in: query
          type: string
          description: Number of bounces to skip.
        - name: type
          in: query
          type: string
          description: Filter by type of bounce
        - name: inactive
          in: query
          type: string
          description: Filter by emails that were deactivated by Postmark due to the bounce. Set to true or false. If this
            isn't specified it will return both active and inactive.
        - name: emailFilter
          in: query
          type: string
          description: Filter by email address
        - name: messageID
          in: query
          type: string
          description: Filter by messageID
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
  exposes:
  - type: rest
    namespace: postmark-bounces-rest
    port: 8080
    description: REST adapter for Postmark API — Bounces. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/bounces
      name: bounces
      description: REST surface for bounces.
      operations:
      - method: GET
        name: get
        description: Postmark Get bounces
        call: postmark-bounces.get
        with:
          count: rest.count
          offset: rest.offset
          type: rest.type
          inactive: rest.inactive
          emailFilter: rest.emailFilter
          messageID: rest.messageID
          tag: rest.tag
          todate: rest.todate
          fromdate: rest.fromdate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: postmark-bounces-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postmark API — Bounces. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: postmark-get-bounces
      description: Postmark Get bounces
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-bounces.get
      with:
        count: tools.count
        offset: tools.offset
        type: tools.type
        inactive: tools.inactive
        emailFilter: tools.emailFilter
        messageID: tools.messageID
        tag: tools.tag
        todate: tools.todate
        fromdate: tools.fromdate
      outputParameters:
      - type: object
        mapping: $.