Skip to content

Using HubSpot

Practical guide for working with HubSpot contacts, deals, companies, and pipelines through Fp Switchboard.

  • Associations require Type IDs: 1=contact_to_company, 3=deal_to_contact
  • Pipeline stages: use internal ID (qualifiedtobuy), not label (“Qualified to Buy”)
  • GET requests: specify properties parameter — defaults return only id/createdate
  • Timestamps are Unix milliseconds
  • Custom properties: use internal name, not UI label

Association Type IDs Required Critical

Section titled “Association Type IDs Required ”

Creating associations requires specific type IDs, not just object IDs.

Example
WrongAssociate contact 123 with company 456 (missing type)
CorrectassociationTypeId: 1 (contact_to_company)

Common type IDs: 1=contact_to_company, 2=company_to_contact, 3=deal_to_contact, 4=contact_to_deal

Stage IDs vs Labels Critical

Section titled “Stage IDs vs Labels ”

Pipeline stages have internal IDs that differ from display labels.

Example
Wrongdealstage: "Qualified to Buy"
Correctdealstage: "qualifiedtobuy"

Look up pipeline/stage IDs from /crm/v3/pipelines/deals first.

Properties Not Returned by Default Important

Section titled “Properties Not Returned by Default ”

GET requests only return id and createdate. Must specify properties parameter.

Example
WrongGET /crm/v3/objects/contacts/{id}
CorrectGET /crm/v3/objects/contacts/{id}?properties=email,firstname,lastname

Internal Property Names Important

Section titled “Internal Property Names ”

API uses internal property names, not UI labels.

Example
Wrongproperty: "Annual Revenue"
Correctproperty: "annualrevenue"
  1. GET /crm/v3/objects/deals/{id}?associations=companies,contacts
  2. This returns association IDs, not full records
  3. Make separate calls to get full contact/company details
  1. Identify source and target object IDs
  2. Look up association type ID (e.g., 1 for contact_to_company)
  3. PUT /crm/v4/objects/{fromObject}/{fromId}/associations/{toObject}/{toId}
ID TypeFormatExample
Object IDNumeric string12345
Association Type IDSmall integer1
  • “List my HubSpot deals in the pipeline”
  • “Create a new contact for Jane Smith at Acme Corp”
  • “Show deals closing this month”
  • “Search contacts with email domain @techcorp.com”
  • “Update the deal stage to ‘Closed Won‘“
PlanLimit
Free/Starter100 requests/10 seconds
Professional150 requests/10 seconds
Enterprise200 requests/10 seconds
Search4 requests/second