Searching engagements via metadata filter

SOLVE
jamesgraham
Member

Hi,

 

We wish to search all engagements and filter recordingUrl (under metadata) for a specific URL.

 

How should we go about this?

SDK
0 Upvotes
1 Accepted solution

Accepted Solutions
arth
Solution
Participant

haha @dennisedson hi again 🙂

@jamesgraham there is no way right now to search engagements, unfortunately.

I believe the only way to do this are to export all engagements via this GET endpoint https://legacydocs.hubspot.com/docs/methods/engagements/get-all-engagements

and to search by the field "recordingUrl".

Also, you can export just recent engagements https://legacydocs.hubspot.com/docs/methods/engagements/get-recent-engagements

View solution in original post

3 Replies 3
dennisedson
Community Manager

@arth, somehow, I feel like you might be able to help out here 😀

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
arth
Solution
Participant

haha @dennisedson hi again 🙂

@jamesgraham there is no way right now to search engagements, unfortunately.

I believe the only way to do this are to export all engagements via this GET endpoint https://legacydocs.hubspot.com/docs/methods/engagements/get-all-engagements

and to search by the field "recordingUrl".

Also, you can export just recent engagements https://legacydocs.hubspot.com/docs/methods/engagements/get-recent-engagements

View solution in original post

dennisedson
Community Manager

To follow up on @arth 's point about it not being available to search now, we are working on making the engagements an object in an of itself which in theory could make it possible to use the search endpoint to filter.  Keep your eyes open for developments on that 😀

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes