Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The display name. Must be unique among your team's custom enrichments (compared case-insensitively).

Maximum string length: 255
Example:

"Disinformation Analysis"

type
enum<string>
required

The data type of the enrichment's value. Cannot be changed after creation.

  • categorical — one string value per mention.
  • multivalue_categorical — several string values per mention on one field; PUT /mentions/customEnrichments takes an array.
  • integer — one integer value per mention.
Available options:
categorical,
multivalue_categorical,
integer
Example:

"categorical"

constraints
object
required

Response

The created custom enrichment, in the same shape as GET /customEnrichments.

A custom enrichment definition, as listed by GET /customEnrichments.

enrichment_id
integer

The unique identifier. Use it as enrichment_id when pushing values with PUT /mentions/customEnrichments.

Example:

1681

name
string

The display name.

Example:

"Disinformation Analysis"

type
enum<string>

The data type of the enrichment's value. Fixed at creation.

Available options:
categorical,
multivalue_categorical,
integer
Example:

"categorical"

constraints
object