Solved

Hubspot API Get Company Name

Posted on 2013-01-26
1
571 Views
Last Modified: 2013-01-26
When I get a list of Contacts using the Hubspot API, the only two properties it includes is FirstName and LastName.  There are other properties that are supposed to be available, like CompanyName, PhoneNumber, etc.  

So why don't I see them in the response?

I'm using this endpoint:

 https://api.hubapi.com/contacts/v1/lists/all/contacts/all?count=20&vidOffset=0&hapikey=<xxxxmykey>
0
Comment
Question by:mfortiernh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 38822095
If you add the word demo for hapikey=demo you can see sample data.  If you want to see more data in the list you would need to run another endpoint to look up the id for that contact. See http://developers.hubspot.com/docs/methods/contacts/get_properties

{"contacts":[{"addedAt":1322767870001,"vid":1,"portal-id":62515,"profile-token":"AO_T-mPoaywPHWdE7hei9QXsBhhelFFKnLXWaS7D_TWq1bMdJvcttfh-S35k39eLRVjfNvekBKeWJFEQ0yYiEvbqwiyt4Pgb175xbAOdxRr72GQGbTd6kAL65S9OxbqcXj0L3bv19NzU","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPoaywPHWdE7hei9QXsBhhelFFKnLXWaS7D_TWq1bMdJvcttfh-S35k39eLRVjfNvekBKeWJFEQ0yYiEvbqwiyt4Pgb175xbAOdxRr72GQGbTd6kAL65S9OxbqcXj0L3bv19NzU/","properties":{"lastname":{"value":"One"},"firstname":{"value":"User"}},"form-submissions":[{"conversion-id":"de78d870a62d4c4da7bc2abea932fca9","timestamp":1325882352000,"form-id":"762987228e694ef19530f58da2db5f63","portal-id":62515,"page-title":"testform","title":"testform"}],"identity-profiles":[{"vid":1,"identities":[{"type":"LEAD_GUID","value":"8a706adf33fb1be60133fb1bea120004","timestamp":1322767870341},{"type":"EMAIL","value":"erik@hallwaytech.com","timestamp":1322767870341}]}]}],"has-more":true,"vid-offset":1}
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can invite friends from Facebook, Twitter, Google Plus and LinkedIn? 3 3,212
Online Free Booking System 13 147
Facebook Virus 2 153
Presenting my portfolio on the web? 11 53
Currently, it's non-trivial for users to draw the attention of a particular Expert. Let's make it easier for them! You can set up a Saved Search with email notification so that you receive an email when a user mentions your name in their question…
Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
The goal of the tutorial is to teach the user how to block contacts and manage the block contact list.
The goal of the tutorial is to teach the user what do the general settings mean under the preference tab in Skype.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question