Developer API Documentation


System-Wide GET Endpoints

List of all open tickets and their comments (array):

// PHP Example Using the TicksyAPI Class

define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');

$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/open-tickets.json';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);

List of all closed tickets and their comments (array):

// PHP Example Using the TicksyAPI Class

define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');

$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/closed-tickets.json';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);

Everything from a specific ticket (array):

// PHP Example Using the TicksyAPI Class

define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');

$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/ticket.json/123456/';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);

Just the comments from a specific ticket (array):

// PHP Example Using the TicksyAPI Class

define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');

$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/ticket-comments.json/123456/';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);

All responses needed (integer):

// PHP Example Using the TicksyAPI Class

define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');

$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/responses-needed.json';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);