cURL
curl --request GET \ --url https://api.decodahealth.com/v1/rule/get/{rule_id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "amountGreaterThan": 123, "amountLessThan": 123, "delayInDays": 123, "id": "<string>", "lessThanOrEqualTo": 123, "message": "<string>", "method": "Native", "name": "<string>", "ruleSetId": "<string>" }
Get a Rule by ID.
Rule
The tenant you are making this request on behalf of
Your api key
Successful Response
The response is of type object.
object