200Successful Response
Schema: SuccessEnvelope_DealsListResponse_
successbooleanmessagestringcodestringdataDealsListResponse
/api/v1/o2c/dealsList pipeline deals for the business with stage / expansion / text-search filters and cursor pagination. Always returns the total matching count alongside the page.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
stagestringFilter by exact deal stage.
is_expansionbooleanFilter by new-customer (false) vs. expansion (true).
searchstringCase-insensitive search across name / prospect / contact.
ownerstringFilter by sales rep / deal owner (case-insensitive exact match; see GET /o2c/deals/owners). Pass __unassigned__ for deals with no owner yet.
cursorstringPagination cursor
directionstringdefault: nextWhich way to walk from cursor. Send prev with the page's prev_cursor to page backwards.
limitintegerdefault: 50Page size
sort_bystringColumn to sort by.
descendingbooleandefault: TrueSort direction.
Schema: SuccessEnvelope_DealsListResponse_
successbooleanmessagestringcodestringdataDealsListResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject