why the timezone is null?

I wanted to fetch the timezone of hubspot users with this api:

https://api.hubapi.com/crm/v3/objects/users/:userid?archived=false&properties=hs_given_name,hs_internal_user_id,hs_timezone,hs_standard_time_zone

but getting null in the response. “hs_standard_time_zone”: null.
Please help me.

Hey, @VMourya :waving_hand: The property you mention is set in-app under Settings > Users > A_SPECIFIC_USER > Edit working hours. If the checkbox for “Update time zone based on device location” this will be “null”.

I set up a quick test:

My User (checkbox enabled)

  • Timezone specified

  • Request using Postman

    {
     "id": "208873803819",
     "properties": {
     "hs_createdate": "2022-06-29T17:58:48.601Z",
     "hs_lastmodifieddate": "2025-02-26T17:45:37.638Z",
     "hs_object_id": "208873803819",
     "hs_standard_time_zone": "US/Mountain"
     },
     "createdAt": "2022-06-29T17:58:48.601Z",
     "updatedAt": "2025-02-26T17:45:37.638Z",
     "archived": false
    }​
    

If you want to set this value programmatically when creating new Users, you can get all the values for this property from the Properties API

curl --request GET \
 --url 'https://api.hubapi.com/crm/v3/properties/users/hs_standard_time_zone?archived=false' \
 --header 'authorization: Bearer YOUR_ACCESS_TOKEN'

Have fun building! — Jaycee