Fieldwire · Capability

Fieldwire Account API — Authentication

Fieldwire Account API — Authentication. 1 operation. Lead operation: Exchange the long-lived refresh token (API key) for a short-lived JWT access token used on all subsequent calls. Self-contained Naftiko capability covering one Fieldwire business surface.

Fieldwire Account API — Authentication is a Naftiko capability published by Fieldwire, one of 16 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/api_keys/jwt.

The capability includes 1 state-changing operation. Lead operation: Exchange Fieldwire refresh token for a short-lived JWT access token. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Fieldwire, Authentication, and Construction.

Run with Naftiko FieldwireAuthenticationConstruction

What You Can Do

POST
Getapikeyjwt — Exchange API Key For Access Token
/v1/api_keys/jwt

MCP Tools

fieldwire-get-access-token

Exchange Fieldwire refresh token for a short-lived JWT access token.

Capability Spec

account-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fieldwire Account API — Authentication
  description: 'Fieldwire Account API — Authentication. 1 operation. Lead operation: Exchange the long-lived refresh
    token (API key) for a short-lived JWT access token used on all subsequent calls. Self-contained Naftiko
    capability covering one Fieldwire business surface.'
  tags:
  - Fieldwire
  - Authentication
  - Construction
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    FIELDWIRE_API_KEY: FIELDWIRE_API_KEY
capability:
  consumes:
  - type: http
    namespace: account-authentication
    baseUri: https://client-api.super.fieldwire.com
    description: Fieldwire Account API — Authentication business capability.
    resources:
    - name: api-keys-jwt
      path: /api_keys/jwt
      operations:
      - name: getapikeyjwt
        method: POST
        description: Exchange API Key For Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: '{"api_token": "<refresh token>"}'
          required: true
    authentication:
      type: apikey
      key: api_token
      value: '{{env.FIELDWIRE_API_KEY}}'
      placement: body
  exposes:
  - type: rest
    namespace: account-authentication-rest
    port: 8080
    description: REST adapter for Fieldwire Account — Authentication.
    resources:
    - path: /v1/api_keys/jwt
      name: api-keys-jwt
      description: REST surface for api-keys-jwt.
      operations:
      - method: POST
        name: getapikeyjwt
        description: Exchange API Key For Access Token
        call: account-authentication.getapikeyjwt
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: account-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fieldwire Account — Authentication.
    tools:
    - name: fieldwire-get-access-token
      description: Exchange Fieldwire refresh token for a short-lived JWT access token.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: account-authentication.getapikeyjwt
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.