Personal POST Endpoints
All Support Agent users have access to Personal POST Endpoints. All POST Endpoints should be pointed to the following URL:
https://api.ticksy.com/v1/DOMAIN/KEY/
Post a Ticket Comment
// PHP Example Using the TicksyAPI Class
define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');
$post_vars = array(
'action' => 'new_ticket_comment',
'private' => 'true', // optional
'ticket_id' => 123456,
'comment' => 'This is a test comment with some <strong>HTML</strong>.',
);
$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);
Post a Ticket Note
// PHP Example Using the TicksyAPI Class
define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');
$post_vars = array(
'action' => 'new_ticket_note',
'ticket_id' => 123456,
'comment' => 'This is a test note with some <strong>HTML</strong>.',
);
$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);
Developer API Documentation