Custom API Call
AI-generatedSummary
Execute any HubSpot CRM v3 API request by specifying the HTTP method, endpoint path, query parameters, and optionally a JSON body.
Inputs
- Object Type (required) — The HubSpot object type (e.g., contacts, companies, deals, or a custom object name) related to the API call
- HTTP Method (required) — HTTP method for the API call: GET, POST, PUT, PATCH, or DELETE
- Endpoint (required) — API endpoint path without base URL, e.g., /crm/v3/objects/contacts
- Query Parameters — Query parameters as a JSON object to include in the request
- Body — Request body as JSON object, required only for POST, PUT, and PATCH methods
Output shape
A JSON array of the response data returned by the HubSpot API for each input item processed.
If multiple input items are provided, one response per item is returned. Errors can be handled to continue on failure and will return an error object per failed item.
Examples
Example 1: Make a GET request to retrieve contacts with specific query parameters
Set Object Type to 'contacts', HTTP Method to 'GET', Endpoint to '/crm/v3/objects/contacts', and Query Parameters as JSON to filter or paginate results.
Example 2: Create a new Deal object via POST
Set Object Type to 'deals', HTTP Method to 'POST', Endpoint to '/crm/v3/objects/deals', and Body as JSON with the deal properties.