CRM - A Developer's Guide to HubSpot CRM Objects

Number of APIs: 9

This Qodex collection is intended to help guide you through the blog series, [A Developer's Guide to HubSpot CRM Objects](https://developers.hubspot.com/blog/a-developers-guide-to-hubspot-crm-objects-standard-objects) on the HubSpot Developer Blog.

Table of contents:

🚀 Using this workflow collection
🔐 Authorization
🤔 Need Help?

🚀 Using this workflow collection

Each folder in this collection represents a common scenario where the HubSpot APIs may be used. In the folder-level documentation, we give an overview of the use case.

🔐 Authorization

  • The HubSpot APIs use a private app access key or OAuth token for authorization.

  • You must include a private access key or OAuth token in each request to a HubSpot API with the Authorization request header.

  • You can also leverage the easy-auth feature available for CRM APIs, by first having a HubSpot account, navigating to the Auth tab, and click Authorize.

🤔 Need help?

The HubSpot Developer Advocate team wants to ensure you have everything you need to integrate our services into your applications and services successfully. Don't hesitate to reach out to us via this form.

If you're interested in the complete list of requests available for HubSpot, check out our API documentation.

  1. Contacts Object-Create a Contact & Retrieve Contact by ID - Get Contact by ID GET https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID

  2. Contacts Object-Create a Contact & Retrieve Contact by ID - Create Contact POST https://api.hubapi.com/crm/v3/objects/contacts

  3. Deals Object-Associating Activities with Deals - New Request GET

  4. Contacts Object-Creating Custom Properties - Create a Custom Contact Property POST https://api.hubapi.com/crm/v3/properties/contacts

  5. Contacts Object-Creating Custom Properties - Get Contact by ID GET https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID

  6. Company Object-Request Companies with Specific Property - Search Companies by Industry POST https://api.hubapi.com/crm/v3/objects/companies/search

  7. Company Object-Associate a Deal with a Company - Associate Deal with Company POST https://api.hubapi.com/crm/v4/objects/deals/{{dealId}}/associations/companies/{{companyId}}/{{associationTypeId}}

  8. Deals Object-Associating Activities with Deals - Get Association Type IDs GET https://api.hubapi.com/crm/v4/associations/deals/{toObjectType}/labels

  9. Deals Object-Associating Activities with Deals - Associate Deal with Activity PUT https://api.hubapi.com/crm/v3/objects/deals/{dealId}/associations/{toObjectType}/{toObjectId}/{associationTypeId}