The endpoint and http method information to add value to list are stated below.
HTTP Method | URL |
---|---|
POST |
/fraud/v1/value-lists |
The parameters expected to be sent in requests to add value to list are listed under the table and subheadings below.
Parameter Name | Type | Required | Description |
---|---|---|---|
listName |
string |
Yes | List name |
value |
string |
Yes | Value |
durationInSeconds |
number |
No | Expiration duration |
You can review the sample codes in the open source Craftgate API clients.