v1
latestOpenAPI 3.0.02026-07-2422987517.5 KBList rules
Returns a paginated list of the company's automation rules, each embedding its attribute_change_effects, custom_column_change_effects, and reviewer_assigner_effects. Override rules are excluded.
Rules are partitioned by applicable_model (defaults to tradables). Filter by kind (approval rules have reviewer effects; categorization rules do not), business_partner_id, inheritable, and applicable_model.
Query parameters
If all the transactions where in an array, this would represent the index of the first item returned in the response
If all the transactions where in an array, this would represent the index of the last item returned in the response
The order method, which can be ascending or descending
The field used to sort, the example illustrates a response that would be sorted by the creation date
Filter to approval rules (with reviewer effects) or categorization rules.
Filter to rules that target the given business partner.
Filter by whether the rule is inheritable by child companies.
Target model bucket. Defaults to tradables.
Headers
UUID of the company on whose behalf the request is made. Required for every Pay endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.
If the deprecated company_id query parameter is also sent, both values must match; the API returns 422 Unprocessable Entity when they disagree.
Response
Paginated list of rules (default 25 per page).
Example response
[
{
"applicable_model": "tradables"
}
]