1-877-548-3001 Sign in About Contact
Developer

POST

/api/ticket/{id}/comment

Add a comment the specified ticket

Scope:

client

or

operator

Request Parameters

Path

2

id

required

The id of the ticket to add a comment to

Query

A

comment

required

The comment provided

A

comment_type

required

The comment type as "comment"

notify

optional

Notify customer of comment

visible

optional

Set comment visiblilty to customer

Response

Schema

{}

A

message

The response message

A

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 }