# How to pass Parameters for Contact module in GET API

**URL:** <https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032>\
**Category:** APIs & Integrations\
**Created:** [August 30, 2022, 11:59am UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032 "2022-08-30T11:59:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SmitKarbhari](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@SmitKarbhari](https://community.hubspot.com/u/SmitKarbhari)\
**Post date:** [August 30, 2022, 11:59am UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/1 "2022-08-30T11:59:12Z")

</div>

Hi Support,

Here we passed URL like this  
[https://api.hubapi.com/crm/v3/objects/contacts?lastmodifieddate=2022-08-31T22:38:08.712Z](https://api.hubapi.com/crm/v3/objects/contacts?lastmodifieddate=2022-08-31T22:38:08.712Z)  
Its not working for me. Can you please tell us correct form of passing parameters.

Thank you,

Smit Karbhari

 ![hubspot_param.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/1/716232109615bf061a85d6424f4b2816c3d3faee.png)

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [August 30, 2022, 2:35pm UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/2 "2022-08-30T14:35:32Z")

</div>

What are you trying to do here? Are you trying to search for contacts with that modified date? If you are trying to do something like that I believe you have to use the search api: [Search the CRM - HubSpot docs](https://developers.hubspot.com/docs/api/crm/search) and timestamps would be an epoch date as shown further down in the examples on the search API.

---

<div class="post-metadata">

**Author:** ![SmitKarbhari](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@SmitKarbhari](https://community.hubspot.com/u/SmitKarbhari)\
**Post date:** [August 31, 2022, 3:51am UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/3 "2022-08-31T03:51:02Z")

</div>

Hi,  
Yes i am trying to search contact records based on modified date, can you  
give me example of it?  
Thank you,  
Smit

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [August 31, 2022, 12:16pm UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/4 "2022-08-31T12:16:42Z")

</div>

```lia-code-sample
curl --location --request POST 'https://api.hubapi.com/crm/v3/objects/contact/search' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer xxxxxx' \
--data-raw '{
 "filterGroups": [{
 "filters": [{
 "operator": "GT",
 "propertyName": "lastmodifieddate",
 "value": 1661860800000
 }]
 }],
 "properties": ["firstname","lastname","email"]
}'

```

---

<div class="post-metadata">

**Author:** ![ASol](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@ASol](https://community.hubspot.com/u/ASol)\
**Post date:** [September 1, 2022, 8:12am UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/5 "2022-09-01T08:12:27Z")

</div>

Hey, can you give me a hint, how is this time-format called?

---

<div class="post-metadata">

**Author:** ![SmitKarbhari](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@SmitKarbhari](https://community.hubspot.com/u/SmitKarbhari)\
**Post date:** [September 3, 2022, 11:06am UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/6 "2022-09-03T11:06:43Z")

</div>

Hi Lee,

Thanks its working now. will get back to you if any query over there. thanks again.

Smit Karbhari

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 1, 2022, 1:03pm UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/7 "2022-09-01T13:03:02Z")

</div>

It’s a Unix Timestamp/Epoch Time. Basically it represents the amount of time that has passed since 00:00:00 Jan 1, 1970 UTC and it pretty common in programming as a way to store date time irrespective of timezone. In my experience it’s generally expressed in milliseconds, but I don’t think it has to be.  
[https://en.wikipedia.org/wiki/Unix\_time](https://en.wikipedia.org/wiki/Unix_time)

> **[Epoch Converter - Unix Timestamp Converter](https://www.epochconverter.com/)**
>
> Online Epoch & Unix timestamp converter tools for software developers. Many converters and code examples for various programming languages.

---

<div class="post-metadata">

**Author:** ![ASol](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@ASol](https://community.hubspot.com/u/ASol)\
**Post date:** [September 1, 2022, 1:33pm UTC](https://community.hubspot.com/t/how-to-pass-parameters-for-contact-module-in-get-api/64032/8 "2022-09-01T13:33:12Z")

</div>

That helps. Thanks!
