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

491 B
Raw Blame
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { visibleAuth } from '../..';

export const customApiCall = createCustomApiCallAction({
  auth: visibleAuth,
  name: 'custom_api_call',
  displayName: 'Custom API Call',
  description: 'Make a custom API call to any Visible endpoint',
  baseUrl: () => 'https://api.visible.vc',
  authMapping: async (auth) => ({
    Authorization: `Bearer ${auth.secret_text}`,
    'Content-Type': 'application/json',
  }),
});