Initiate a new bulk edit
Pass additional parameters depending on which type is passed:
set_lead_statuswill set the Lead Status on all leads. It expects:lead_status_id- ID of the Lead Status to use.clear_custom_fieldwill clear/remove/unset a specific custom field from all leads. It expects:custom_field_idorcustom_field_name- ID or exact name of the custom field to remove.set_custom_fieldwill set/update/add a specific custom field on all leads. It expects:custom_field_idorcustom_field_name- ID or exact name of the custom field to set/update.custom_field_value- New value. Usecustom_field_valuesto pass multiple values to custom fields that support it.custom_field_operation-replace,add, orremove(defaults toreplace). 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
Use your API key as the username and leave the password empty.
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