POST
/
v1
/
cases
curl --location --request POST 'https://api.stateset.com/v1/cases' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
    "caseName": "Network Connectivity Issue",
    "description": "Customer unable to connect to WiFi",
    "priority": "high",
    "submitter": "user_123"
}'
{
  "id": "case_001",
  "caseName": "Network Connectivity Issue",
  "description": "Customer unable to connect to WiFi",
  "caseNumber": "CASE-20240101-001",
  "caseStatus": "new",
  "priority": "high",
  "submitter": "user_123",
  "resolver": null,
  "createdDate": "2024-01-01T12:00:00Z",
  "updatedDate": "2024-01-01T12:00:00Z"
}
This endpoint requires authentication with cases:write permission.

Request Parameters

caseName
string
required
The name or title of the case
description
string
required
Detailed description of the case or issue
caseNumber
string
Optional custom case number (auto-generated if not provided)
caseStatus
string
default:"new"
Initial status of the case. Options: new, in_progress, resolved, closed
priority
string
default:"medium"
Priority level. Options: low, medium, high, urgent
submitter
string
required
ID or name of the person submitting the case
resolver
string
ID or name of the assigned resolver (can be assigned later)

Response

id
string
Unique identifier for the newly created case
caseName
string
The name or title of the case
description
string
Detailed description of the case
caseNumber
string
Assigned case number
caseStatus
string
Current status of the case
priority
string
Priority level of the case
submitter
string
Submitter of the case
resolver
string
Assigned resolver (if any)
createdDate
string
Timestamp when the case was created
updatedDate
string
Timestamp when the case was last updated
curl --location --request POST 'https://api.stateset.com/v1/cases' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
    "caseName": "Network Connectivity Issue",
    "description": "Customer unable to connect to WiFi",
    "priority": "high",
    "submitter": "user_123"
}'
{
  "id": "case_001",
  "caseName": "Network Connectivity Issue",
  "description": "Customer unable to connect to WiFi",
  "caseNumber": "CASE-20240101-001",
  "caseStatus": "new",
  "priority": "high",
  "submitter": "user_123",
  "resolver": null,
  "createdDate": "2024-01-01T12:00:00Z",
  "updatedDate": "2024-01-01T12:00:00Z"
}