Skip to main content
POST
Ingest competitor data

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Headers

Idempotency-Key
string

Makes a retry safe for 24 hours: the same key and body replays the first answer (Idempotency-Replayed: true), another body is 422 idempotency_key_reused, a request still running is 409 idempotency_key_in_use

Required string length: 1 - 128
Pattern: ^[\x21-\x7E]{1,128}$

Body

application/json

At least one of brands, styles, signals; at most 4194304 bytes (413 above). A 400 lists every field error in details[] (field, message)

brands
object[]

Unique external_id within the batch; upserted by external_id

Maximum array length: 1000
styles
object[]

Unique external_id within the batch; upserted by external_id

Maximum array length: 5000
signals
object[]

Appended

Maximum array length: 10000
replace_signal_sources
enum<string>[]

With signals: once they are written, this organization's older signals of these sources are deleted

Maximum array length: 5
Available options:
social,
search,
editorial,
manual

Response

OK

duration_ms
integer
required

Milliseconds the request took

ingested
object
required

Records written, per kind the batch held

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header