Add a private note to a ticket
happyfox_add_private_noteAdd an internal note (never sent to the contact), optionally alerting agents and changing status, priority, assignee, due date or tags. HappyFox: POST /api/1.1/json/ticket//staff_pvtnote/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Note in HTML. | |
| tags | No | Tags to set, as a comma-separated string. | |
| alert | No | Send a private alert: `s` = all subscribers, `c` = all agents in the ticket's category, or an agent id. | |
| staff | Yes | The agent adding the note (happyfox_list_staff) id. | |
| status | No | New status id (happyfox_list_statuses). | |
| assignee | No | Agent id to assign the ticket to (from happyfox_list_staff); null to unassign. | |
| due_date | No | Due date, yyyy-mm-dd or dd/mm/yyyy. | |
| priority | No | New priority id (happyfox_list_priorities). | |
| plaintext | No | Note in plain text. | |
| time_spent | No | Minutes to add to the ticket's time spent (some categories require it). | |
| custom_fields | No | Custom field values keyed "t-cf-<id>". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. | |
| ticket_number | Yes | The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id. |