Initiate a new bulk edit
Pass additional parameters depending on which `type` is passed:
- `set_lead_status` will set the Lead Status on all leads. It expects:
- `lead_status_id` - ID of the Lead Status to use.
- `clear_custom_field` will clear/remove/unset a specific custom field from all leads. It expects:
- `custom_field_id` or `custom_field_name` - ID or exact name of the custom field to remove.
- `set_custom_field` will set/update/add a specific custom field on all leads. It expects:
- `custom_field_id` or `custom_field_name` - ID or exact name of the custom field to set/update.
- `custom_field_value` - New value. Use `custom_field_values` to pass multiple values to custom fields that support it.
- `custom_field_operation` - `replace`, `add`, or `remove` (defaults to `replace`). Only applicable for custom fields that accept multiple values.
Use `"send_done_email": false` if you don't want to get a confirmation email after the bulk action is done.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:)>.
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects any.
Response
Successful response
created_by
custom_field_name
custom_field_value
date_created
date_updated
id
lead_status_id
n_leads
n_leads_processed
n_objects
n_objects_processed
organization_id
query
results_limit
s_query
send_done_email
sort
status
type
updated_by
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error