Skip to main content
GET
/
v1
/
leads
/
{id}
Detalhes do Lead
curl --request GET \
  --url https://api.integrabot.ai/v1/leads/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1234,
  "name": "Maria Silva",
  "type": "whatsapp",
  "phone_number": "5511999998888",
  "email": "maria@exemplo.com",
  "status": "new",
  "agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "custom_fields": {
    "empresa": "Acme Ltda",
    "cidade": "São Paulo"
  },
  "created_at": "2025-01-15T10:30:00Z",
  "updated_at": "2025-01-15T14:22:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

ID numérico do lead.

Response

Dados do lead.

id
integer
Example:

1234

name
string
Example:

"Maria Silva"

type
enum<string>
Available options:
whatsapp,
email,
web,
manual,
instagram
Example:

"whatsapp"

phone_number
string | null
Example:

"5511999998888"

email
string | null
Example:

"maria@exemplo.com"

status
enum<string>
Available options:
new,
contacted,
qualified,
lost,
converted
Example:

"new"

agent_id
string<uuid> | null
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

custom_fields
object
Example:
{
  "empresa": "Acme Ltda",
  "cidade": "São Paulo"
}
created_at
string<date-time>
Example:

"2025-01-15T10:30:00Z"

updated_at
string<date-time>
Example:

"2025-01-15T14:22:00Z"