POST
/
alerts
/
create-case
curl --request POST \
  --url https://local.casebender.com:3000/api/alerts/create-case \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "title": "<string>",
  "description": "",
  "statusValue": "<string>",
  "count": 1,
  "severity": 2,
  "type": "<string>",
  "source": "<string>",
  "sourceRef": "<string>",
  "externalLink": "<string>",
  "tlp": 2,
  "pap": 2,
  "customFields": {},
  "teams": [
    {
      "id": "<string>"
    }
  ],
  "tags": [
    {
      "id": 123
    }
  ],
  "organizations": [
    {
      "id": "<string>"
    }
  ],
  "observables": [
    {
      "dataType": "<string>",
      "data": "<string>",
      "attachment": "<string>"
    }
  ],
  "assigneeId": "<string>",
  "clientId": "<string>",
  "clientName": "<string>",
  "alertIds": [
    "<string>"
  ]
}'
{
  "caseId": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
title
string
required
statusValue
string
required
severity
integer
required
Required range: 1 <= x <= 4
alertIds
string[]
required
description
string
default:
count
integer
default:1
Required range: x > 0
type
string
source
string
sourceRef
string
tlp
integer
Required range: 0 <= x <= 4
pap
integer
Required range: 0 <= x <= 4
customFields
object
teams
object[]
tags
object[]
organizations
object[]
observables
object[]
assigneeId
string
clientId
string
clientName
string

Response

200
application/json
Successful response
caseId
string
required