Pipedream · Capability

Pipedream API - Tokens

Pipedream API - Tokens. 2 operations. Self-contained Naftiko capability covering one Pipedream business surface.

Pipedream API - Tokens is a Naftiko capability published by Pipedream, one of 16 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the POST and GET methods rooted at /v1/connect.

The capability includes 1 read-only operation and 1 state-changing operation. Lead operation: Create Connect Token. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Pipedream and Tokens.

Run with Naftiko PipedreamTokens

What You Can Do

POST
Createtoken — Create Connect Token
/v1/connect/{project_id}/tokens
GET
Validatetoken — Validate Connect Token
/v1/connect/tokens/{ctok}/validate

MCP Tools

createtoken

Create Connect Token

validatetoken

Validate Connect Token

read-only idempotent

Capability Spec

pipedream-connect-tokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pipedream API - Tokens
  description: Pipedream API - Tokens. 2 operations. Self-contained Naftiko capability covering one Pipedream business surface.
  tags:
  - Pipedream
  - Tokens
  created: '2026-05-22'
  modified: '2026-05-22'
binds:
- namespace: env
  keys:
    PIPEDREAM_ACCESS_TOKEN: PIPEDREAM_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: pipedream-connect-tokens
    baseUri: https://api.pipedream.com
    description: Pipedream API - Tokens business capability. Self-contained, no shared references.
    resources:
    - name: v1-connect-project-id-tokens
      path: /v1/connect/{project_id}/tokens
      operations:
      - name: createtoken
        method: POST
        description: Create Connect Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-pd-environment
          in: header
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-connect-tokens-ctok-validate
      path: /v1/connect/tokens/{ctok}/validate
      operations:
      - name: validatetoken
        method: GET
        description: Validate Connect Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ctok
          in: path
          type: string
          required: true
        - name: app_id
          in: query
          type: string
          required: true
        - name: account_id
          in: query
          type: string
          required: false
        - name: oauth_app_id
          in: query
          type: string
          required: false
    authentication:
      type: bearer
      token: '{{env.PIPEDREAM_ACCESS_TOKEN}}'
  exposes:
  - type: rest
    namespace: pipedream-connect-tokens-rest
    port: 8080
    description: REST adapter for Pipedream API - Tokens. One resource per consumed operation.
    resources:
    - path: /v1/connect/{project_id}/tokens
      name: v1-connect-project-id-tokens
      description: REST surface for v1-connect-project-id-tokens.
      operations:
      - method: POST
        name: createtoken
        description: Create Connect Token
        call: pipedream-connect-tokens.createtoken
        with:
          x-pd-environment: rest.x-pd-environment
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/connect/tokens/{ctok}/validate
      name: v1-connect-tokens-ctok-validate
      description: REST surface for v1-connect-tokens-ctok-validate.
      operations:
      - method: GET
        name: validatetoken
        description: Validate Connect Token
        call: pipedream-connect-tokens.validatetoken
        with:
          ctok: rest.ctok
          app_id: rest.app_id
          account_id: rest.account_id
          oauth_app_id: rest.oauth_app_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pipedream-connect-tokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pipedream API - Tokens. One tool per consumed operation.
    tools:
    - name: createtoken
      description: Create Connect Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pipedream-connect-tokens.createtoken
      with:
        x-pd-environment: tools.x-pd-environment
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: validatetoken
      description: Validate Connect Token
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pipedream-connect-tokens.validatetoken
      with:
        ctok: tools.ctok
        app_id: tools.app_id
        account_id: tools.account_id
        oauth_app_id: tools.oauth_app_id
      outputParameters:
      - type: object
        mapping: $.