naftiko: 1.0.0-alpha2 info: label: Postmark Account API — Sender Signatures API description: 'Postmark Account API — Sender Signatures API. 8 operations. Lead operation: Postmark List Sender Signatures. Self-contained Naftiko capability covering one Postmark business surface.' tags: - Postmark - Sender Signatures 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-sender-signatures-api baseUri: '' description: Postmark Account API — Sender Signatures API business capability. Self-contained, no shared references. resources: - name: senders path: /senders operations: - name: listsendersignatures method: GET description: Postmark List Sender Signatures 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: count in: query type: integer description: Number of records to return per request. Max 500. required: true - name: offset in: query type: integer description: Number of records to skip required: true - name: createsendersignature method: POST description: Postmark Create a Sender Signature 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: false - name: senders-signatureid path: /senders/{signatureid} operations: - name: getsendersignature method: GET description: Postmark Get a Sender Signature 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: signatureid in: path type: integer description: The ID for the Sender Signature that should be retrieved. required: true - name: editsendersignature method: PUT description: Postmark Update a Sender Signature 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: signatureid in: path type: integer description: The ID for the Sender Signature that should be modified by the request. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletesendersignature method: DELETE description: Postmark Delete a Sender Signature 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: signatureid in: path type: integer description: The ID for the Sender Signature that should be deleted by the request. required: true - name: senders-signatureid-requestnewdkim path: /senders/{signatureid}/requestnewdkim operations: - name: requestnewdkimkeyforsendersignature method: POST description: Postmark Request a new DKIM Key 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: signatureid in: path type: integer description: The ID for the Sender Signature for which a new DKIM Key should be generated. required: true - name: senders-signatureid-resend path: /senders/{signatureid}/resend operations: - name: resendsendersignatureconfirmationemail method: POST description: Postmark Resend Signature Confirmation Email 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: signatureid in: path type: integer description: The ID for the Sender Signature that should have its confirmation email resent. required: true - name: senders-signatureid-verifyspf path: /senders/{signatureid}/verifyspf operations: - name: requestspfverificationforsendersignature method: POST description: Postmark Request DNS Verification for SPF 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: signatureid in: path type: integer description: The ID for the Sender Signature for which SPF DNS records should be verified. required: true exposes: - type: rest namespace: account-sender-signatures-api-rest port: 8080 description: REST adapter for Postmark Account API — Sender Signatures API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/senders name: senders description: REST surface for senders. operations: - method: GET name: listsendersignatures description: Postmark List Sender Signatures call: account-sender-signatures-api.listsendersignatures with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token count: rest.count offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createsendersignature description: Postmark Create a Sender Signature call: account-sender-signatures-api.createsendersignature with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token body: rest.body outputParameters: - type: object mapping: $. - path: /v1/senders/{signatureid} name: senders-signatureid description: REST surface for senders-signatureid. operations: - method: GET name: getsendersignature description: Postmark Get a Sender Signature call: account-sender-signatures-api.getsendersignature with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token signatureid: rest.signatureid outputParameters: - type: object mapping: $. - method: PUT name: editsendersignature description: Postmark Update a Sender Signature call: account-sender-signatures-api.editsendersignature with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token signatureid: rest.signatureid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesendersignature description: Postmark Delete a Sender Signature call: account-sender-signatures-api.deletesendersignature with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token signatureid: rest.signatureid outputParameters: - type: object mapping: $. - path: /v1/senders/{signatureid}/requestnewdkim name: senders-signatureid-requestnewdkim description: REST surface for senders-signatureid-requestnewdkim. operations: - method: POST name: requestnewdkimkeyforsendersignature description: Postmark Request a new DKIM Key call: account-sender-signatures-api.requestnewdkimkeyforsendersignature with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token signatureid: rest.signatureid outputParameters: - type: object mapping: $. - path: /v1/senders/{signatureid}/resend name: senders-signatureid-resend description: REST surface for senders-signatureid-resend. operations: - method: POST name: resendsendersignatureconfirmationemail description: Postmark Resend Signature Confirmation Email call: account-sender-signatures-api.resendsendersignatureconfirmationemail with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token signatureid: rest.signatureid outputParameters: - type: object mapping: $. - path: /v1/senders/{signatureid}/verifyspf name: senders-signatureid-verifyspf description: REST surface for senders-signatureid-verifyspf. operations: - method: POST name: requestspfverificationforsendersignature description: Postmark Request DNS Verification for SPF call: account-sender-signatures-api.requestspfverificationforsendersignature with: X-Postmark-Account-Token: rest.X-Postmark-Account-Token signatureid: rest.signatureid outputParameters: - type: object mapping: $. - type: mcp namespace: account-sender-signatures-api-mcp port: 9090 transport: http description: MCP adapter for Postmark Account API — Sender Signatures API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: postmark-list-sender-signatures description: Postmark List Sender Signatures hints: readOnly: true destructive: false idempotent: true call: account-sender-signatures-api.listsendersignatures with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token count: tools.count offset: tools.offset outputParameters: - type: object mapping: $. - name: postmark-create-sender-signature description: Postmark Create a Sender Signature hints: readOnly: false destructive: false idempotent: false call: account-sender-signatures-api.createsendersignature with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token body: tools.body outputParameters: - type: object mapping: $. - name: postmark-get-sender-signature description: Postmark Get a Sender Signature hints: readOnly: true destructive: false idempotent: true call: account-sender-signatures-api.getsendersignature with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token signatureid: tools.signatureid outputParameters: - type: object mapping: $. - name: postmark-update-sender-signature description: Postmark Update a Sender Signature hints: readOnly: false destructive: false idempotent: true call: account-sender-signatures-api.editsendersignature with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token signatureid: tools.signatureid body: tools.body outputParameters: - type: object mapping: $. - name: postmark-delete-sender-signature description: Postmark Delete a Sender Signature hints: readOnly: false destructive: true idempotent: true call: account-sender-signatures-api.deletesendersignature with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token signatureid: tools.signatureid outputParameters: - type: object mapping: $. - name: postmark-request-new-dkim-key description: Postmark Request a new DKIM Key hints: readOnly: false destructive: false idempotent: false call: account-sender-signatures-api.requestnewdkimkeyforsendersignature with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token signatureid: tools.signatureid outputParameters: - type: object mapping: $. - name: postmark-resend-signature-confirmation-email description: Postmark Resend Signature Confirmation Email hints: readOnly: false destructive: false idempotent: false call: account-sender-signatures-api.resendsendersignatureconfirmationemail with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token signatureid: tools.signatureid outputParameters: - type: object mapping: $. - name: postmark-request-dns-verification-spf description: Postmark Request DNS Verification for SPF hints: readOnly: false destructive: false idempotent: false call: account-sender-signatures-api.requestspfverificationforsendersignature with: X-Postmark-Account-Token: tools.X-Postmark-Account-Token signatureid: tools.signatureid outputParameters: - type: object mapping: $.