Skip to main content
POST
Create deal

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Body

application/json

Deal creation data (name and client required)

The body is of type object.

Response

Created deal, with a warning when it saved but its stage's project didn't launch

_id
string
client
string
close_date
string
close_probability
number

Override values

closed_at
string

Set when the deal status changes to Won/Lost/Abandoned; cleared when reopened

closed_reason
string

Deal status is one of: "Open", "Won", "Lost", "Abandoned" Set when the deal is Lost or Abandoned; cleared when reopened or marked Won

closed_reason_detail
string
created_at
string
deleted_at
string
ein
string
funnel
string
last_activity
string
n_messages
integer
n_tasks
integer
name
string
owner
string
plan
string
plan_number
string
proposal_count
integer
proposals
object[]
pulse
integer

For returning

source
string
stage
string
status
string
tags
string[]
team
string
unread
boolean
value
number
warning
string

Set when the deal saved but its stage's project didn't launch (ENG-9765).