Add a comment the specified ticket
Scope:
client
or
operator
id
required
The id of the ticket to add a comment to
comment
required
The comment provided
comment_type
required
The comment type as "comment"
notify
optional
Notify customer of comment
visible
optional
Set comment visiblilty to customer
operator_id
required for client scope
The agent id to submit the comment as
message
The response message
status
The system response status. Will be ok or error
curl
example request
1
curl -X POST -d '{"comment":"Test comment","comment_type":"comment"}'
2
-H "Content-Type: application/json"
3
-H "Authorization: Bearer {{Oauth Token}}"
4
https://developer.livehelpnow.net/api/ticket/{{1234567}}/comment
example response
1
{
2
"message"
: "Ticket comment create successful",
3
"status"
: "ok"
4
}