The id of the ticket in the database. Either $ticketnum or $ticketid is required
Required
message
string
The content of the ticket reply
Required
markdown
boolean
Should markdown be used on the ticket reply output
Optional
contactid
integer
Pass a contactid to associate the ticket reply with a specific contact belonging to $clientid
Optional
name
string
The name to associate with the ticket reply if not an admin or client response
Optional
email
string
The email to associate with the ticket reply if not an admin or client response
Optional
customfields
string
A base64 encoded array of the custom fields to update
Optional
attachments
array
Optional base64 json encoded array of file attachments. Can be the direct output of a multipart-form-data form submission ($_FILES superglobal in PHP) or an array of arrays consisting of both a filename and data keys (see example below).