Urano icon

Urano

Interact with the Urano API

Lead → Create Lead

AI-generated

Summary

Create a new lead in the Urano system, optionally associating it with an existing client or creating a new client if specified.

Inputs

  • Client ID (required) — Client identifier or 'NENHUM' to create a new client automatically.
  • Client Name (required) — Name of the client associated with the lead.
  • Client Phone Number — Phone number of the client.
  • Client Email — Email address of the client.
  • Client CPF — Client's CPF (Brazilian Individual Taxpayer Registry).
  • Client CNPJ — Client's CNPJ (Brazilian National Registry of Legal Entities).
  • Description (required) — Notes or description related to the acceptance in the queue.
  • User ID — User ID responsible for the lead; if empty, the authenticated user is used.
  • Queue (required) — Queue ID where the lead will be placed; -1 indicates no specific queue.
  • Origin (required) — Origin ID indicating where the lead originated.
  • Product (required) — Product ID associated with the lead.
  • Status (required) — Status ID of the lead, as returned by the 'Get Many Status' operation.

Output shape

a single record containing the created lead's data as returned by the API

Returns the API response for the created lead; no paging applies since this creates a single lead.

Links

Discussion