List Deal Close Reasons
GET /deals/close-reasons
GET
/deals/close-reasons
The org’s close reasons, and what this caller may do with them.
can_manage comes back WITH the list, resolved by the same rule the
archive endpoint enforces - the app does that deliberately so the control a
UI renders and the permission the endpoint applies cannot drift. A
rebuilder without it has to guess which rows are removable.
LITERAL PATH: registered before deals_router so /deals/{deal_id} cannot
read “close-reasons” as a deal id.
Authorizations
Parameters
Query Parameters
Header Parameters
Responses
200
Successful Response
object
data
required
The close reasons, plus what this caller may do with them.
can_manage is returned alongside the list ON PURPOSE: it is resolved by
the same rule the archive endpoint enforces, so a UI cannot render a delete
control the backend would refuse - or hide one it would allow.
pagination
Any of:
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string