Skip to main content
GET
/
leads
/
{leadId}
Buscar lead
curl --request GET \
  --url https://api.cordialy.ai/integrations/v1/leads/{leadId} \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "store_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "customer_phone": "<string>",
  "seller_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "interaction_count": 123,
  "ai_paused_until": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Chave de API gerada na plataforma em Integrações → API Keys

Path Parameters

leadId
string<uuid>
required

Response

Lead encontrado

id
string<uuid>

Identificador único do lead

store_id
string<uuid>

ID da loja

name
string | null

Nome do lead

customer_phone
string

Telefone no formato E.164 (ex: 5511999998888)

status
enum<string>

Status atual do lead

Available options:
pending,
in_progress,
converted,
lost
seller_id
string<uuid> | null

Vendedor responsável

interaction_count
integer

Número de interações realizadas

ai_paused_until
string<date-time> | null

IA pausada até esta data/hora

created_at
string<date-time>
updated_at
string<date-time>