AdHub App icon

AdHub App

Manage AdHub leads, activities, sources, statuses, tags, and custom fields

Lead → Bulk Create

AI-generated

Summary

Create multiple leads in bulk by providing a JSON-formatted request body containing an array of lead objects with their respective details.

Inputs

  • Bulk Create Body (JSON) (required) — A JSON string representing the request body. This JSON must contain a 'leads' array, where each lead object can specify attributes such as first_name, last_name, email, mobile_number, status_id, source_id, owner_id, and tag_ids.

Output shape

the JSON response from the API reflecting the result of the bulk creation of leads, typically including the created lead records or any errors per lead

The request body must be valid JSON formatted as specified. The response shape may vary depending on the API implementation, including success or error details per lead. No pagination applies as this is a bulk create operation.

Examples

Example 1: Create two new leads with basic identifying information and status IDs.

Provide a JSON string like {"leads":[{"first_name":"Jane","last_name":"Doe","email":"jane.doe@example.com","mobile_number":null,"status_id":"550e8400-e29b-41d4-a716-446655440000","source_id":null,"owner_id":null,"tag_ids":[]},{"first_name":"John","last_name":"Smith","email":null,"mobile_number":"+12025551234","status_id":"550e8400-e29b-41d4-a716-446655440000","source_id":null,"owner_id":null,"tag_ids":[]}]} in the Bulk Create Body (JSON) field.

Links

Discussion