Contact Management Routes (routes/contact-routes.ts)

vellum-assistant · assistant/src/runtime/routes/contact-routes.ts · typescript · MIT
crm, integration, tag:invites, tag:ipc

Handles contact and invite management endpoints for HTTP and IPC.

// Source: https://github.com/vellum-ai/vellum-assistant | License: MIT | Copyright 2025 Vellum AI
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Route handlers for contact and invite management endpoints.
 *
 * All routes are served by both the HTTP server and the IPC server
 * via the shared ROUTES array.
 *
 * IMPORTANT: contacts/:id routes are placed LAST in the ROUTES array so
 * they don't shadow more-specific sub-paths like contacts/invites.
 */

import {
  INVITES_IPC_METHODS,
  RedeemInviteByTokenRequestSchema,
  RedeemVoiceInviteRequestSchema,
  RiskThresholdSchema,
} from "@vellumai/gateway-client";
import type { ContactRead } from "@vellumai/gateway-client/gateway-ipc-contracts";
import {
  GetContactIpcResponseSchema,
  ListContactsIpcResponseSchema,
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key