post https://sandbox1-api.unit21.com/v1/blacklists/create
Create a new matchlist sending matchlist data in the request body.
Unit21 currently supports 5 types of matchlists:
STRING
: Plain strings to match against any text-type field.IP_INET
: IPv4 or IPv6 IP addresses to matchlist.IP_CIDR
: Classless Inter-Domain Routing (CIDR) notation IP address ranges to blacklist,USER
: Series of fields that a Unit21 user entity will be matched against.BUSINESS
: Series of fields that a Unit21 business entity will be matched against.
If the /blacklists/create
API is called multiple times, it will create a new matchlist each time. This endpoint does not support updates/upserts.
This endpoint does not support batch uploads.
The response will consist of the following fields:
Field | Type | Description |
---|---|---|
blacklist_id | String | Unique identifier of the entity on your platform |