Add Message to Issue
POST https://api.helpshift.com/v1/{{domain}}/issues/{{issue_id}}/messages
Add message to an issue. Can be used to add a message on behalf of a particular agent. The default behavior is to add the message as the API Bot user.
Request Body
[{"name"=>"message-body", "value"=>"{{$randomPhrase}}\n\nThis message was added via the Helpshift API.", "datatype"=>"string"}, {"name"=>"message-type", "value"=>"Text", "datatype"=>"string"}, {"name"=>"attachment", "value"=>nil, "datatype"=>"null"}, {"name"=>"attachments", "value"=>nil, "datatype"=>"null"}, {"name"=>"agent-id", "value"=>"{{agent_id}}", "datatype"=>"string"}]
RESPONSES
status: Created
{"added-message":{"body":"You can't input the array without compressing the back-end SCSI feed!\n\nThis message was added via the Helpshift API.\n","type":"Text"}}