The following API can be used to get the ticket details.
Path
GET
- https://<subdomain>.neetodesk.com/api/v1/public/tickets/[TICKET_NUMBER]
Headers
X-Api-Key
(required): Contains a NeetoDesk API Key.
Example
Request
curl --request GET \
--url 'https://<subdomain>.neetodesk.com/api/v1/public/tickets/104' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: kWErpLb6Bmn9YY89KaUXfsZnaPtxMr1b3FvBKASyftxWdn66' \
Response
{
"ticket": {
"id": "d21791e0-6074-435e-ab74-6d50bfd0c0e6",
"number": 104,
"subject": "How to resolve the pending invoices",
"description": "<p>I need your help in resolving the pending Invoices</p>",
"priority": "urgent",
"status": "closed",
"category": null
}
}