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"
}
}Appends a conversation message to a ticket.
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"
}
}Bearer authentication using an access token. Format: Bearer <access_token>
Ticket ID.
A successful response.
AppendTicketMessageResponse is the response after appending a message.
Ticket represents a support case.
Show child attributes