Receber um lead

Cria um lead na fila de atendimento do convênio.

A origem (mídia) vem da chave usada, não do corpo: campos como portal, midia e
origem são ignorados nesta rota.

Idempotente por external_id: reenviar o mesmo id devolve 200 com deduped: true
em vez de criar um segundo lead. Sem external_id, corpos byte a byte idênticos são
tratados como reentrega.

Lead de proprietário (captação) entra pela mesma rota: envie fluxo: "captacao" e o imóvel em
imovelOfertado (endereço, tipo, valores). Ele vai para as filas de captador e exige o módulo de
Captação no convênio (409 CAPTACAO_REQUIRES_MODULE). O escopo continua leads:write.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
Allowed:
imovelOfertado
object
imovel_ofertado
object
string
length ≤ 150
string
length ≤ 150
string
length ≤ 150
string
length ≤ 60
string
length ≤ 60
string
length ≤ 60
string
string
string
string
string
string
string | array
object
string
length ≤ 100
string
length ≤ 100
string
length ≤ 100
string
length ≤ 150
string
length ≤ 150
string
length ≤ 150
string
length ≤ 100
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json