List rule templates

​

The templates a program can create library rules from, each with its parameters as JSON Schema.

Responses

  • application/json
Request Example for get/api/v1/rewards/rule-templates
curl https://rewards-api.bettermoney.com/api/v1/rewards/rule-templates \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "templates": [
    {
      "template": "kyb_approval",
      "description": "string",
      "paramsSchema": null
    }
  ]
}