Recent searches


No recent searches

how to create internal notes

Answered


Posted Sep 27, 2022

Hi All, need your help.
I want to create ticket but the type is internal notes.
What fields that i should sent ?
Thanks.


0

3

3 comments

Hi Anggara

Use Update Ticket Api :

https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#update-ticket

And Json : 

{"ticket": { "comment": { "body": "Internal comment \n Next Line comment", "public": false }}}

Or  :

{"ticket": { "comment": { "html_body": "Internal comment <BR> Next line comment", "public": false }}}

 

"public" : false  do it.

 

 

Serge.

0


Thx All. 
I already use public : false.
But it still display as Public Reply like above.

This is my request : 


{
    "ticket": {
        "subject": "[tes] Cancel Order",
        
        "comment": {
            "body": "tes aja ini lagi",
             "public": false
            
        },
        "custom_fields": [
            {
                "id": 360027861593,
                "value": "tes"
            },
            {
                "id": 360027811414,
                "value": "seller"
            },
            {
                "id": 360027866734,
                "value": "AWB Number"
            },
            {
                "id": 360027852353,
                "value": "request_cancel_order"
            }

        ]
    }
}

0


Sorry I mean how to make it as internal notes : 

Thanks.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post