Expad
    Expad
    • Eventos - Webhooks
    • webhooks
      • lead atualizado
      • lead criado
    • Create Lead
      POST
    • Get Lead
      GET
    • Insights
      GET
    • List Leads
      GET
    • Update Lead
      PATCH
    • Esquemas
      • Schemas
        • Webhook
          • Events
            • NewLead
            • LeadUpdated
          • LeadAttributionUser
          • LeadCart
          • LeadField
          • LeadProduct
        • Requests
          • CreateLeadRequest
        • AttributionUserPerformance
        • Department
        • Field
        • Interest
        • LeadActivityReason
        • LeadActivityReferenceLead
        • LeadActivity
        • LeadAiData
        • LeadAttributionUser
        • LeadAudio
        • LeadCampaignIdData
        • LeadCart
        • LeadDialog360Info
        • LeadFacebookAdsPixelData
        • LeadFile
        • LeadLossReason
        • LeadMessageContact
        • LeadMessage
        • LeadProduct
        • LeadTag
        • Lead
        • PerformanceWithIntValue
        • ProductPerformance
        • Product
        • Unit
        • BooleanMap
        • IntegerMap
        • LeadSource
        • LeadType

      Insights

      GET
      /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://api.expad.com.br/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 2026-01-21 21:54:37
      Página anterior
      Get Lead
      Próxima página
      List Leads
      Built with