Pipedream · Arazzo Workflow

Pipedream Connect Token Mint and Validate

Version 1.0.0

Create a Connect token for a user and validate it against a target app.

1 workflow 1 source API 1 provider
View Spec View on GitHub Pro-Code-API-CompositionWorkflowsConnectMCPEmbedded IntegrationsManaged AuthAI AgentsArazzoWorkflows

Provider

pipedream

Workflows

token-mint-and-validate
Mint a Connect token and confirm its validity for an app.
Creates a Connect token for the external user, then validates it against the supplied app ID.
2 steps inputs: appId, environment, externalUserId, projectId outputs: connectToken, validation
1
createConnectToken
Generate a Connect token scoped to the external user for client-side authentication.
2
validateConnectToken
Validate the freshly minted Connect token against the target app to confirm it can authorize an account connection.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Pipedream Connect Token Mint and Validate
  summary: Create a Connect token for a user and validate it against a target app.
  description: >-
    A handshake-verification flow for Pipedream Connect's client-side
    authentication. The workflow mints a Connect token scoped to an external
    user, then validates that token against a target app to confirm it can be
    used to authorize an account connection. Every step spells out its request
    inline so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: tokensApi
  url: ../openapi/pipedream-tokens-api-openapi.yml
  type: openapi
workflows:
- workflowId: token-mint-and-validate
  summary: Mint a Connect token and confirm its validity for an app.
  description: >-
    Creates a Connect token for the external user, then validates it against the
    supplied app ID.
  inputs:
    type: object
    required:
    - projectId
    - environment
    - externalUserId
    - appId
    properties:
      projectId:
        type: string
        description: The project ID, which starts with proj_.
      environment:
        type: string
        description: The Connect environment (development or production).
      externalUserId:
        type: string
        description: The end user identifier the token is minted for.
      appId:
        type: string
        description: The app ID to validate the token against.
  steps:
  - stepId: createConnectToken
    description: >-
      Generate a Connect token scoped to the external user for client-side
      authentication.
    operationId: createToken
    parameters:
    - name: project_id
      in: path
      value: $inputs.projectId
    - name: x-pd-environment
      in: header
      value: $inputs.environment
    requestBody:
      contentType: application/json
      payload:
        external_user_id: $inputs.externalUserId
        project_id: $inputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      connectToken: $response.body#/token
      connectLinkUrl: $response.body#/connect_link_url
  - stepId: validateConnectToken
    description: >-
      Validate the freshly minted Connect token against the target app to
      confirm it can authorize an account connection.
    operationId: validateToken
    parameters:
    - name: ctok
      in: path
      value: $steps.createConnectToken.outputs.connectToken
    - name: app_id
      in: query
      value: $inputs.appId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      validation: $response.body
  outputs:
    connectToken: $steps.createConnectToken.outputs.connectToken
    validation: $steps.validateConnectToken.outputs.validation

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/pipedream-token-validation-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.