APIs & Integrations

SteveJenns
Participant

Direct Link to contact using email parameter

Is there someway that I could link directly to a contact (assuming I am logged in) by using an email parameter in the URL?

For example if I use this URL as the base https://app.hubspot.com/contacts/2610197/contact/

Can I then add an email parameter onto the end such as
?email=steve.jenns@email.com

that would open the contact record in HubSpot?

The reason I ask is because I am trying to embed a HubSpot link into an internal system we have, in which we know the HubSpot email address. So I am trying to link dynamically to the user record in HubSpot.

Thanks,
Steve

0 Upvotes
2 Replies 2
SteveJenns
Participant

Direct Link to contact using email parameter

Hi @dadams

I like that link, thanks!

The only problem is though that I have to pass the email as a parameter, so it will have a ? in front of it. Do you know if there is a URL I can use that would allow this?

So instead of https://app.hubspot.com/contacts/62515/contact/email/testingapis@hubspot.com

it would be something like https://app.hubspot.com/contacts/62515/contact/email/?testingapis@hubspot.com

Thanks so much,
Steve

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Direct Link to contact using email parameter

Hi @Steve_Jenns

You can link to a contact by email using this URL format:
https://app.hubspot.com/contacts/{Hub ID}/contact/email/{email address}

As an example, linking to testingapis@hubspot.com in Hub ID 62515:
https://app.hubspot.com/contacts/62515/contact/email/testingapis@hubspot.com