Identify and update company profiles in real time or in bulk using Userpilot’s HTTP API.
Header | Value | Required |
---|---|---|
Content-Type | application/json | Yes |
Authorization | Token {YOUR_API_KEY} | Yes |
Accept | application/json, text/plain, */* | Yes |
Field | Type | Required | Description |
---|---|---|---|
company_id | string | Yes | Unique identifier for the company |
metadata | object | No | Key-value pairs describing the company (e.g., name, industry, etc.) |
company_id
field is required. Metadata values must be primitive types (string, number, boolean, null).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) |
company_id
and that metadata is formatted correctly.Authorization
header.