v1

latestOpenAPI 3.1.0© Modulr Finance2026-08-04207430590.4 KB
Rules

Get all Rules for a specific Account

The ability to get the details of all rules associated with the specified account using the Account ID as a reference. Can filter by a specific type using the type parameter.

get/accounts/{id}/rules

Path parameters

idstring required

Account ID of the rules

Query parameters

pageinteger

Page to fetch (0 indexed)

sizeinteger

Size of Page to fetch

rtypestring

Filter to a specific RuleType

Response

OK

sizeinteger required

Page size

totalSizeinteger required

Total count

pageinteger required

Current page number, 0-based, i.e first page = 0, second page = 1

totalPagesinteger required

Total pages

Example response

{
  "content": [
    {
      "id": "R1000001",
      "name": "My new rule",
      "accountId": "A1000001",
      "masterId": "M1000001"
    }
  ]
}