Create 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).
assigned_to with the team member’s user ID — get it from GET /team, where each member’s id is the value to use. The owner must be an active member of your account; anything else is rejected with 400.Assigning an owner is independent from workflow_id: workflow_id picks the AI agent that works the lead, assigned_to records which person owns it.Authorizations
API key for authentication. Keys are prefixed with nxr_live_.
Body
- 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.
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.
ID of the team member who owns this lead. Must be an active member of your account — use GET /team to list them and copy the id field. Rejected with 400 otherwise.
"123e4567-e89b-12d3-a456-426614174002"