Crear Lead(s)
Create one or more leads and optionally assign to a workflow. Accepts either a single lead object or an array of lead objects for bulk creation. Leads will automatically be enrolled in the workflow’s cadence sequence. You can include arbitrary metadata as key-value pairs to store client-specific information about the lead. Bulk requests support up to 1000 leads per request and use partial success handling (valid leads are created even if some fail validation).
Autorizaciones
API key for authentication. Keys are prefixed with nxr_live_.
Cuerpo
- object
- object[]
Lead's first name
"John"
Lead's last name
"Doe"
Lead's email address
"john@example.com"
Lead's phone number (required if assigning to a workflow with call steps)
"+1234567890"
Arbitrary key-value data specific to your organization. Use this to store any custom information about the lead (e.g., age, salary range, assigned broker, lead status, notes). There is no enforced schema — send any keys and values you need. Values can be strings, numbers, or booleans.
{
"edad": 35,
"rango_sueldo": "$2000-$4000",
"broker_asociado": "Juan Perez",
"estado_lead": "interesado",
"notas_asociadas": "Prefiere contacto por WhatsApp"
}Workflow ID to assign the lead to. Use GET /workflows to list available workflows.
"123e4567-e89b-12d3-a456-426614174000"
Campaign ID to tag the lead with (optional). Use GET /campaigns to list available campaigns.
"123e4567-e89b-12d3-a456-426614174001"
Override the first outreach with a custom message. Requires workflow_id. The rest of the cadence sequence continues normally from the second touchpoint.