Skip to main content
POST
/
v1
/
outcomes
Create Call Outcome
curl --request POST \
  --url http://localhost:4000/v1/outcomes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "outcome": "WON",
  "eventCallId": 123,
  "noSaleReason": "FOLLOW_UP_SCHEDULE",
  "notes": "<string>",
  "objection": "MONEY",
  "newDeal": {
    "id": 123,
    "value": 123,
    "transactionType": "WON",
    "productId": 123,
    "date": "2023-11-07T05:31:56Z",
    "transactionIds": [
      123
    ]
  }
}
'
{
  "data": {
    "id": 123,
    "noSaleReason": "<string>",
    "objection": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key required in Authorization header. Format: iclosed-<token>

Body

application/json
outcome
enum<string>
required
Available options:
WON,
NO_SALE,
APPROVED,
REJECTED
eventCallId
integer
required
noSaleReason
enum<string>
Available options:
FOLLOW_UP_SCHEDULE,
UNQUALIFIED,
NO_SHOW,
CONTACT_CANCELLED,
ADMIN_CANCELLED,
NOT_INTERESTED,
BAD_FIT,
OTHER
notes
string
objection
enum<string>
Available options:
MONEY,
LOGISTIC,
PARTNER,
FEAR,
SMOKE_SCREEN,
NO_OBJECTION
newDeal
object

Response

Task updated successfully

data
object