Postmark · Capability

Postmark API — Message Identifier

Postmark API — Message Identifier. 2 operations. Lead operation: Postmark Retrieve Message Clicks. Self-contained Naftiko capability covering one Postmark business surface.

Run with Naftiko PostmarkMessage Identifier

What You Can Do

GET
Get — Postmark Retrieve Message Clicks
/v1/messages/outbound/clicks/{messageid}
GET
Get — Postmark Retrieve Message Opens
/v1/messages/outbound/opens/{messageid}

MCP Tools

postmark-retrieve-message-clicks

Postmark Retrieve Message Clicks

read-only idempotent
postmark-retrieve-message-opens

Postmark Retrieve Message Opens

read-only idempotent

Capability Spec

postmark-message-identifier.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postmark API — Message Identifier
  description: 'Postmark API — Message Identifier. 2 operations. Lead operation: Postmark Retrieve Message Clicks. Self-contained
    Naftiko capability covering one Postmark business surface.'
  tags:
  - Postmark
  - Message Identifier
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMARK_API_KEY: POSTMARK_API_KEY
capability:
  consumes:
  - type: http
    namespace: postmark-message-identifier
    baseUri: http://{{baseurl}}
    description: Postmark API — Message Identifier business capability. Self-contained, no shared references.
    resources:
    - name: messages-outbound-clicks-messageid
      path: /messages/outbound/clicks/{messageid}
      operations:
      - name: get
        method: GET
        description: Postmark Retrieve Message Clicks
        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: messageid
          in: path
          type: string
          description: The ID of the message which should bypass inbound rules.
          required: true
    - name: messages-outbound-opens-messageid
      path: /messages/outbound/opens/{messageid}
      operations:
      - name: get
        method: GET
        description: Postmark Retrieve Message Opens
        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: messageid
          in: path
          type: string
          description: The ID of the message which should bypass inbound rules.
          required: true
  exposes:
  - type: rest
    namespace: postmark-message-identifier-rest
    port: 8080
    description: REST adapter for Postmark API — Message Identifier. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/messages/outbound/clicks/{messageid}
      name: messages-outbound-clicks-messageid
      description: REST surface for messages-outbound-clicks-messageid.
      operations:
      - method: GET
        name: get
        description: Postmark Retrieve Message Clicks
        call: postmark-message-identifier.get
        with:
          count: rest.count
          offset: rest.offset
          messageid: rest.messageid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/messages/outbound/opens/{messageid}
      name: messages-outbound-opens-messageid
      description: REST surface for messages-outbound-opens-messageid.
      operations:
      - method: GET
        name: get
        description: Postmark Retrieve Message Opens
        call: postmark-message-identifier.get
        with:
          count: rest.count
          offset: rest.offset
          messageid: rest.messageid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: postmark-message-identifier-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postmark API — Message Identifier. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: postmark-retrieve-message-clicks
      description: Postmark Retrieve Message Clicks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-message-identifier.get
      with:
        count: tools.count
        offset: tools.offset
        messageid: tools.messageid
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-retrieve-message-opens
      description: Postmark Retrieve Message Opens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-message-identifier.get
      with:
        count: tools.count
        offset: tools.offset
        messageid: tools.messageid
      outputParameters:
      - type: object
        mapping: $.