The query[updatedafter] parameter allows you to retrieve all data that has been created, updated, or recalculated since a specific timestamp.
This makes it easy to keep your system synchronized with the latest Smartvatten data without defining a start and end date for each request.
How It Works
When the query[updatedafter] parameter is used, the API returns all values that have been updated after the specified timestamp, including any historical values that have been recalculated.
For example, if data from several months ago is corrected today, that value will be included in the response as long as it was updated after the timestamp you provide.
Parameter Details
Parameter: query[updatedafter]
Format: YYYY-MM-DDTHH
Example: 2025-07-25T01
Example Use Case
To keep your integration up to date:
Store the timestamp of your last successful synchronization.
Use that timestamp as the
query[updatedafter]value in your next API request.The API will return all values that have been created, modified, or recalculated since that time.
Best Practices
Use the timestamp from your last successful synchronization.
Store the timestamp after each successful API call and reuse it for the next request.
Keep in mind that updates can be returned for data up to 2 years old.
Need Help?
For more information about data integrations and available integration options, please explore the other articles in this section. If you need further assistance, contact integrations@smartvatten.com.
