HAC API Development & Integration 3 — Questions and Answers
Question 1: What is the correct way to associate a contact with a company using the HubSpot CRM v3 Associations API?
- PUT /crm/v3/objects/contacts/{contactId}/associations/companies/{companyId}/{associationType} (Correct answer)
- POST /crm/v3/associations/contacts/companies/batch/create
- PATCH /crm/v3/objects/contacts/{contactId}/company/{companyId}
- GET /crm/v3/objects/contacts/{contactId}?associations=companies
Correct answer: PUT /crm/v3/objects/contacts/{contactId}/associations/companies/{companyId}/{associationType}
The CRM v3 Associations API uses PUT to create an association between two objects with a specified association type.
Question 2: Which HubSpot webhook event type fires when a contact's property value changes?
- contact.creation
- contact.propertyChange (Correct answer)
- contact.updated
- contact.merge
Correct answer: contact.propertyChange
The contact.propertyChange event fires when a specified contact property is updated, requiring you to configure which properties to watch.
Question 3: When setting up a HubSpot webhook subscription, what must you configure to ensure delivery reliability?
- A static IP whitelist
- A publicly accessible HTTPS endpoint that returns 200 within a timeout (Correct answer)
- A HubSpot-hosted serverless function
- A GraphQL resolver
Correct answer: A publicly accessible HTTPS endpoint that returns 200 within a timeout
HubSpot requires a publicly accessible HTTPS URL that responds with HTTP 200 quickly; slow or failing endpoints trigger retries and eventual deactivation.
Question 4: What does a 429 HTTP status code from the HubSpot API indicate?
- Authentication failure
- Resource not found
- Rate limit exceeded (Correct answer)
- Server-side error
Correct answer: Rate limit exceeded
A 429 Too Many Requests response means you have exceeded HubSpot's API rate limits and should back off before retrying.
Question 5: Which HubSpot API allows you to create, update, and delete multiple CRM records in a single request?
- CRM v3 Batch API (Correct answer)
- CRM v3 Search API
- CRM v3 Bulk API
- CRM v3 Import API
Correct answer: CRM v3 Batch API
The CRM v3 Batch API endpoints allow operations on up to 100 records per request using paths like /batch/create or /batch/update.
Question 6: What is a HubSpot property group in the context of the Properties API?
- A collection of contacts that share a property value
- A named grouping used to organize properties in the CRM UI (Correct answer)
- A permission set controlling property visibility
- A batch of property values submitted in one API call
Correct answer: A named grouping used to organize properties in the CRM UI
Property groups are organizational containers that group related custom properties together in the HubSpot CRM interface.
Question 7: Which HubSpot API feature allows you to retrieve only specific property fields for a CRM object to reduce response payload size?
- The 'filter' query parameter
- The 'properties' query parameter (Correct answer)
- The 'fields' query parameter
- The 'select' query parameter
Correct answer: The 'properties' query parameter
The 'properties' query parameter lets you specify which property fields to include in the API response, reducing payload size.
What is the correct way to associate a contact with a company using the HubSpot CRM v3 Associations API?