Skip to main content
GET
/
api
/
transaction-history
/
recent
Get recent changes
curl --request GET \
  --url https://api.ai2fin.com/api/transaction-history/recent \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "changes": [
    {
      "id": "<string>",
      "userId": "<string>",
      "entityType": "transaction",
      "entityId": "<string>",
      "fieldName": "<string>",
      "oldValue": "<string>",
      "newValue": "<string>",
      "changeReason": "<string>",
      "changedBy": "user",
      "changeSource": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 123
}

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/login endpoint

Query Parameters

limit
integer
default:50
Required range: x <= 200
entityType
enum<string>
Available options:
transaction,
expense,
bill,
billPattern
fieldName
string
since
string<date-time>

ISO date string

Response

200 - application/json

Recent changes retrieved

success
boolean
changes
object[]
count
integer