POST
/
status
curl --request POST \
  --url https://api.breakcold.com/rest/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "id_list": "<string>",
  "color": "<string>",
  "success_rate": 50,
  "order": 123,
  "type": "DEAL_LOST"
}'
{
  "type": "DEAL_WON",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "order": 123,
  "color": "<string>",
  "icon": "<string>",
  "success_rate": 123,
  "leads_order": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id_space": "<string>",
  "id_list": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 255
id_list
string
color
string
success_rate
number
Required range: 0 <= x <= 100
order
integer
type
Available options:
DEAL_LOST,
DEAL_WON

Response

200
application/json
Successful response
type
enum<string> | null
required
Available options:
DEAL_WON,
DEAL_LOST
id
string
required
name
string | null
required
order
integer | null
required
color
string | null
required
icon
string | null
required
success_rate
integer | null
required
leads_order
required
created_at
string | null
required
updated_at
string | null
required
id_space
string | null
required
id_list
string | null
required