Status
Create a status
API Documentation
Lead
- GETGet Lead
- GETGet Leads
- PATCHUpdate Lead
- POSTCreate Lead
- DELDelete Lead
- Actions
- Bulk Actions
Lists
Reminder (Task)
Status
Create a status
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
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
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>"
}