PeumeAPI

Social publishing & inbox

List CRM deals

List deals (HubSpot) or Opportunities (Salesforce), most recently changed first, or a LeadConnector location's opportunities in LeadConnector's own order.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/list-crm-deals \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "includeRaw": false,
    "limit": 25,
    "accountId": "your accountId"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: list-crm-deals.

Parameters

stagestring

Only deals in this stage. HubSpot takes the stage's internal id (`closedwon`, `appointmentscheduled`); Salesforce the `StageName` (`Closed Won`); LeadConnector the pipeline stage id.

updatedSincestring

Only deals changed at or after this time. HubSpot and Salesforce only.

propertiesstring

Comma-separated native field names to return in `properties` (at most 50), for example `lifecyclestage,hs_lead_status` or `LeadSource,Industry__c`. On LeadConnector, a field of the record (`source`, `status`), or a custom field by id or key.

includeRawboolean

Also return the CRM's own record as `raw`.

Example: false

limitinteger

Example: 25

cursorstring

The `nextCursor` of the previous page, unchanged.

accountIdRequiredstring

The connected HubSpot, Salesforce or LeadConnector account (`GET /v1/accounts?platform=hubspot`, `salesforce` or `gohighlevel`).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.