# API: Reply to ticket

# addTicketReply

Add reply to ticket as administrator

# Required parameters

Parameter Description
id Ticket number
body Reply message

# Optional parameters

Parameter Description
attachments An array with attachments. Array key is filename and value is base64 encoded file
status_change Set status of ticket post reply to one of valid ticket statuses
replier_id Specify replier id of ticket, either admin or customer id
type Specify replier type, one of: Admin or Client
encrypt Set to 1 to mark as sensitive and encrypt reply body in database
notify_client Custom notify. Send notification to client
notify_cc Custom notify. Send notification to CC
replier_ip IP address of replier

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=addTicketReply&id=ID&body=BODY

# PHP Samples

# Response

{
    "success": true,
    "call": "addTicketReply",
    "server_time": 1317723015,
    "info": [
        "Reply added, ticket status changed to Answered"
    ]
}
Last Updated: 12/4/2023, 3:29:42 PM