Handle List Proposals
The saved proposals of a deal (dealId) or a contract
(contractId), exactly one of them, as the Proposals panel lists
them: each one's latest version, newest first. A deal lists the
proposals made from it; a contract only the ones made from the
contract itself, so its list starts empty after Closed Won. A deal
with no contract has none. Refused 400 CONTRACT_DRAFT for a Draft
contract and 403 NOT_ENABLED for an account without proposals from
a contract. Read-only.
Query Parameters
- Type: stringdeal
Id min length:1max length:50nullable - Type: stringcontract
Id min length:1max length:50nullable
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/proposals
curl https://crm.dreamhub.ai/api/v1/contracts/proposals \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"proposals": [
{
"id": "string",
"name": "string",
"status": "string",
"createdAt": "2026-11-23T03:49:23.607Z",
"updatedAt": "2026-11-23T03:49:23.607Z",
"createdBy": {
"displayName": "string",
"avatarUrl": "string"
},
"outOfDate": true,
"signing": {
"signed": 1,
"total": 1,
"recipients": [
{
"email": "string",
"signed": false,
"viewedAt": "2026-11-23T03:49:23.607Z",
"signedAt": "2026-11-23T03:49:23.607Z",
"declinedAt": "2026-11-23T03:49:23.607Z",
"declineReason": "string"
}
]
},
"actions": [
{
"name": "string",
"uri": "string",
"method": "string"
}
]
}
],
"actions": [
{
"name": "string",
"uri": "string",
"method": "string"
}
]
}
