Skip to content

Create list

Request

Creates a new recommendation list.

Security
risk_access_token
Bodyapplication/jsonrequired
list_namestringrequired

The list title.

list_typestringrequired

The type of recommendation list.

Value:"action_id"
creatorstringrequired

The list owner.

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/risk/v1/lists \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "list_name": "string",
    "list_type": "action_id",
    "creator": "string"
  }'

Responses

List

Bodyapplication/json
list_namestringrequired

The list title.

tenant_idstringrequired

ID of the tenant.

list_typestringrequired

The type of recommendation list.

Value:"action_id"
creatorstringrequired

The list owner.

list_idstringrequired

ID of the recommendation list.

itemsArray of objectsrequired
created_datestring, (date-time)required

The timestamp when the list was created.

updated_datestring, (date-time)required

The timestamp when the list was updated.

Response
{ "list_name": "string", "tenant_id": "string", "list_type": "action_id", "creator": "string", "list_id": "string", "items": [ { … } ], "created_date": "2019-08-24T14:15:22Z", "updated_date": "2019-08-24T14:15:22Z" }