API Reference
Deals API
Deal pipeline management with filtering and summary metrics.
Deals API
The Deals API provides access to the deal pipeline — listing deals, filtering by stage/type/rep, and retrieving pipeline summary metrics.
Endpoints
List Deals
Returns all deals with optional filtering.
Query Parameters:
| Parameter | Type | Description | Example |
|---|---|---|---|
stage | string | Filter by deal stage | negotiation |
type | string | Filter by deal type | new-business |
rep | string | Filter by assigned rep | sarah-ae-west |
Example:
Response:
Get Deal
Returns detailed information about a specific deal.
Response:
Pipeline Summary
Returns aggregate pipeline metrics.
Response:
Deal Stages
| Stage | Description |
|---|---|
prospecting | Initial outreach, no engagement yet |
qualification | Engaged, qualifying fit and budget |
proposal | Proposal or POC delivered |
negotiation | Terms being negotiated |
closed-won | Deal signed |
closed-lost | Deal lost |
Deal Types
| Type | Description |
|---|---|
new-business | Net-new customer acquisition |
expansion | Existing customer upsell/cross-sell |
renewal | Contract renewal |