Company Enrichment

Webhook : company_enrichment.completed

Envoyé sur votre callbackUrl quand une recherche entreprise async se termine. En-tête X-Listar-Signature. Répondez 2xx.

postWebhookcompany_enrichment.completed

Payload

event'company_enrichment.completed'
idstring
status'completed' | 'pending_payment'

completed → result rempli. pending_payment → result null, le crédit était insuffisant.

completedAtstring date-time

Example payload

{
  "result": {
    "isActive": true,
    "capital": 10000,
    "employees": 25,
    "revenue": 2500000,
    "foundedYear": 2015,
    "establishmentsCount": 2,
    "directors": [
      {
        "confidence": 92
      }
    ],
    "contactsRequested": 5,
    "contactsFound": 3,
    "contacts": [
      {
        "confidence": 92
      }
    ]
  }
}

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.