Pular para o conteúdo

Listar leads

GET
/api/seller/external/v1/lead
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/lead?status=architecto&source=architecto&owner_id=architecto&search=architecto&per_page=16" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Do mais recente para o mais antigo.

status

open, converted ou lost.

string

open, converted ou lost.

source

Porta de entrada: manual, checkout, chat, signup, affiliate ou import.

string

Porta de entrada: manual, checkout, chat, signup, affiliate ou import.

owner_id

ULID do usuário responsável.

string

ULID do usuário responsável.

search

Nome, nome fantasia, e-mail ou documento.

string

Nome, nome fantasia, e-mail ou documento.

per_page

Itens por página (máx: 100, padrão: 20).

integer

Itens por página (máx: 100, padrão: 20).

Media typeapplication/json
object
data
object
current_page
integer
data
Array<object>
object
object
string
id
string
kind
string
name
string
trade_name
string
email
string
phone
string
document_type
string
document_number
string
website
string | null
notes
string | null
status
string
source
string
origin
object
campaign
string
lost_reason
string | null
owner_id
string
owner_name
string
customer_id
string | null
created_at
string
updated_at
string
per_page
integer
total
integer
Example
{
"data": {
"current_page": 1,
"data": [
{
"object": "lead",
"id": "01JA0000000000000000000020",
"kind": "company",
"name": "Clínica Sorriso Ltda",
"trade_name": "Clínica Sorriso",
"email": "[email protected]",
"phone": "+5511999990000",
"document_type": "cnpj",
"document_number": "11222333000181",
"website": null,
"notes": null,
"status": "open",
"source": "import",
"origin": {
"campaign": "feira-2026"
},
"lost_reason": null,
"owner_id": "01JA0000000000000000000030",
"owner_name": "Ana Souza",
"customer_id": null,
"created_at": "2026-11-25T10:00:00-03:00",
"updated_at": "2026-11-25T10:00:00-03:00"
}
],
"per_page": 20,
"total": 1
}
}