# Contact Info Curl

**URL:** <https://community.hubspot.com/t/contact-info-curl/137435>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [August 4, 2025, 7:02pm UTC](https://community.hubspot.com/t/contact-info-curl/137435 "2025-08-04T19:02:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDeville](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@JDeville](https://community.hubspot.com/u/JDeville)\
**Post date:** [August 4, 2025, 7:02pm UTC](https://community.hubspot.com/t/contact-info-curl/137435/1 "2025-08-04T19:02:58Z")

</div>

Hello. I am just starting out using hubspot. The other day, I was able to easily access my contact info by portal ID, but I forget what endpoint I was using to do it. When I try to access it using

/api/contacts/v1/contact/vid/\<myportalID\>/profile

I get the error:  
“HubId is not present in any form on the request. Please provide a path param or a query param.”  
Before it was just cleanly output with my name, portal ID, and email. How would I access it like this again?

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [August 4, 2025, 7:59pm UTC](https://community.hubspot.com/t/contact-info-curl/137435/2 "2025-08-04T19:59:41Z")

</div>

Hey @JDeville - thanks for posting this inquiry in the HubSpot Community!  
I understand that you’re looking to re-clarify which endpoint you were using to easily access your Contacts info by portal ID. I’d like to tag in some of our developer and API experts for further support. @ashleyidesign, @ChrisMagtoto, and @felixmacaspac - any insight that may help @JDeville with the above?

---

<div class="post-metadata">

**Author:** ![Bhupendra\_Kumar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bhupendra_kumar/32/67536_2.png) [@Bhupendra\_Kumar](https://community.hubspot.com/u/Bhupendra_Kumar)\
**Post date:** [August 5, 2025, 3:11am UTC](https://community.hubspot.com/t/contact-info-curl/137435/3 "2025-08-05T03:11:59Z")

</div>

Hi @JDeville you can use this endpoint to get the contact details from CRM using api :

For V1 that you are using , you can use this :  
[https://api.hubapi.com/contacts/v1/contact/vid/:vid/profile](https://api.hubapi.com/contacts/v1/contact/vid/:vid/profile)

in url it is not \<myportalID\> it is :vid which will be passed , vid is contact’s unique ID stands for Visitor ID

for reference = [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts/v1#get-a-contact-by-vid)

and can use v3 apis as well

/crm/v3/objects/contacts/{contactId}

for more info you can refere here : [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/guides/api/crm/objects/contacts#retrieve-contacts-by-record-id%2C-email%2C-or-custom-unique-value-property)

---

<div class="post-metadata">

**Author:** ![JDeville](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@JDeville](https://community.hubspot.com/u/JDeville)\
**Post date:** [August 5, 2025, 5:28pm UTC](https://community.hubspot.com/t/contact-info-curl/137435/4 "2025-08-05T17:28:18Z")

</div>

Thank you for your reply. I am still getting the error for the HubID for any request to the contact API. Sending a GET request to /api/contacts/v1/contacts/statistics returns “HubId is not present in any form on the request. Please provide a path param or a query param.”,
