funnels-docs.leaddigital.marketing Open in urlscan Pro
52.71.135.215  Public Scan

URL: https://funnels-docs.leaddigital.marketing/
Submission: On August 26 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

 * Body
 * Headers (8)

 * Body
 * Headers (8)

 * Body
 * Headers (8)




Public


Documentation Settings

ENVIRONMENT
No Environment

LAYOUT
Single Column

LANGUAGE
cURL - cURL



Documentação API LeadFunnels
Introduction
Autenticação
Retornos
Endpoints
Leads
Bots
Whatsapp


DOCUMENTAÇÃO API LEADFUNNELS


SEJA BEM-VINDO(A)!

Aqui você vai encontrar tudo que precisa para realizar a sua integração da
melhor forma possível. Venha conosco e ajudaremos a alavancar o seu negócio!


AUTENTICAÇÃO

Para acessar os EndPoints é necessário o api token do usuário. Isto é feito
acessando a conta pelo portal com o nome de usuário e senha do cliente.

Dentro da conta, basta clicar no menu lateral API, depois copie o token do
cliente e utilize enviando na requisição no cabeçalho HTTP como Bearer Token.


RETORNOS

200 - Sucesso.

401 - Falha na autenticação.

400 - Erro na solicitação, verifique o response do retorno.

500 - Erro interno.


ENDPOINTS

AUTHORIZATIONBearer Token
Token

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTc2OTk1MzQsInN1YiI6IjY0MDNhMzk4N2UxOTEzZTI2NGI5NWU5MyxjbGllbnQsNjQwM2EzOTc3ZTE5MTNlMjY0Yjk1ZThlIn0.Zd1USKS6XEiBennWLyj3sej1LDZNnpRy7hy_iQx7PHs

LEADS

AUTHORIZATIONBearer Token
This folder is using Bearer Token from collectionDocumentação API LeadFunnels


GETFINDALL


https://funnels-api.leaddigital.marketing/leads/find-all
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionDocumentação API LeadFunnels
PARAMS
name

Nome do lead

Busca por um lead através do seu primeiro nome

surname

Sobrenome do lead

Busca por um lead através do seu sobrenome

fullName

Nome compledo do lead

Busca por um lead através do seu nome completo

search

Texto da busca

Faz uma consulta do tipo like nos principais campos do lead como nome, email,
telefone e etc..

Example Request
200 - Success

curl


curl --location 'https://funnels-api.leaddigital.marketing/leads/find-all'

200 OK
Example Response
 * Body
 * Headers (8)

View More
json


[
  {
    "_id": "666b33eef0a2767f46d0d199",
    "name": "Allan",
    "fullName": "Allan",
    "number": "557399027679",
    "business": false,
    "imported": false,
    "bot": "666b0b33a0509b38fe31ef61",
    "lastBotInteraction": "666b0b33a0509b38fe31ef61",
    "createdAt": "2024-06-13T18:01:18.175Z",
    "updatedAt": "2024-06-13T18:01:18.175Z",
    "state": "BA",
    "ddd": "73",
    "createdDate": "2024-06-13T15:01:18",
    "__v": 0
  }
]

Server

nginx/1.18.0 (Ubuntu)

Date

Tue, 18 Jun 2024 21:18:03 GMT

Content-Type

application/json; charset=utf-8

Content-Length

355

Connection

keep-alive

X-Powered-By

Express

Access-Control-Allow-Origin

*

ETag

W/"163-S4urFqfrY1WFpMU0E/bWjDObkqc"


GETFINDPAGINATE


https://funnels-api.leaddigital.marketing/leads/find-paginate
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionDocumentação API LeadFunnels
PARAMS
name

Nome do lead

Busca por um lead através do seu primeiro nome

surname

Sobrenome do lead

Busca por um lead através do seu sobrenome

fullName

Nome compledo do lead

Busca por um lead através do seu nome completo

search

Texto da busca

Faz uma consulta do tipo like nos principais campos do lead como nome, email,
telefone e etc..

page

1

limit

10

Example Request
200 - Success

curl


curl --location 'https://funnels-api.leaddigital.marketing/leads/find-paginate?page=1'

200 OK
Example Response
 * Body
 * Headers (8)

View More
json


{
  "data": [
    {
      "_id": "666b33eef0a2767f46d0d199",
      "name": "Allan",
      "fullName": "Allan",
      "number": "557399027679",
      "business": false,
      "imported": false,
      "bot": "666b0b33a0509b38fe31ef61",
      "lastBotInteraction": "666b0b33a0509b38fe31ef61",
      "createdAt": "2024-06-13T18:01:18.175Z",
      "updatedAt": "2024-06-13T18:01:18.175Z",
      "state": "BA",
      "ddd": "73",
      "createdDate": "2024-06-13T15:01:18",
      "__v": 0
    }
  ],
  "total": 1,
  "limit": 20,
  "totalPages": 1,
  "page": 1,
  "pagingCounter": 1,
  "hasPrevPage": false,
  "hasNextPage": false,
  "prevPage": null,
  "nextPage": null
}

Server

nginx/1.18.0 (Ubuntu)

Date

Tue, 18 Jun 2024 21:19:57 GMT

Content-Type

application/json; charset=utf-8

Content-Length

499

Connection

keep-alive

X-Powered-By

Express

Access-Control-Allow-Origin

*

ETag

W/"1f3-GgR829FqyEsutDFOVzg9//9wDtE"


GETFINDONE


https://funnels-api.leaddigital.marketing/leads/find/666b33eef0a2767f46d0d199
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionDocumentação API LeadFunnels
Example Request
200 - Success

curl


curl --location 'https://funnels-api.leaddigital.marketing/leads/find/666b33eef0a2767f46d0d199'

200 OK
Example Response
 * Body
 * Headers (8)

View More
json


{
  "_id": "666b33eef0a2767f46d0d199",
  "name": "Allan",
  "fullName": "Allan",
  "number": "557399027679",
  "business": false,
  "imported": false,
  "bot": "666b0b33a0509b38fe31ef61",
  "lastBotInteraction": "666b0b33a0509b38fe31ef61",
  "createdAt": "2024-06-13T18:01:18.175Z",
  "updatedAt": "2024-06-13T18:01:18.175Z",
  "state": "BA",
  "ddd": "73",
  "createdDate": "2024-06-13T15:01:18",
  "__v": 0
}

Server

nginx/1.18.0 (Ubuntu)

Date

Tue, 18 Jun 2024 21:40:33 GMT

Content-Type

application/json; charset=utf-8

Content-Length

353

Connection

keep-alive

X-Powered-By

Express

Access-Control-Allow-Origin

*

ETag

W/"161-w7lyEKCazi6TkKU88n0BxHDYqe8"