Codat · Capability

Platform API — Connection management

Platform API — Connection management. 1 operations. Lead operation: Get access token (old). Self-contained Naftiko capability covering one Codat business surface.

Run with Naftiko CodatConnection management

What You Can Do

GET
Getconnectionmanagementaccesstoken — Get access token (old)
/v1/companies/{companyid}/connectionmanagement/accesstoken

MCP Tools

get-access-token-old

Get access token (old)

read-only idempotent

Capability Spec

platform-connection-management.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Platform API — Connection management
  description: 'Platform API — Connection management. 1 operations. Lead operation: Get access token (old). Self-contained
    Naftiko capability covering one Codat business surface.'
  tags:
  - Codat
  - Connection management
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CODAT_API_KEY: CODAT_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-connection-management
    baseUri: https://api.codat.io
    description: Platform API — Connection management business capability. Self-contained, no shared references.
    resources:
    - name: companies-companyId-connectionManagement-accessToken
      path: /companies/{companyId}/connectionManagement/accessToken
      operations:
      - name: getconnectionmanagementaccesstoken
        method: GET
        description: Get access token (old)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.CODAT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-connection-management-rest
    port: 8080
    description: REST adapter for Platform API — Connection management. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/companies/{companyid}/connectionmanagement/accesstoken
      name: companies-companyid-connectionmanagement-accesstoken
      description: REST surface for companies-companyId-connectionManagement-accessToken.
      operations:
      - method: GET
        name: getconnectionmanagementaccesstoken
        description: Get access token (old)
        call: platform-connection-management.getconnectionmanagementaccesstoken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-connection-management-mcp
    port: 9090
    transport: http
    description: MCP adapter for Platform API — Connection management. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-access-token-old
      description: Get access token (old)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-connection-management.getconnectionmanagementaccesstoken
      outputParameters:
      - type: object
        mapping: $.