Hey @alvarofranz,
Yes, these are objects and you can use the CRM Properties API to retrieve property data for the standard CRM objects listed below.
https://api.hubapi.com/crm/v3/properties/contacts
https://api.hubapi.com/crm/v3/properties/companies
https://api.hubapi.com/crm/v3/properties/deals
https://api.hubapi.com/crm/v3/properties/tickets
https://api.hubapi.com/crm/v3/properties/product
https://api.hubapi.com/crm/v3/properties/line_items
https://api.hubapi.com/crm/v3/properties/quotes
https://api.hubapi.com/crm/v3/properties/feedback_submissions
https://api.hubapi.com/crm/v3/properties/marketing_event
There are also what are known as “Engagements” which record communication that your team have had with a Contact, Company, Deal or Ticket and Custom Objects which also have properties you can retrieve as per the below (you are unable to create custom properties for these within the UI):
https://api.hubapi.com/crm/v3/properties/notes
https://api.hubapi.com/crm/v3/properties/calls
https://api.hubapi.com/crm/v3/properties/tasks
https://api.hubapi.com/crm/v3/properties/emails
https://api.hubapi.com/crm/v3/properties/meetings
https://api.hubapi.com/crm/v3/properties/postal_mail
https://api.hubapi.com/crm/v3/properties/communications
And as you have mentioned you can use the CRM Properties API to retrieve property data for any custom objects you’ve defined within your portal using either the objects name or objectTypeId in your request.
https://api.hubapi.com/crm/v3/properties/{object_name}
https://api.hubapi.com/crm/v3/properties/{objectTypeId}
There are a few other objects within the CRM (one of them being the marketing campaign object you referenced) but you are unable to retrieve them at this time as the scopes don’t exist (that I know off) and trying to do so results in the response below:
https://api.hubapi.com/crm/v3/properties/campaign
https://api.hubapi.com/crm/v3/properties/invoice
{
"status": "error",
"message": "The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.",
"correlationId": "adcad5bf-4bf0-47ad-902c-7da2ad736938",
"links": {
"support": "https://help.hubspot.com/",
"forum": "https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations"
},
"category": "MISSING_SCOPES"
}
Finally, I found all of this by going into my property settings and exporting a XLSX of all available properties for the different object types in a portal. I then attempted to cross reference what I could retrieve using the CRM Properties API. I’ve also attached this XLSX for your reference if it helps but you’d likely want to export your own as you’ll have custom properties defined I’m sure. I’d also recommend checking this article out. There is a breakdown of the CRM Objects half way down.
I hope this helps.
826639_1_hubspot_default_properties.xlsx (83.1 KB)