Skip to main content
POST
/
comments
Create a comment for a ticket
curl --request POST \
  --url https://{your-workspace}.neetodesk.com/api/v1/public/comments \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "ticket_number": "53",
  "author_email": "lenor@example.com",
  "content": "We are looking into the issue.",
  "comment_type": "note"
}'
{
  "notice_code": "<string>"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Body

application/json
ticket_number
string
required

Number of the ticket for the comment. Refer to Method 2 in the Getting Ticket ID section for instructions on how to find this number.

Example:

"53"

author_email
string
required

Email address of the person creating the comment.

Example:

"lenor@example.com"

content
string
required

Content for the comment.

Example:

"We are looking into the issue."

comment_type
enum<string>

The type of the comment. Defaults to reply.

Available options:
reply,
note
Example:

"note"

Response

200 - application/json

OK - Request succeeded

notice_code
string
I