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>",
  "slaConfig": {
    "deadlineHours": 1,
    "warningThresholdPercent": 50,
    "criticalThresholdPercent": 50,
    "businessHours": {
      "enabled": true,
      "start": "<string>",
      "end": "<string>",
      "timezone": "<string>",
      "workDays": [
        3
      ]
    }
  },
  "alertIds": [
    "<string>"
  ]
}'
{
  "caseId": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.