Enrich a company
Enqueues an async enrichment for a company, identified by domain or
LinkedIn company URL. Provide exactly one of domain or
linkedinUrl.
Responds 200 if the task settled immediately (a cache hit — the
common case once a company has been seen before), or 202 if it was
queued. Both responses share the same shape; the response body never
carries the enrichment result itself, only the task. Poll GET /v1/tasks/{id} or supply loop_id to get the result delivered to a
webhook.
Authorizations
Pass your API key as a bearer token: Authorization: Bearer YOUR_API_KEY. Generate and manage keys from your dashboard under
Settings → API Keys.
Headers
Reusing the same key returns the original task rather than creating (and charging for) a new one — safe to retry a request whose response you never received.
Body
A company's domain, e.g. "stripe.com".
"stripe.com"
A LinkedIn company page URL, as an alternative to domain.
"https://www.linkedin.com/company/stripe"
Deliver the result to this Loop's webhook once it's ready, in addition to polling this task directly.
Response
The task settled immediately (cache hit or idempotent replay).
Never carries data — only error, and only if the task already
failed synchronously (e.g. an immediate negative-cache hit). Fetch
the result from GET /v1/tasks/{id} or a Loop webhook.