Batch
Update a batch of communications by internal ID, or unique property values
Changed onUpdate a batch of messages by ID (communicationId) or unique property value (idProperty). Provided property values will be overwritten. Read-only and non-existent properties will result in an error. Properties values can be cleared by passing an empty string.
post/crm/v3/objects/communications/batch/update
Request
- Base URLhttps://api.hubapi.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"inputs": [
{
"idProperty": "my_unique_property_name"
}
]
}Response
successful operation
Example response
{
"results": [
{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"id": "512",
"properties": {
"property_checkbox": "false",
"property_date": "1572480000000",
"property_dropdown": "choice_b",
"property_multiple_checkboxes": "chocolate;strawberry",
"property_number": "17",
"property_radio": "option_1",
"property_string": "value"
},
"updatedAt": "2019-12-07T16:50:06.678Z"
}
]
}Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
endpoint added
- info