Skip to main content
POST
/
api
/
public
/
helpdesk
/
messages

Create Help Desk Message

Submits a new support ticket to the help desk. The message is assigned to the operator’s configured department or default queue.

Authentication

Requires a valid customer bearer token.

Request Body

Subject
string
required
Subject line for the support ticket.
MessageText
string
required
Full description of the issue or request.
DepartmentId
number
Optional department ID to route the ticket. See the departments endpoint.

Response

Returns a 200 OK on success with the created message details.

Examples

Create a ticket

POST /api/public/helpdesk/messages
Authorization: Bearer {token}
Content-Type: application/json

{
  "Subject": "Wi-Fi not working",
  "MessageText": "The Wi-Fi on the 2nd floor has been down since this morning.",
  "DepartmentId": 3
}

TypeScript Integration

import endpoints from '@/api/endpoints'

await httpClient.post(endpoints.helpDesk.create, {
  Subject: 'Wi-Fi not working',
  MessageText: 'The Wi-Fi on the 2nd floor has been down since this morning.',
  DepartmentId: 3,
})