Bulk identify and update company profiles using Userpilot’s HTTP API for large-scale company data synchronization.
analytex
environment. For EU data residency, use
analytex-eu
instead. See Environment
Settings for your specific endpoint.Header | Value | Required |
---|---|---|
Content-Type | application/json | Yes |
Authorization | Token {YOUR_API_KEY} | Yes |
Accept | application/json, text/plain, */* | Yes |
Field | Type | Required | Description |
---|---|---|---|
companies | array | Yes | Array of company objects |
company_id | string | Yes | Unique identifier for the company |
metadata | object | No | Key-value pairs describing the company (primitives only) |
Header | Value | Required |
---|---|---|
Content-Type | multipart/form-data | Yes |
Accept | application/json, text/plain, */* | Yes |
Authorization | Token {YOUR_API_KEY} | Yes |
file
with your NDJSON file:
409 Conflict
: Returned when attempting to create a new job while another is in progress413 Payload Too Large
: Returned when file size exceeds 50 MB or payload exceeds 10,000 recordscompany_id
and that metadata is formatted correctly.Authorization
header.