CRM

List Deal Stage Suggestions

A deal's stage suggestions, newest first.

API key access

Needs the crm:read scope with an API key (ro_pat_...). A signed-in session uses the caller's role.
GET/api/v1/deals/{deal_id}/stage-suggestions
AuthorizationBearer <token>

Access token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).

In: header

Path Parameters

deal_idstring

The deal.

Formatuuid

Header Parameters

X-Workspace-Id?string | null

Id of the workspace to act on (must be a member).

Response Body

curl -X GET "http://localhost:8000/api/v1/deals/497f6eca-6276-4993-bfeb-53cbbbba6f08/stage-suggestions" \  -H "X-Workspace-Id: string"
{
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",
      "deal_name": "string",
      "call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e",
      "from_stage_id": "7421a0fa-83ec-448a-9d53-53e45c72802a",
      "from_stage_name": "string",
      "to_stage_id": "a866ef07-15d6-4fb7-ba7d-4cfb9e5f8cd0",
      "to_stage_name": "string",
      "signal": "string",
      "reason": "string",
      "status": "string",
      "decided_by": "4accc021-c0cc-4c2c-8a78-605a0ed6da31",
      "decided_at": "2019-08-24T14:15:22Z",
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}
Empty