Input button on contact information

contacts
oauth

#1

Hy,
I need to put a button on contact details page, this button send to my system contact_id or something like this. My idea would be a Call button to contact. I need get informations from user logged too.

Can someone help me? Is it possible to do that?
Thanks.


#2

Hi @Ueslei_Lima,

Sorry for the delayed response, I missed this post. Essentially for your use case you’ll be relying on the Extensions API. Your call button would be the primaryAction of the extension. When you are handling the action hook in your application you will receive the associatedObjectId which is basically what you called the contact_id above. That hook also includes information about the user, both their id as HubSpot knows them and their email address.

Let me know if you have any questions.

-Zack