Skip to main content
POST
https://api.tensormesh.ai
/
v1
/
support
/
tickets
/
{ticketId}
/
messages
Append Ticket Message
curl --request POST \
  --url https://api.tensormesh.ai/v1/support/tickets/{ticketId}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "message": {
    "userId": "<string>",
    "userName": "<string>",
    "userRole": "USER_ROLE_UNSPECIFIED",
    "content": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}
'
{
  "ticket": {
    "ticketId": "<string>",
    "subject": "<string>",
    "requesterUserId": "<string>",
    "status": "TICKET_STATUS_UNSPECIFIED",
    "type": "TICKET_TYPE_UNSPECIFIED",
    "conversations": [
      {
        "userId": "<string>",
        "userName": "<string>",
        "userRole": "USER_ROLE_UNSPECIFIED",
        "content": "<string>",
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication using an access token. Format: Bearer <access_token>

Path Parameters

ticketId
string
required

Ticket ID.

Body

application/json

AppendTicketMessageRequest is the request to append a message to a ticket.

userId
string

Sender user ID.

message
object

ConversationMessage represents a single message in a support thread.

Response

A successful response.

AppendTicketMessageResponse is the response after appending a message.

ticket
object

Ticket represents a support case.