The following API can be used to create comments for the tickets.
Path
POST
- https://<subdomain>.neetodesk.com/api/v1/public/comments
Headers
X-Api-Key
(required): Contains a NeetoDesk API Key.
Parameters
Name |
Description |
---|---|
ticket_number (required) |
Number of the ticket for the comment |
author_email (required) |
Comment author's email |
content (required) |
Content for the comment |
comment_type |
Comment type |
Example
Request
curl --request POST \
--url 'https://<subdomain>.neetodesk.com/api/v1/public/comments' \
--header 'Content-Type: application/json' \
--header 'X-Neeto-Api-Key: <API_KEY>' \
--data '{
"ticket_number": "23",
"author_email": "[email protected]",
"content": "We are looking into the issue."
}'
Response
{
"notice_code": "thumbs_up"
}