We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Feb 3, 2022 10:37 PM - edited Feb 3, 2022 10:37 PM
Using OAuth, is there a way to seach owners objects by first name or last name? Currenly i see only api to search by email.
The use case I am trying to accomplish is to show a searchable field to assign an owner to a task.
They would type the owner's first name or last name and i want to show them names that they can assign the task to.
Solved! Go to Solution.
Feb 4, 2022 3:31 AM
Hi @vivganes ,
Currently, there is no API's for that particular approach but you can get all the owners and then filter them separate them by name after looping on them.
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.
Feb 4, 2022 4:20 AM
Thanks for the information, @webdew
My only concern is why fetch all the owners (particularly if there are thousands of owners in an organization). Looks like, the only way is what you said now.
In case you find some other way, please let me know.
Feb 4, 2022 3:31 AM
Hi @vivganes ,
Currently, there is no API's for that particular approach but you can get all the owners and then filter them separate them by name after looping on them.
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.