Filter Claims & Update Notes
In the latest API update, you can now filter claims by status and created date and update individual notes.
Filter Claims by Status and Created Date
We've introduced three new query parameters when making GET requests to /claims
to filter your results by status and/or created date.
Parameter | Format | Purpose |
---|---|---|
status | "open" or "closed" | Filters the list of claims by either "open" or "closed" status. |
created_at_from | UTC date/time in ISO 8601 format. E.g. 2021-01-01 or 2021-01-01T09:00:00 | Filters the list of claims to those with a created_at greater than or equal to the provided value. |
created_at_to | UTC date/time in ISO 8601 format. E.g. 2021-01-01 or 2021-01-01T09:00:00 | Filters the list of claims to those with a created_at less than or equal to the provided value. |
Example Request
The following example will return all claims that were created during January 2021 and that have a current status of "open".
/claims?status=open&created_at_from=2021-01-01T00:00:00&created_at_to=2021-01-31T23:59:59
Read more on the List & Search Claims API Reference page.
Date & Times are in UTC
Don't forget that regardless of your local timezone all dates and times are represented in UTC in our API. This applies to filtering too, so make sure you adjust your query params accordingly when passing dates and times.
Update Notes
You can now update individual notes via a PATCH request, for notes on claims, contacts and companies. Read more in our Notes endpoint API Reference pages.