Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

nia_sk_...

Body

application/json

Corrections become events (L1): retract or correct a fact, resolve an open item, record an outcome.

action
enum<string>
required
Available options:
retract_fact,
correct_fact,
resolve_open_item,
conversation_outcome
idempotency_key
string
required
Required string length: 1 - 512
subject
Handle · object
required

An identifier of a subject in some channel or system: a phone, an e-mail, a CRM id.

conversation_id
string | null
Required string length: 1 - 512
fact_id
string | null
open_item_id
string | null
reason
string | null
Maximum string length: 500
value
string | null
Maximum string length: 2000

Response

The correction was stored as an event, reported as a batch result.

accepted
integer
required
duplicates
integer
required

Items whose idempotency key was already stored.

errors
ItemError · object[]
required