Skip to main content
POST
/
api
/
custom-rules
/
{id}
/
execute
Execute custom rule
curl --request POST \
  --url https://api.ai2fin.com/api/custom-rules/{id}/execute \
  --header 'Authorization: Bearer <token>'
{
  "processed": 123,
  "updated": 123
}

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/login endpoint

Path Parameters

id
string
required

Response

200 - application/json

Rule executed

processed
integer
updated
integer