Helpdesk API

List, create and update tickets and add comments.

  • Reference
  • 2 min read
  • Updated 13 November 2026
View as Markdown

Helpdesk endpoints are under /api/helpdesk. They need the Authorization and X-Organization-Id headers.

#List tickets

Request
curl "https://api.aozo.in/api/helpdesk/tickets?status=OPEN" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Organization-Id: $ORG"

Each ticket includes its creator, agent and customer, and a count of comments. Non-admin users see the tickets they created or are assigned.

#Create a ticket

Request
curl -X POST https://api.aozo.in/api/helpdesk/tickets \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Organization-Id: $ORG" \
  -H "Content-Type: application/json" \
  -d '{ "subject": "Delivery address change", "description": "Please update the address on order 2047.", "priority": "HIGH", "email": "orders@example.com" }'
Note

Ticket creation returns 403 if your plan’s ticket limit is reached. A ticket from a blocked sender, or a duplicate of one in the last 7 days, is marked as spam.

#Add a comment

Body for POST /api/helpdesk/tickets/:id/comments
{ "content": "We have updated the address and will ship today.", "isInternal": false }

Set isInternal to true for a note only your team can see.