ActiveCampaignContact (schema/database.ts)

corsair · packages/activecampaign/schema/database.ts · typescript · Apache-2.0
database, tag:embed-classified

Zod schemas for ActiveCampaign API entities, covering contacts, lists, tags, etc.

// Source: https://github.com/corsairdev/corsair | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { z } from 'zod';

/**
 * Locally persisted ActiveCampaign entities.
 *
 * Field names match official JSON keys.
 * Docs: https://developers.activecampaign.com/reference/overview
 *
 * Each field is labeled from the official attribute table / example payload,
 * or as live-observed when this account (2026-08-14) returned a key the docs
 * example omits. Only the primary key is required: ActiveCampaign omits or
 * nulls fields depending on plan, permissions and enabled features.
 *
 * Almost every scalar is a JSON string, including ids (`"1"`), counts (`"0"`)
 * and flags (`"0"` 

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

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

Get a free API key