Skip to main content
POST
Add an entry to a list

Authorizations

X-API-Key
string
header
required

Body

value
string
required

The value rules test against, normalised by the list's type

Maximum string length: 500
partnerId
string | null
write-only

Target partner id; honored only for multi-partner operators, ignored otherwise.

listId
string<uuid> | null

The list to add to

listName
string | null

Or the list by name; a list that does not exist yet is created, typed from the values sent

Maximum string length: 100
entityId
string | null

Your own identifier for the customer this entry applies to; empty for every customer

Maximum string length: 128
label
string | null

Shown next to the value and on alerts it matches; not matched against

Maximum string length: 255
expiresOn
string<date> | null

Last day the entry counts — for a temporary allowlist entry; omit to keep it indefinitely

Response

201 - application/json
id
string<uuid>
required
read-only

Primary key

partnerId
integer
required
read-only
listId
string<uuid>
required
read-only
listName
string
required
read-only

The list's name, mirrored from the list

entityId
string | null
required
read-only
value
string
required
read-only

Listed value, as entered

normalizedValue
string
required
read-only

The value in its list type's normalised form

label
string | null
required
read-only

Optional human-readable label

expiresOn
string<date> | null
required
read-only

Last day the entry counts; rules ignore it from the next day on

isExpired
boolean
required
read-only

Past its expiry, so no rule counts it

synced
boolean
required
read-only

Added by a sync from the list's source, and removed by one when the source drops it

createdAt
string<date-time>
required
read-only