Skip to main content
GET
/
api
/
v1
/
enrich
/
accounts
/
{job_id}
Poll Batch Account Enrichment Job
curl --request GET \
  --url https://api.openfunnel.dev/api/v1/enrich/accounts/{job_id} \
  --header 'X-API-Key: <x-api-key>' \
  --header 'X-User-ID: <x-user-id>'
{
  "job_id": "<string>",
  "status": "<string>",
  "progress": {},
  "result": [
    {
      "domain": "<string>",
      "status": "<string>",
      "account_id": 123,
      "name": "<string>",
      "is_new_account": false,
      "fields_updated": [
        "<string>"
      ]
    }
  ],
  "error_message": "<string>"
}

Headers

X-API-Key
string
required
X-User-ID
string
required

Path Parameters

job_id
string
required

Response

Successful Response

Response from polling a batch account enrichment job.

job_id
string
required

Job ID

status
string
required

'pending', 'running', 'completed', or 'failed'

progress
Progress · object

Progress info: {total, completed, new_accounts, updated_accounts}

result
EnrichAccountBatchResult · object[] | null

Per-domain results — available when status is 'completed'

error_message
string | null

Error details — present only when status is 'failed'