Skip to main content
POST
/
lending
/
monitor
/
subscribe
Subscribe to monitoring
curl --request POST \
  --url https://api.txcloud.io/v1/lending/monitor/subscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "borrower_id": "<string>",
  "loan_id": "<string>",
  "alert_triggers": [
    "<string>"
  ],
  "webhook_url": "<string>",
  "check_frequency": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
borrower_id
string
required
loan_id
string
alert_triggers
string[]
webhook_url
string
check_frequency
string

Response

201

Subscription created