---
updatedAt: 2026-03-01T18:21:07.000Z
---

# Create a Security case

```curl cURL
egcurl --eg-section default --request POST \
  --url "https://$hostname/case-management/v3/cases" \
  --header "Accept: application/json" \
  --header "Content-Type: application/json" \
  --data '
{
    "accountId": "F-AC-000000",
    "productName": "Managed Kona",
    "problemName": "Breach",
    "severity": "3-Low Impact",
    "categoryId": "SECURITY",
    "policyDomainName": "netfix_cs",
    "subject": "Case Subject",
    "description": "Case Description",
    "customerTrackingNumber": "TRACK-FSDJW000",
    "alternateContact": {
        "name": "Ram",
        "email": "ram@netfix.com",
        "phone": "+91-1234567890",
        "company": "Netfix"
    },
    "alsoNotify": [
        "ram1@netfix.com",
        "mike@netfix.com"
    ]
 }'
```

```node Node
const EdgeGrid = require("akamai-edgegrid");
const os = require("os");
const edgercPath = os.homedir + "/.edgerc.txt";
const edgercSection = "default";
const eg = new EdgeGrid({
  path: edgercPath,
  section: edgercSection,
});

eg.auth({
  path: `/case-management/v3/cases`,
  method: "POST",
  headers: {
    "Content-Type": "application/json",

    Accept: "application/json",
  },
  body: {
    accountId: "F-AC-000000",
    productName: "Managed Kona",
    problemName: "Breach",
    severity: "3-Low Impact",
    categoryId: "SECURITY",
    policyDomainName: "netfix_cs",
    subject: "Case Subject",
    description: "Case Description",
    customerTrackingNumber: "TRACK-FSDJW000",
    alternateContact: {
      name: "Ram",
      email: "ram@netfix.com",
      phone: "+91-1234567890",
      company: "Netfix",
    },
    alsoNotify: ["ram1@netfix.com", "mike@netfix.com"],
  },
});
eg.send(function (error, response, body) {
  console.log(JSON.stringify(JSON.parse(body), null, 2));
});
```

```python Python
import requests
import json
from akamai.edgegrid import EdgeGridAuth, EdgeRc
from urllib.parse import urljoin

edgerc = EdgeRc('~/.edgerc.txt')
section = 'default'
baseurl = 'https://%s' % edgerc.get(section, 'host')

session = requests.Session()
session.auth = EdgeGridAuth.from_edgerc(edgerc, section)
 

path = '/case-management/v3/cases'
headers = {
  "Content-Type": "application/json",

  "Accept": "application/json"}
payload = {
    "accountId": "F-AC-000000",
    "productName": "Managed Kona",
    "problemName": "Breach",
    "severity": "3-Low Impact",
    "categoryId": "SECURITY",
    "policyDomainName": "netfix_cs",
    "subject": "Case Subject",
    "description": "Case Description",
    "customerTrackingNumber": "TRACK-FSDJW000",
    "alternateContact": {
        "name": "Ram",
        "email": "ram@netfix.com",
        "phone": "+91-1234567890",
        "company": "Netfix"
    },
    "alsoNotify": [
        "ram1@netfix.com",
        "john@netfix.com"
    ] 
}  

result = session.post(urljoin(baseurl, path), headers=headers, json=payload)
print(result.status_code)
print(json.dumps(result.json(), indent=2))
```

```json Response Example
{
    "caseId": "F-CS-0000000",
    "account": {
        "accountId": "F-AC-000000",
        "accountName": "NetFix"
    },
    "category": {
        "categoryId": "SECURITY",
        "categoryName": "Managed Security Support"
    },
    "productName": "Managed Kona",
    "problemName": "Breach",
    "areaName": null,
    "serviceName": null,
    "productSolutionName": null,
    "psPackageName": null,
    "serviceContractId": null,
    "subject": "Case Subject",
    "description": "Case Description",
    "severity": "3-Low Impact",
    "status": "CREATED",
    "createdByAccount": {
        "accountId": null,
        "accountName": null
    },
    "policyDomainName": "netfix_cs",
    "partnerTicketNumber": null,
    "customerTrackingNumber": "TRACK-FSDJW000",
    "createdDate": "2020-10-01T00:00:00Z",
    "modifiedDate": "2020-10-01T00:00:00Z",
    "timeToInitialResponse": null,
    "age": 4,
    "resolvedDate": null,
    "solutionSummary": null,
    "closedDate": null,
    "nextAction": null,
    "contact": {
        "name": "John",
        "email": "john@netfix.com",
        "phone": "+1-1234567890",
        "company": "Netfix"
    },
      "parentAccount": {
        "accountId": null,
        "accountName": null
    },
    "alternateContact": {
        "name": "Ram",
        "email": "ram@netfix.com",
        "phone": "+91-1234567890",
        "company": "Netfix"
    },
    "alsoNotify": [
        "ram1@netfix.com",
        "mike@netfix.com"
    ],
    "permissions": {
        "requestClose": true,
        "uploadAttachments": true,
        "addComments": true,
        "updateCase": true
    },
    "links": [
        {
            "rel": "comments",
            "href": "/case-management/v3/cases/F-CS-0000000/comments"
        },
        {
            "rel": "attachments",
            "href": "/case-management/v3/cases/F-CS-0000000/attachments"
        }
    ]
}
```

# Set up authorization



Before you can use this API, you need to [Create authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials). 

Then, you can use these code samples to apply the token values to your requests.

# Fetch an account

<!-- curl@7 -->
<!-- node@19 -->
<!-- python@20 -->

Get the `accountId` of the account you want to create the case for. Use the [List available accounts](https://techdocs.akamai.com/case-mgmt/reference/get-accounts) operation to get it.

# Fetch details on affected service

<!-- curl@8-10,12 -->
<!-- node@20-22,24 -->
<!-- python@21-23,25 -->

Get `productName`, `problemName`, `severity`, and optionally `policyDomainName` corresponding to your issue. Run the [Get a case category](https://techdocs.akamai.com/case-mgmt/reference/get-category) operation for `SECURITY` to get them.

# Specify the case category

<!-- curl@11 -->
<!-- node@23 -->
<!-- python@24 -->

Set the `categoryId` to `SECURITY`. For other types of categories, refer to appropriate Recipes.

# Add the title

<!-- curl@13 -->
<!-- node@25 -->
<!-- python@26 -->

Set the title of the case, up to 255 characters. Try to make it short and specific.

# Provide details of your issue

<!-- curl@14 -->
<!-- node@26 -->
<!-- python@27 -->

Specify the issue with the Security service.

# Add customer's support ticket

<!-- curl@15 -->
<!-- node@27 -->
<!-- python@28 -->

Optionally, specify the unique identifier for a customer's support ticket provisioned separately.

# Add an alternate contact

<!-- curl@16-21 -->
<!-- node@28-33 -->
<!-- python@29-34 -->

Provide `name`, `email`, `phone`, and `company` of a person for the support team to contact, if you're unavailable.

# Add email addresses to notify

<!-- curl@22-25 -->
<!-- node@34 -->
<!-- python@35-38 -->

Optionally, add a list of email addresses to send notifications about update notifications.

# Call the API

<!-- curl@1-100 -->
<!-- node@1-100 -->
<!-- python@1-100 -->

Call POST on the request URL, providing the object in the body of the request.

# Review the response



The response returns 201 status and details of the created case including its `caseId`. You can use it to GET the case later or to add a [comment](https://techdocs.akamai.com/case-mgmt/reference/post-comments) or [a file](https://techdocs.akamai.com/case-mgmt/reference/post-attachments) to the case.