Menu
Post /crm/v3/objects/contacts/batch/upsert Upsert
Create or update a batch of contacts
POST
/crm/v3/objects/contacts/batch/upsertUse it in a workflow
- Add a step and choose the HubSpot connector.
- Pick the Post /crm/v3/objects/contacts/batch/upsert Upsert action (under Contacts).
- Fill in the fields below, then reference the result from later steps as
{{postCrmV3ObjectsContactsBatchUpsertUpsert.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"inputs": [
{
"id": "string",
"properties": {},
"idProperty": "string",
"objectWriteTraceId": "string"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{postCrmV3ObjectsContactsBatchUpsertUpsert.response.data.<field>}}.
{
"completedAt": "2025-01-01T00:00:00Z",
"results": [
{
"archived": false,
"createdAt": "2025-01-01T00:00:00Z",
"id": "string",
"new": false,
"properties": {},
"updatedAt": "2025-01-01T00:00:00Z",
"archivedAt": "2025-01-01T00:00:00Z",
"objectWriteTraceId": "string",
"propertiesWithHistory": {},
"url": "string",
"warnings": [
{
"category": "string",
"context": {},
"message": "string"
}
]
}
],
"startedAt": "2025-01-01T00:00:00Z",
"status": "CANCELED",
"links": {},
"requestedAt": "2025-01-01T00:00:00Z"
}
Need more? See the HubSpot guide for connection setup and behaviour shared by every action.
Was this page helpful?