Skip to main content
POST
/
v2
/
tickets
/
{ticket_id}
/
messages
Create Ticket Message
curl --request POST \
  --url https://public.api.serval.com/v2/tickets/{ticket_id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "authorUserId": "<string>",
  "triggerHelpAgent": true
}
'
{
  "data": {
    "messageId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ticket_id
string
required

The ID of the ticket to add a message to.

Body

application/json
message
string

The content of the message.

authorUserId
string

The ID of the user who authored the message.

triggerHelpAgent
boolean | null

Optional. Whether to trigger the AI help agent workflow for this message. Defaults to true. Set to false to suppress the help agent (e.g. when syncing messages from an external system or posting automated replies).

Response

Success

data
data · object