Developer Home

Build with the Sanka Sales API. One SDK for deals, billing, outreach, and proposals β€” connected by default. Syncs to HubSpot, Salesforce, and Stripe.

Start here

Sanka's API gives you a single surface for the entire sales lifecycle β€” deals, contacts, billing, outreach, proposals, and more. One API key. One SDK. Every object connected through a shared data model.
npm install sanka-sdk
import Sanka from 'sanka-sdk'

const sanka = new Sanka({ apiKey: 'sk_...' })

const deal = await sanka.deals.create({
  company: 'Acme Corp',
  value: 50000,
  stage: 'discovery'
})

// deal.id connects to invoices, proposals, outreach β€” everything.
The API is workspace-scoped. Create an access token, attach it to your requests, and you can manage records through /v1/public/..., enrich companies with /v1/enrich, and score companies or deals with /v1/score.What makes this different: When you create a deal, that deal.id flows through billing, proposals, outreach, and contracts β€” no glue code, no iPaaS, no Zapier in between. The connections are built into the data model.

Getting started

  1. Open Developers β†’ API in Sanka and create a token.
  2. Install the SDK and make your first request.
  3. Use Data Management for CRUD endpoints and the AI groups for enrichment and scoring.

Get started

Use with AI agents

Sanka works as the backend for AI agents. With MCP, agents can create deals, send outreach, generate invoices, and orchestrate the sales pipeline using natural language.

MCP Server (Claude Code, Cursor, and other agents)

We moved the full setup, security, tool list, and local-run instructions to a dedicated page:If you only need the endpoint quickly:
https://mcp.sanka.com/mcp?apiKey=sk_test_xxx

What's supported

Sanka's API has three main groups:
  • Data Management: CRUD and schema endpoints for supported records, including Companies, Contacts, Deals, Orders, Items, Invoices, Expenses, Inventory, and more
  • Data Enrichment: POST /v1/enrich to refresh a company record with structured web evidence
  • Data Scoring: POST /v1/score to return deterministic company or deal scores with reasons

Connected deal flows

The API is designed so that one deal.id connects across modules:
Deal β†’ Invoice         One line: sanka.invoices.create({ dealId: deal.id })
Deal β†’ Proposal        Pulls company, value, terms from the deal automatically
Deal β†’ Subscription    Close a deal, start billing β€” no glue code
Deal β†’ Outreach        Email sequences tied to deal context
This is what replaces the Zapier workflows and integration middleware that teams build to connect CRM, billing, docs, and outreach tools.

Syncs to your stack

Sanka syncs bi-directionally to the tools your team already uses:
  • HubSpot β€” deals, contacts, and companies sync automatically
  • Salesforce β€” leads, accounts, and opportunities stay in sync
  • Stripe β€” invoices and subscriptions flow to Stripe when billing activates
Your agents and automations write to Sanka. Your team sees the data in their existing CRM and billing tools.See the capability matrix for full Data Management details.

Next steps