Person Enrichment

Webhook : enrichment.completed

Envoyé sur votre callbackUrl quand un enrichissement async se termine. En-tête X-Listar-Signature: t=<ts>,v1=<hmac_sha256>. Répondez 2xx pour acquitter.

postWebhookenrichment.completed

Payload

event'enrichment.completed'
idstring

ID de la recherche (= GET /search/results/{id}).

status'paid' | 'free' | 'pending_payment'

paid/free → result rempli. pending_payment → result null, payez via /search/pay-with-credit.

completedAtstring date-time

Example payload

{
  "query": {
    "birthYear": 1985
  },
  "result": {
    "query": {
      "birthYear": 1985
    },
    "totalResults": 1,
    "profiles": [
      {
        "phones": [
          {
            "number": "+33612345678",
            "isVirtual": true
          }
        ],
        "emails": [
          {
            "type": "professional"
          }
        ]
      }
    ],
    "bestPhone": {
      "number": "+33612345678",
      "isVirtual": true
    },
    "bestEmail": {
      "type": "professional"
    },
    "paidWithCredit": true,
    "creditDeducted": 60
  }
}

Response

Acquittement.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.