Pitney Bowes · Capability

Pitney Bowes Shipping API

Pitney Bowes Shipping API. 1 operations. Lead operation: Get OAuth access token. Self-contained Naftiko capability covering one Pitney Bowes business surface.

Run with Naftiko Pitney Bowes

What You Can Do

POST
Getoauthtoken — Get OAuth access token
/v1/oauth/token

MCP Tools

get-oauth-access-token

Get OAuth access token

read-only

Capability Spec

pitney-bowes-general.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pitney Bowes Shipping API
  description: 'Pitney Bowes Shipping API. 1 operations. Lead operation: Get OAuth access token. Self-contained Naftiko capability
    covering one Pitney Bowes business surface.'
  tags:
  - Pitney Bowes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PITNEY_BOWES_API_KEY: PITNEY_BOWES_API_KEY
capability:
  consumes:
  - type: http
    namespace: pitney-bowes-general
    baseUri: https://shipping-api.pitneybowes.com
    description: Pitney Bowes Shipping API business capability. Self-contained, no shared references.
    resources:
    - name: oauth-token
      path: /oauth/token
      operations:
      - name: getoauthtoken
        method: POST
        description: Get OAuth access token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PITNEY_BOWES_API_KEY}}'
  exposes:
  - type: rest
    namespace: pitney-bowes-general-rest
    port: 8080
    description: REST adapter for Pitney Bowes Shipping API. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/oauth/token
      name: oauth-token
      description: REST surface for oauth-token.
      operations:
      - method: POST
        name: getoauthtoken
        description: Get OAuth access token
        call: pitney-bowes-general.getoauthtoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pitney-bowes-general-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pitney Bowes Shipping API. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-oauth-access-token
      description: Get OAuth access token
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: pitney-bowes-general.getoauthtoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.