First Name Last Name Create Date Company Name Email Job title Message Lead Status Lead Stage Lead Rating Lifecycle Stage Contact Owner City Country Website URL Phone Number Hubspot Team Domain Value Original Source Original source drill-down 1
At this time, team data is not surfaced via the Owners API. Currently, the only way to view team labels and IDs is in app by navigating to Settings > Properties > Contact properties > HubSpot team > Edit. See the screenshot below:
That said, we are working to add team support to the Owners API and expect changes to be released to developer preview in early 2020.
If you are beta-tolerant, willing to give active feedback, and agree to HubSpot's Developer Beta Terms, direct message me with your Hub ID and email and I will work to get you added to the private beta with this feature.
If you take a look at the doc, you'll see that you can include the property parameter in the request to get back the desired properties. You can add it multiple times to get the properties you need. An example of a request that would return the First Name and Email:
Are you referring to the default contact property "Lead status" (hs_lead_status)? If so, as Danielle said, you can include the parameter property=hs_lead_status in your request URL. HubSpot will include the contact's value for this property if it exists. This method also works for the Get all contacts endpoint.
You'll have to cross-reference the ownerId values with those returned from the Owners API, which does include names.
I'm not familiar with that parameter. Could you share some example contact JSON which shows the "HubSpot team ID" and the endpoint URL you retrieved it from? (Please do not include your API key.)
At this time, it's currently not possible to get team information through the Owners API; this information can only be found in the UI. Per this related discussion, I recognize this is a pain point.
If you would like to see team information returned via the Owners API, please upvote and comment onthis feature request. I've already upvoted it.
Apologies for the delayed response. I missed your question coming in. For the fastest response, please tag the user you are asking (e.g. @IsaacTakushi) so that we receive a notification.
Thanks for clarifying. The labels and option IDs for the hubspot_team_id property can be viewed here.
You should also be able to pull the team labels and option IDs by using this endpoint, specifically:
However, I'm currently not seeing anything returned in the options array, unlike other dropdown-type properties I've tested. I'll look into this, but as I said, the same data is visible in-app here.
Is there any way we could get Hubspot team labels from the API? We ran into the same issue with Owner Ids but we were able to solve it by mapping the Ids with the response from this endpoint https://developers.hubspot.com/docs/methods/owners/get_owners.
Hello. I've just come across the same problem. The Get A Deal endpoint returns Team IDs in fields like "hubspot_team_id" and "hs_all_team_ids", but I have no way of getting the corresponding team labels to display to my users.
At this time, team data is not surfaced via the Owners API. Currently, the only way to view team labels and IDs is in app by navigating to Settings > Properties > Contact properties > HubSpot team > Edit. See the screenshot below:
That said, we are working to add team support to the Owners API and expect changes to be released to developer preview in early 2020.
If you are beta-tolerant, willing to give active feedback, and agree to HubSpot's Developer Beta Terms, direct message me with your Hub ID and email and I will work to get you added to the private beta with this feature.