POST
/api/public/v1/tickets/{ticketId}/comments

Add a comment to a ticket

Post a new comment on a ticket as the calling employee.

Path Parameters

NameTypeRequiredDescription
ticketIdstring
Required
Ticket ID.

Request Body

PropertyTypeDescription
textstringComment text.
POSTExample request
curl
curl -X POST "https://www.pxb.app/api/public/v1/tickets/{ticketId}/comments" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Picking this up now."
  }'
200Example response
json
{
  "message": "Comment added successfully!",
  "content": {
    "comment": {
      "id": "cmt_1"
    }
  }
}