• Help Desk reporting gives you real-time visibility into your support operation without the manual work. Ask our experts about which metrics matter most! AMA Dec 8-12.

    Ask us anything

Unable to parse value for query parameter: startTimestamp for marketing emails

MMartinez34
Member

I'm attempting to call the marketing email statistics API here:
https://developers.hubspot.com/docs/reference/api/marketing/emails/marketing-emails#statistics

 

But the documentation doesn't mention anything about required query params. I've tried plugging in UNIX time, time in milliseconds, and different variations of dates.

 

I tried using formats with "yyyy-mm-dd" into startTimestamp and endTimestamp but then it just gives me the error message "interval cannot be null"

0 Upvotes
1 Reply 1
BérangèreL
Community Manager
Community Manager

Hi @MMartinez34 and welcome, we are so glad to have you here!

Thanks for reaching out to the HubSpot Community and sorry for the delay in the response.

I have found the solution from @coldrickjack and @JBeatty on this post "Get email events API - parameter startTimestamp not being respected" where they mentioned that the system expects milliseconds.

Let me know if that helped!

Have a lovely day! 🌞
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes