Add a comment to an existing RepairShopr ticket
I add a comment to an existing RepairShopr ticket. Can optionally set the comment as hidden (private/internal) and attribute it to a specific technician.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYRequired:
ticketId (integer) - The ticket IDParameters:
subject (string) - Comment subject/titlebody (string) - Comment content (can be plain text or HTML)tech (string) - Technician name (e.g., "Jesus Vargas")user_id (integer) - User ID performing the actionhidden (boolean) - If true, comment is private/internalsms_body (string) - SMS version of commentdo_not_email (boolean) - Prevent email notificationExample call:
const result = await skill({ name: "repairshopr-ticket-comment" }, {
ticketId: 12345,
subject: "Initial Issue",
body: "Customer reports laptop will not power on. Battery not charging.',
tech: "Jesus Vargas",
user_id: 131330,
hidden: false
})
Response includes:
comment object with id, created_at, subject, body, etc.Set hidden: true for:
comment_format parameter is set on ticket, it may affect formattingbodysubject and body are required unless you're only updating specific fields