Create
AI-generatedSummary
Create a new HubSpot CRM object of a specified type with custom properties defined as JSON.
Inputs
- Object Type (required) — Specify the HubSpot object type to create, such as contacts, companies, deals, or a custom object name.
- Properties (JSON) (required) — Provide the properties of the new object as a JSON string. For example, {"firstname": "John", "lastname": "Doe", "email": "john@example.com"}.
Output shape
a single JSON object containing the created HubSpot object data
The operation sends a POST request to the HubSpot API to create the object. The response includes all standard and custom properties of the newly created object. If the creation fails, an error is returned.
Examples
Example 1: Create a new contact
Object Type: contacts; Properties (JSON): {"firstname": "Jane", "lastname": "Smith", "email": "jane.smith@example.com"}