Get Approvals
GET
/api/canvas/{deal_id}/approvals
const url = 'https://example.com/api/canvas/example/approvals';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/canvas/example/approvals \ --header 'Authorization: Bearer <token>'Get approval summary for a deal.
Phase 4: RequireViewer — all collaborators can view approval status.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” deal_id
required
Deal Id
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
ApprovalSummaryResponse
Response from GET /canvas/{deal_id}/approvals.
Service layer returns a flexible dict; extra='allow' permits service-side
additions (per-section unresolved comment counts, all_approved flags, etc.)
without requiring this model to enumerate every variant.
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}