Skip to main content
Creates a deal in a pipeline, in its first stage unless stage names another. A deal created in a won or lost stage starts closed. It shows on the board straight away, and its history says it was made by the API key.
Needs the crm.deals:write scope.

Body

Request

Response

201 Created — the deal. It also sends deal.created to your webhook endpoints.

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.