latestOpenAPI 3.0.22026-08-1041321430.0 KB

c88faa17bc25

policy

List policies

get/policies

Query parameters

pageinteger

Which page to fetch

pageSizeinteger

Page size to use

namestring

Search by matching name

isPrivateboolean

Search private policies

currencystring

Search by currency

contractAddressstring

Filter by token contract address (requires 'currency')

tokenIdentifierstring

Filter by token identifier (requires 'currency')

policyType'single' | 'multiple'

Filter by policy type: 'single' returns policies with any currency assigned, 'multiple' returns policies without a currency (multicurrency)

sortBy'name' | 'createdAt' | 'updatedAt'

Sort by attribute

sortOrder'asc' | 'desc'

Sort order

Response

Successful response

pagenumber required

Current page

nextnumber required

Next page or null if there is none

prevnumber required

Previous page or null if there is none

pageSizenumber required

Max count of items per page

totalnumber required

Total count of items