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

370 B
Raw Blame
import {
  EmbedSubdomain,
  GenerateEmbedSubdomainRequest,
} from '@activepieces/shared';

import { api } from '@/lib/api';

export const embedSubdomainApi = {
  get() {
    return api.get<EmbedSubdomain | null>('/v1/embed-subdomain');
  },
  upsert(request: GenerateEmbedSubdomainRequest) {
    return api.post<EmbedSubdomain>('/v1/embed-subdomain', request);
  },
};