which APIs to use for phone search and post an activity

Hello!

I need an API that will look up hubspot and return hubspot contacts based on a phone number. I need to pass in phone and get a return of contacts with matching phone numbers. Need contact ID, phone and email returned.

Then I need an API to post information about an sms to hubspot. The hubspot contact ID, the SMS message, data and time of the sms. Which is best API to post sms activity?

Hey, @BTaht :waving_hand: Welcome to our community. This is a great question.

For searching an object by a specific property or properties, you can use the Search API. It allows you to use filters and to specify which properties are returned with the response.

For recording SMS messages on an object record, you can use the Engagements API endpoints for Communications.

I hope this helps get you moving forward! — Jaycee