POSThttps://api.deepinfo.com/v1/cti/darkweb-mention-rules

Creates a dark web mention rule. name (1–255 characters), filters and enabled are required; tags is optional and takes at most 10 entries. Answers 201 with the stored rule.

The filters values are not documented yet. filters is required and may not be empty; it takes must, must_not and should lists of {name, type, value}, the same shape as the search endpoints. But the spec declares name and type as plain strings with no list of allowed values, and the API rejected every combination we tried with 400 30010 Request failed. Given filters are not valid. without naming what it does accept. We have asked the team for the field and operator lists; this description will name them once they are measured.

Authentication

Send your API key in the apikey request header.

Request Body

ParameterTypeRequiredDescription
namestringRequired
min length 1; max length 255
filtersobjectRequired
The filters of the rule; see the example request body
tagsarrayOptional
max items 10
enabledbooleanRequired
application/json
{}

Response Fields

FieldTypeDescription
idstring
Id of the record; pass it to this folder's detail endpoint.
namestring
The record's name.
filtersobject
The filters saved on this record, in the same shape the search endpoint takes.
tagsarray of string
The tags set on the record.
enabledboolean
Whether the record is switched on.
create_datestring
When the record was created (UTC).
last_update_datestring
When the record was last changed (UTC).

No example response yet. The response's fields are listed above.

Examples

Selecting one loads it into the request and response panels.

Reference updated