Preview what winning a deal does
curl --request GET \ --url https://example.com/api/v1/deals/example/won-plan \ --header 'Authorization: Bearer <token>'Returns the workspace’s won-deal settings, the latest accepted estimate winning would convert, and one step per reaction (promote the company, open the order, draft the invoice, start the kickoff project, propose its team and managers, create its Discord channel, add the team-only tasks for the client’s accesses, invite the primary contact, email the service intake, add the manual setup items to the company’s onboarding checklist) saying whether it will run and why. Read-only; winning is POST /deals/{id}/win. Requires deals.view.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Deal identifier (CUID2).
Deal identifier (CUID2).
Responses
Section titled “Responses”What winning the deal does.
object
object
What winning asks about the kickoff project; null when none is set on win or the deal already has one. Absent on an older server.
object
Whether the caller may start a new project; without it only companyProjects can be chosen. Absent on an older server.
The company’s active projects the caller reaches and the deal can join, most recently updated first.
object
The project offered by default, or null when a new one is.
The name a new kickoff project is offered with: the company’s, followed by a number when one of its projects already has that name.
object
Absent on a server older than this setting.
Absent on a server older than this setting.
Absent on a server older than this setting.
Absent on a server older than this setting.
The project types whose won deals need design. Absent on a server older than this setting, and in the won-deal plan.
Absent on a server older than this setting.
Absent on a server older than this setting.
The accesses the kickoff asks the client for. Absent on a server older than this setting, and in the won-deal plan.
Absent on a server older than this setting.
Absent on a server older than this setting.
Absent on a server older than this setting.
Absent on a server older than this setting.
object
The short title the order the win opens takes unless orderName changes it, by default the name the workspace’s order name template gives an Hour block starting today (for example Hour block | Nov 28, 2026); null when no order opens. Absent on an older server.
Example
{ "data": { "steps": [ { "key": "promote" } ] }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC