Open mikesnare opened 4 months ago
You're not missing it, there's no available methods to create it. You'll have to resort to hs.apiRequest({...})
. I think since custom events are in beta they're not going to add the methods to the SDK just yet.
If you head over to the docs, it'll show you whether the request can be done via the SDK or not.
Hi @mikesnare
Do you mean Send custom event completion?
hubspotClient.events.send.customEventDataApi.send()
@ksvirkou-hubspot Nope. I mean management APIs for the event definitions themselves. I was able to switch to apiRequest as suggested for now. Thanks!
I see that you can send custom events using this SDK, but I don't see any way to create custom event definitions. Am I just missing it?