Snowplow · Capability

Snowplow Console API — Authentication

Snowplow Console API — Authentication. 1 operations. Lead operation: Get Access Token. Self-contained Naftiko capability covering one Snowplow business surface.

Run with Naftiko SnowplowAuthentication

What You Can Do

POST
Getaccesstoken — Get Access Token
/v1/organizations/{organizationid}/credentials/v3/token

MCP Tools

get-access-token

Get Access Token

read-only

Capability Spec

console-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Snowplow Console API — Authentication
  description: 'Snowplow Console API — Authentication. 1 operations. Lead operation: Get Access Token. Self-contained Naftiko
    capability covering one Snowplow business surface.'
  tags:
  - Snowplow
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SNOWPLOW_API_KEY: SNOWPLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: console-authentication
    baseUri: https://console.snowplowanalytics.com/api/msc/v1
    description: Snowplow Console API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-credentials-v3-token
      path: /organizations/{organizationId}/credentials/v3/token
      operations:
      - name: getaccesstoken
        method: POST
        description: Get 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.SNOWPLOW_API_KEY}}'
  exposes:
  - type: rest
    namespace: console-authentication-rest
    port: 8080
    description: REST adapter for Snowplow Console API — Authentication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/credentials/v3/token
      name: organizations-organizationid-credentials-v3-token
      description: REST surface for organizations-organizationId-credentials-v3-token.
      operations:
      - method: POST
        name: getaccesstoken
        description: Get Access Token
        call: console-authentication.getaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: console-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Snowplow Console API — Authentication. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-access-token
      description: Get Access Token
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: console-authentication.getaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.