Official client libraries for Node.js and Python
Languages
Node.js · Python
API Version
v1 stable
License
MIT
Support
GitHub Issues
Get your API key from Developer Portal → API Keys.
import DealSuite from "@dealsuite/sdk";
const ds = new DealSuite({
apiKey: process.env.DEALSUITE_API_KEY,
// Optional: "sandbox" | "production" (default: "production")
environment: "production",
});Manage your sales pipeline programmatically.
// List all deals
const { data: deals } = await ds.crm.deals.list({
stage: "proposal",
limit: 50,
});
// Create a deal
const deal = await ds.crm.deals.create({
title: "Acme Corp — Enterprise",
lead_email: "ceo@acme.com",
amount_usd: 48000,
stage: "proposal",
probability: 65,
});
console.log(deal.id); // "deal_abc123"