Create case
Description
This service creates a new support or administrative case for the currently logged-in party. It allows for the categorization of the case, setting initial status/resolution, and attaching custom data fields.
Request
Restrictions
Authentication: Requires a successful party login.
Authorization: The touchpoint or operator must be authorized to create cases within the specified category.
Endpoint
POST https://<server-url>/api/v4/casesParameters
Parameter
Location
Description
touchpoint
Query / Header
The identifier for the touchpoint. Use Thalamus-Touchpoint for the header.
token
Query / Header
The authentication token for the API session. Use Thalamus-Token for the header.
Content-Type
Header
Must be application/json.
Request Body
The body defines the case classification and any associated custom data.
Field
Type
Description
categoryCode
String
Required. The code for the case category (e.g., "Reclamo").
typeCode
String
Required. The specific type within the category (e.g., "Telefonico").
status
String
The initial status of the case (e.g., "Created").
resolution
String
The initial resolution state (e.g., "Resolved").
comments
Array
Optional. An array of comment objects to be added upon creation.
caseData
Object
Optional. A dictionary of custom fields (Boolean, Decimal, Number, or Date).
attachements
Array
Optional. An array for file attachments associated with the case.
Note on Date Formats: Custom date fields within
caseDatamust be sent as a Unix timestamp string or in the formatYYYY-MM-DD.
Example Body:
Response
✅ Successful Response: 201 Created
201 CreatedReturns the standard session context and the newly created case object, including its unique ID.
JSON
❌ Unsuccessful Response: 400 Bad Request
400 Bad RequestThe following error codes may be returned in the errors object:
Error Code
Description
CodeRequired
The categoryCode was missing from the request.
InvalidCode
The category or type code is incorrect, or the touchpoint is not authorized to use it.
InvalidName
The provided status or resolution name is invalid.
InitialStatusNotSelected
A valid initial status was not provided.
CategorySystemNode
The category code belongs to a system node and cannot be used for new cases.
Last updated
Was this helpful?
