Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

756 B
Raw Blame
import { PieceAuth } from '@activepieces/pieces-framework';

export interface BirdAuthValue {
  apiKey: string;
  workspaceId: string;
  channelId: string;
}

export const birdAuth = PieceAuth.CustomAuth({
  props: {
    apiKey: PieceAuth.SecretText({
      displayName: 'API Key',
      description: 'Bird API Access Key from Settings > Security > Access Keys',
      required: true,
    }),
    workspaceId: PieceAuth.SecretText({
      displayName: 'Workspace ID',
      description: 'Bird Workspace ID found in your workspace URL',
      required: true,
    }),
    channelId: PieceAuth.SecretText({
      displayName: 'Channel ID',
      description: 'Your SMS channel ID from Bird dashboard',
      required: true,
    }),
  },
  required: true,
});