Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leads

Leads, contatos

Listar os leads ou ver detalhe de um lead

get

Listar os leads ou ver detatlhe do lead

Authorizations
x-company_idstringRequired
Query parameters
pageintegerOptional

Pagina da listagem, cada página tem um limite de 50 registros por página.

Default: 0
lead_idstringOptional

Para ver os detalhes do lead, informe o lead_id

Example: 7e8be7a5-630b-459f-9659-4149d0141234
Responses
200

Listagem com sucesso

application/json
pagenumberOptionalExample: 0
totalnumberOptionalExample: 2
get/lead
GET /v1/pub/lead HTTP/1.1
Host: api.multiagents.app
x-company_id: YOUR_API_KEY
Accept: */*
{
  "page": 0,
  "total": 2,
  "leads": [
    {
      "lead_id": "88ff49f5-0c4a-4cf0-82c0-d9d6d871d654",
      "company_id": "dc469a7a-7ef2-1234-8de2-b55c2df271234",
      "team_id": null,
      "name": "ACME",
      "country": "Brasil",
      "city": "Florianópolis",
      "language": "pt-br",
      "type": "business",
      "industry_type": "commerce",
      "activity_field": "Loja Virtual",
      "niche": "Casa & Decoração",
      "website": "https://www.ACME.com/",
      "status": "active",
      "created_at": "2025-01-26T00:00:21.266Z",
      "updated_at": "2025-01-26T00:00:21.266Z",
      "email": "papalegoas@acme.com"
    }
  ]
}

Adicionar ou alterar lead, contatos e trabalhos

post

Adicionar ou alterar lead, contatos e trabalhos

Authorizations
x-company_idstringRequired
Body
Responses
200

success operation

application/json
lead_idstringOptionalExample: 7e8be7a5-630b-459f-9659-4149d0141234
post/lead
POST /v1/pub/lead HTTP/1.1
Host: api.multiagents.app
x-company_id: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 691

{
  "lead": {
    "email": "rick@sanches.com",
    "team_id": "null,",
    "name": "Rick Sanches",
    "country": "United States",
    "city": "null,",
    "language": "null,",
    "type": "business",
    "industry_type": null,
    "activity_field": "null,",
    "niche": "null,",
    "description": "null,",
    "website": "null,",
    "notes": "null,",
    "status": "active",
    "contacts": [
      {
        "contact_id": "12341234-1234-1234-1234-123412341234",
        "name": "Rick Sanchez",
        "profile_picture": null,
        "email": "rick@sanchez.com",
        "phone": null,
        "whatsapp": 5511999999999,
        "linkedin": null,
        "instagram": null,
        "role": "decisor",
        "preferences": null,
        "status": "active"
      }
    ],
    "works": [
      {
        "work_id": "text",
        "work_type": "outbound",
        "status": "analyzing",
        "current_stage": "new",
        "lead_temperature": "cold",
        "notes": "text"
      }
    ]
  }
}
200

success operation

{
  "lead_id": "7e8be7a5-630b-459f-9659-4149d0141234"
}

Last updated