I am trying to access the hs_timestamp from a task through a GET request

Hi,

I am making a custom code action in a workflow. I want to pull the due dates from the associated tasks of a deal. I successfully made the GET request but only get back info on creation and update dates for the tasks. I want the hs_timestamp. I think I have to add it as a URL parameter but I am not sure on the correct way to do that. I attached a screen shot of the relevant code.

Thanks

Hi @RZia ,

You are correct, it should look something like this:

'https://api.hubapi.com/crm/v3/objects/tasks/' + task.id + '?properties=hs_timestamp'

or

https://api.hubapi.com/crm/v3/objects/tasks/${task.id}?properties=hs_timestamp

If you need a second property:

'https://api.hubapi.com/crm/v3/objects/tasks/' + task.id + '?properties=hs_timestamp&properties=second_property'

It worked perfectly, thank you!