-
operations_operations242Asked on August 5, 2025 at 12:41 PM
Hello,
I am trying to filter on the updated_at date in the jotform API. the documentation shows to use
params = { "updated_at:gt": "2025-07-01 00:00:00" }
Your AI bot said to use:
params = { "filter[updated_at][gte]": "2025-07-01T00:00:00Z" }
These are being passed in the query params along with offset and limit. Offset and limit work as intended.
Neither of these seem to return the desired data, I'm still getting every entry. -
Podo: Support AI AgentReplied on August 5, 2025 at 12:41 PM
Hi Operations,
Thanks for reaching out to Jotform Support. Let me help you with that:
To filter by the updated_at date in the Jotform API, the correct syntax uses the filter parameter like this:
params = { "filter[updated_at][gte]": "2025-07-01T00:00:00Z" }
Make sure the date format is in ISO 8601 (with the 'T' and 'Z') and that you are using the filter key properly as shown.
If you still get all entries, double-check that your API call includes this filter parameter correctly and that your API key has the necessary permissions.
Give it a try and let us know how it goes.
Best regards,
Jotform Support -
operations_operations242Replied on August 5, 2025 at 12:42 PM
This is for the submissions endpoint btw.
-
Christopher JotForm SupportReplied on August 5, 2025 at 1:14 PM
Hi operations_operations242,
The correct format for filter used in API is:
https://api.jotform.com/form/{Sumibssion ID}/submissions?apikey={API Key}&filter={"updated_at:gt":"2025-07-01 00:00:000"}
Give it a try and let us know how it goes.
-
operations_operations242Replied on August 6, 2025 at 12:02 PM
Ok that seems to work if I stringify the param before passing it as a param in the HTTP request. Thank you
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!