API Reference & Developers - Documentation | BasaltCRM Back to DocumentationDeveloper Documentation
Build custom integrations with the BasaltCRM API.
Quick Start
Authentication: Bearer Token (sk_live_...). Base URL: https://api.basaltcrm.com/v1. Webhooks: Subscribe to real-time events like deal.won, lead.created, form.submitted.Tech Stack
| Layer | Stack |
| :--- | :--- |
| Framework | Next.js 16, React 19, TypeScript |
| Database | MongoDB Atlas + Prisma ORM |
| UI | Tailwind CSS, shadcn/ui, Tremor, Framer Motion |
| AI | Vercel AI SDK, OpenAI, Anthropic, Azure, Google, Mistral |
| Voice | AWS Chime SDK, BasaltECHO (WebRTC) |
| Email | React Email, Resend, AWS SES |
| Auth | NextAuth.js (multi-provider: Google, GitHub, Azure AD) |
| Storage | OVH S3 Secure Containers |
| Infra | Plesk, Jenkins CI/CD, EventBridge |
SOC2 Compliance & Security
BasaltCRM is built for enterprise requirements:
Storage Isolation: All client data and attachments reside in private S3-compatible buckets on OVH with mandatory KMS encryption. Access Control: Strict team-scoping enforced at the database level via Prisma middleware. Audit Logging: Every disruptive action (DELETE/PUT) is logged with the performing userId and timestamp.
Agent Commerce (UCP / x402)
BasaltCRM includes a programmable Agent Commerce system compliant with the Unified Commerce Protocol:
Catalog: Browse the agent catalog via GET /api/v1/agent/catalog. Purchase: Access premium resources using x402 challenge/response with SURGE/USDC on Base. Execution: Once payment is verified, the resource (deployment link or API key) is returned.
Self-Hosting
git clone https://github.com/BasaltHQ/crm-official.git
cp .env.example .env && cp .env.local.example .env.local
npx prisma generate && npx prisma db push && npx prisma db seed
Open http://localhost:3000 and you're live.
Resources