APIs & Integrations

zohaib
Member

Passing date variable in hubspot api to get current day result

Hy!

i am passing date parameter on hubspot marketing email statistics api to get current day stats of compaign. but it is not working..this is the api that's i am using

https://api.hubapi.com/marketing-emails/v1/emails/with-statistics?hapikey=demo&limit=10&offset=0&tim...

0 Upvotes
1 Reply 1
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Passing date variable in hubspot api to get current day result

Hello @zohaib 

 

It seems that the Get the statistics of all marketing emails allows only three parameters to be used for GET call and they are limit, offset and orderBy. To get stats of particular date, we need to look into the response that we get from HubSpot end.

 

Thanks

Digital Marketing & Inbound Expert In Growth Hacking Technology