Skip to main content
POST
/
api
/
v1
/
valuations
Create valuation
curl --request POST \
  --url https://app.sure.am/api/v1/valuations \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "valuation": {
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "amount": 123,
    "date": "2023-12-25",
    "notes": "<string>"
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "date": "2023-12-25",
  "amount": "<string>",
  "currency": "<string>",
  "kind": "<string>",
  "account": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "account_type": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "notes": "<string>"
}

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Body

application/json
valuation
object
required

Response

valuation created

id
string<uuid>
required
date
string<date>
required
amount
string
required

Formatted valuation amount

currency
string
required
kind
string
required

The type of valuation

account
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
notes
string | null