Internal: slice 11 of docs/specs/DEALS.md (DL-83, DL-84). API v1 has Deals under /api/v1/deals: the list with the website list's filters and order, one deal with its people and notes, the pipelines with their stages, the lost reasons, and every change a deal's page makes: add, change its facts, move its stage, mark won, lost or reopened, add and remove people, add a note and Move to Trash. The gate, the area and edit access apply as on the pages, a change goes through the website's own rules, and a field a route does not take is refused by name. Webhooks can now ask for deal.created, deal.updated, deal.stage_changed, deal.won, deal.lost, deal.reopened and deal.deleted. Each is sent once, to the members of the deal's team who asked for it and can open Deals there, when the request that made the change ends, whether the change came from the website, an import or the API. The API document, the OpenAPI file and the public API page list the routes and events; the public page shows them only to someone who can open Deals while the area is a preview.
Deals: the API and webhooks
Internal: API v1 reads and changes deals, and seven deal events go to members' webhooks. Members do not see the area yet.