You can indicate sorting by appending with the following parameters:

  • sort_field: The field key that you want to sort by
  • sort_order: The order you want to sort by that field
    • asc (ascending)
    • desc (descending)

Examples
https://api.knack.com/v1/objects/object_1/records?sort_field=field_25&sort_order=asc
https://api.knack.com/v1/objects/object_1/records?sort_field=field_25&sort_order=desc


What’s Next
Did this page help you?