# Nurture time range when creating a workflow via the API

**URL:** <https://community.hubspot.com/t/nurture-time-range-when-creating-a-workflow-via-the-api/21385>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [June 3, 2020, 5:29pm UTC](https://community.hubspot.com/t/nurture-time-range-when-creating-a-workflow-via-the-api/21385 "2020-06-03T17:29:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EBHamer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ebhamer/32/30191_2.png) [@EBHamer](https://community.hubspot.com/u/EBHamer)\
**Post date:** [June 3, 2020, 5:29pm UTC](https://community.hubspot.com/t/nurture-time-range-when-creating-a-workflow-via-the-api/21385/1 "2020-06-03T17:29:42Z")

</div>

We are trying to create a workflow via the API. For the days and time range, we have this JSON:

“onlyExecOnBizDays”: true,  
“enabled”: true,  
“nurtureTimeRange”: {  
“enabled”: true,  
“startHour”: 8,  
“stopHour”: 19  
},

and it works fine.

The question I have, for the start and stop time, if I wanted it to stop at 7:30 PM, is there any way that I can do this, or do they need to be based on hours only?

Thanks,

Eric Hamer

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [June 5, 2020, 5:44am UTC](https://community.hubspot.com/t/nurture-time-range-when-creating-a-workflow-via-the-api/21385/2 "2020-06-05T05:44:52Z")

</div>

Hey @EBHamer,

Do you mean you’d like to set specific time on the workflow like this?

 ![27653i8B7FF86E158A0DEB.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/4/4418b52906b1e7bb19ffe5e4078a6c0628a2bc4b.png)

In which the workflow stop will stop action from executing at 1930 for all days?
