Update Leads

The Update leads API endpoint allows you to update multiple leads in bulk by specifying the criteria for the leads to be updated and the fields to be updated. You should the following to the request body:

Request Body

  • where (object) - Criteria to select the leads to be updated. For example, you can specify the lead IDs to be updated.
    • id (array) - An array of lead IDs to be updated.
  • update (object) - The fields and their new values to be updated for the selected leads.
    • first_name (string) - The new first name for the leads.
    • call_after (string) - The new call after date for the leads.
    • customFields (object) - Custom fields and their new values for the leads.
      • custom_string (string) - The new value for the custom string field.
      • my_test (string) - The new value for the my test field.

Response

The response will contain an array of updated leads with their respective fields and values. If no leads are updated, an empty array will be returned.

Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!