Skip to main content
POST
/
maihue
/
lead
Obtener información de leadss
curl --request POST \
  --url https://api.bbrands.io/api/v1/maihue/lead \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "collection_channel": "<string>",
      "commercial_activity": "<string>",
      "contact": "<string>",
      "dni": "<string>",
      "email": "<string>",
      "evaluation_debt": 123,
      "evaluation_score": 123,
      "gloss": "<string>",
      "ip": "<string>",
      "name": "<string>",
      "name_fantasy": "<string>",
      "paymentMethod": "PAC",
      "phone": "<string>",
      "sUtmCompaign": "<string>",
      "sUtmContent": "<string>",
      "sUtmMedium": "<string>",
      "sUtmSource": "<string>",
      "sUtmTerm": "<string>",
      "type": "COMPANY",
      "utmCompaign": "<string>",
      "utmContent": "<string>",
      "utmMedium": "<string>",
      "utmSource": "<string>",
      "utmTerm": "<string>",
      "address": {
        "street": "<string>",
        "city": "<string>"
      },
      "country": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      },
      "typeDni": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "isActived": true,
      "isDeleted": true,
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "metadata": {
    "correlation": "<string>",
    "currentPage": 123,
    "itemsPerPage": 123,
    "status": 123,
    "timestamp": "2023-11-07T05:31:56Z",
    "totalItems": 123,
    "totalPages": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

documentId
string<uuid>
required

ID del documento del lead

page
integer
default:1

Número de página para la paginación

Required range: x >= 1
limit
integer
default:10

Número de resultados por página

Required range: 1 <= x <= 100

Response

Operación exitosa

data
object[]
metadata
object