Expad
    Expad
    • Eventos - Webhooks
    • webhooks
      • lead atualizado
      • lead criado
    • Create Lead
      POST
    • Get Lead
      GET
    • Insights
      GET
    • List Leads
      GET

      Insights

      Em desenvolvimento
      GET
      https://{{baseUrl}}/v1/account/{accountId}/insights

      Requisição

      Authorization
      Adicionar parâmetro em header
      X-API-Key
      Exemplo:
      X-API-Key: ********************
      Parâmetros de Caminho

      Parâmetros de Consulta

      Códigos de solicitação

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request GET 'https://{{baseUrl}}/v1/account/{{accountId}}/insights?from=2025-01-01T00:00:00Z&to=2025-02-01T00:00:00Z' \
      --header 'X-API-Key: <api-key>'

      Respostas

      🟢200Success
      application/json
      Body

      Exemplo
      {
          "attributionUserPerformances": [
              {
                  "leadAttributionUser": {
                      "accountId": "string",
                      "email": "string",
                      "globalAutoAttributionDisabled": true,
                      "id": "string",
                      "isRealUser": true,
                      "phoneNumber": "string",
                      "userId": "string",
                      "userName": "string"
                  },
                  "leadCount": 0,
                  "saleCount": 0,
                  "saleValueMicros": 0
              }
          ],
          "campaignProviderPerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "leadActivityReasonPerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "leadLossReasonPerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "productPerformances": [
              {
                  "count": 0,
                  "id": "string",
                  "name": "string",
                  "saleValue": 0
              }
          ],
          "sourcePerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "statusPerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "tagPerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "typePerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ],
          "utmCampaignPerformances": [
              {
                  "key": "string",
                  "value": 0
              }
          ]
      }
      Modificado em 2025-09-27 19:52:17
      Página anterior
      Get Lead
      Próxima página
      List Leads
      Built with