Skip to main content
POST
/
v1
/
analyses
/
{id}
/
disposition
Tag a disposition on an analysis (upsert)
curl --request POST \
  --url http://localhost:3000/v1/analyses/{id}/disposition \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "disposition": "sold",
  "notes": "<string>",
  "deal_amount": 1,
  "deal_closed_at": "2023-11-07T05:31:56Z"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
disposition
enum<string>
required
Available options:
sold,
lost,
canceled,
undispositioned
notes
string
Maximum string length: 2000
deal_amount
number
Required range: x >= 0
deal_closed_at
string<date-time>

Response

200

Default Response