# Filter API Request by timestamp

**URL:** <https://community.hubspot.com/t/filter-api-request-by-timestamp/45698>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [October 21, 2021, 9:15am UTC](https://community.hubspot.com/t/filter-api-request-by-timestamp/45698 "2021-10-21T09:15:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![HOrdonez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hordonez/32/78607_2.png) [@HOrdonez](https://community.hubspot.com/u/HOrdonez)\
**Post date:** [October 28, 2021, 2:16pm UTC](https://community.hubspot.com/t/filter-api-request-by-timestamp/45698/5 "2021-10-28T14:16:35Z")

</div>

Thank you @dennisedson. I see that Feedback Submission has a search endpoint in the documentation that you sent, but is not in the other one.

The Python proposed implementation is not updated.

This is the one you provide:

`client.crm.feedback_submissions.search_api.do_search(public_object_search_request=public_object_search_request)`

This is the one I think it should be:

`client.crm.objects.feedback_submissions.search_api.do_search( public_object_search_request=public_object_search_request)`

I would like to ask as well, if I want to filter the feedback submitted after yesterday using `hs_lastmodifieddate`, I declare the following object:

`public_object_search_request = PublicObjectSearchRequest(filter_groups=[{"filters":[{"value":"2021-10-27","propertyName":"hs_lastmodifieddate","operator":"GT"}]}], properties=["hs_lastmodifieddate"], limit=0, after=0)`

But I’m getting that exception, so I may be doing something wrong:

`hubspot.crm.objects.feedback_submissions.exceptions.ApiException: (400)Reason: Bad RequestHTTP response headers: HTTPHeaderDict({'Date': 'Thu, 28 Oct 2021 13:14:26 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '123', 'Connection': 'keep-alive', 'CF-Ray': 'X', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'Vary': 'Accept-Encoding', 'CF-Cache-Status': 'DYNAMIC', 'Access-Control-Allow-Credentials': 'false', 'Expect-CT': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'X-HubSpot-Correlation-Id': 'X', 'X-HubSpot-RateLimit-Daily': '500000', 'X-HubSpot-RateLimit-Daily-Remaining': 'X', 'X-Trace': 'X', 'Report-To': '{"endpoints":[{"url":"x"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'Server': 'cloudflare', 'alt-svc': 'h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400'})HTTP response body: {"status":"error","message":"There was a problem with the request.","correlationId":"x"}`

---

_[View the full topic](https://community.hubspot.com/t/filter-api-request-by-timestamp/45698)._
