Skip to main content
The NewLead API is a REST API for the text and voice agents in your subaccount.

Quickstart

Create a key, a lead and your first message.

Authentication

Send your API key with every request.

Webhooks

Receive lead, message and call events at your URL.

Errors

Understand each error and when to retry.

n8n

Use NewLead in your workflows with the official node.

API reference

Browse every operation, with its parameters and responses.

Conventions

  • Requests and responses are JSON.
  • A response is the resource itself, with no wrapper. Lists use the list format.
  • IDs are UUIDs.
  • Timestamps are ISO 8601, in UTC.
  • Phone numbers are E.164 and include the country code: +34600111222.
  • A field with no value is null.
  • A field the operation does not accept returns 400 parameter_unknown, so a misspelled name never goes unnoticed.

What you can do