cURL
curl --request POST \ --url https://developer.api.receiptor.ai/v1/capabilities/rules.execute \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "naturalLanguageRule": "<string>", "confirm": true } '
{ "success": true, "code": 200, "data": { "result": {} } }
Create and save an automation rule from a natural language description. Requires explicit confirmation (confirm=true). Use prepareRule first to preview.
API key prefixed with sk_. Obtain from the Receiptor AI dashboard.
sk_
Natural language description of the rule (same as used in prepare)
1000
Must be true to create the rule
Successful response
true
200
Show child attributes
Was this page helpful?