Justworks · Capability

Justworks Payroll API — Payrolls & Paystubs

Justworks Payroll API — Payrolls & Paystubs. 4 operations. Lead operation: Justworks List Payrolls. Self-contained Naftiko capability covering payroll runs, fees, and paystubs.

Justworks Payroll API — Payrolls & Paystubs is a Naftiko capability published by Justworks, one of 6 capabilities the APIs.io network indexes for this provider. It bundles 4 operations.

The capability includes 4 read-only operations. Lead operation: Justworks List Payrolls. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Justworks, Payroll, Paystubs, and Compensation.

Run with Naftiko JustworksPayrollPaystubsCompensation

MCP Tools

justworks-list-payrolls

Justworks List Payrolls

read-only idempotent
justworks-list-payroll-fees

Justworks List Payroll Fees

read-only idempotent
justworks-list-paystubs-for-payroll

Justworks List Paystubs For Payroll

read-only idempotent
justworks-get-paystub

Justworks Get Paystub

read-only idempotent

Capability Spec

payroll.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Justworks Payroll API — Payrolls & Paystubs
  description: 'Justworks Payroll API — Payrolls & Paystubs. 4 operations. Lead operation: Justworks List Payrolls. Self-contained Naftiko capability covering payroll runs, fees, and paystubs.'
  tags:
  - Justworks
  - Payroll
  - Paystubs
  - Compensation
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    JUSTWORKS_ACCESS_TOKEN: JUSTWORKS_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: payroll
    baseUri: https://public-api.justworks.com
    description: Justworks Payroll API business capability.
    resources:
    - name: v1-payrolls
      path: /v1/payrolls
      operations:
      - name: listpayrolls
        method: GET
        description: Justworks List Payrolls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-payrolls-payroll_id-fees
      path: /v1/payrolls/{payroll_id}/fees
      operations:
      - name: listpayrollfees
        method: GET
        description: Justworks List Payroll Fees
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-payrolls-payroll_id-paystubs
      path: /v1/payrolls/{payroll_id}/paystubs
      operations:
      - name: listpaystubsforpayroll
        method: GET
        description: Justworks List Paystubs For Payroll
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-paystubs-paystub_id
      path: /v1/paystubs/{paystub_id}
      operations:
      - name: getpaystub
        method: GET
        description: Justworks Get Paystub
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      key: Authorization
      value: 'Bearer {{env.JUSTWORKS_ACCESS_TOKEN}}'
      placement: header
  exposes:
  - type: mcp
    namespace: payroll-mcp
    port: 9090
    transport: http
    description: MCP adapter for Justworks Payroll API.
    tools:
    - name: justworks-list-payrolls
      description: Justworks List Payrolls
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payroll.listpayrolls
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-list-payroll-fees
      description: Justworks List Payroll Fees
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payroll.listpayrollfees
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-list-paystubs-for-payroll
      description: Justworks List Paystubs For Payroll
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payroll.listpaystubsforpayroll
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-get-paystub
      description: Justworks Get Paystub
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payroll.getpaystub
      outputParameters:
      - type: object
        mapping: $.