Create a batch of contacts
POST {{baseUrl}}/crm/v3/objects/contacts/batch/create?hapikey=
Create a batch of contacts. This follows the same rules as creating an individual object.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
hapikey | null |
Request Body
{"inputs"=>[{"properties"=>"<object>"}, {"properties"=>"<object>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"completedAt":"\u003cdateTime\u003e","results":[{"createdAt":"2019-10-30T03:30:17.883Z","archived":false,"properties":{"property_number":"17","property_dropdown":"choice_b","property_radio":"option_1","property_string":"value","property_multiple_checkboxes":"chocolate;strawberry","property_checkbox":"false","property_date":"1572480000000"},"updatedAt":"2019-12-07T16:50:06.678Z"},{"createdAt":"2019-10-30T03:30:17.883Z","archived":false,"properties":{"property_number":"17","property_dropdown":"choice_b","property_radio":"option_1","property_string":"value","property_multiple_checkboxes":"chocolate;strawberry","property_checkbox":"false","property_date":"1572480000000"},"updatedAt":"2019-12-07T16:50:06.678Z"}],"startedAt":"\u003cdateTime\u003e","status":"\u003cstring\u003e","numErrors":"\u003cinteger\u003e","errors":[{"message":"Invalid input (details will vary based on the error)","correlationId":"aeb5f871-7f07-4993-9211-075dc63e7cbf","category":"VALIDATION_ERROR","links":{"knowledge-base":"https://www.hubspot.com/products/service/knowledge-base"}},{"message":"Invalid input (details will vary based on the error)","correlationId":"aeb5f871-7f07-4993-9211-075dc63e7cbf","category":"VALIDATION_ERROR","links":{"knowledge-base":"https://www.hubspot.com/products/service/knowledge-base"}}],"requestedAt":"\u003cdateTime\u003e"}