Developer API Documentation


System-Wide POST Endpoints

Only Administrator users have access to System-Wide POST Endpoints. Be sure to use an administrator’s API Key in the following examples. Personal POST Endpoints can be used by any support agent.

All POST Endpoints should be pointed to the following URL:

https://api.ticksy.com/v1/DOMAIN/KEY/

Close a Ticket

// PHP Example Using the TicksyAPI Class

define('TICKSY_DOMAIN','DOMAIN');
define('TICKSY_KEY','KEY');
$post_vars = array(
  'action' => 'close_ticket',
  'ticket_id' => 123456
);

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

Open a Ticket

// PHP Example Using the TicksyAPI Class

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

$post_vars = array(
   'action' => 'open_ticket',
   'ticket_id' => 123456
);

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

Mark Ticket as Read (doesn’t need a response)

// PHP Example Using the TicksyAPI Class

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

$post_vars = array(
   'action' => 'mark_as_read',
   'ticket_id' => 123456
);

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

Mark Ticket as Unread (needs a response)

// PHP Example Using the TicksyAPI Class

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

$post_vars = array(
   'action' => 'mark_as_unread',
   'ticket_id' => 123456
);

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

Star a Ticket

// PHP Example Using the TicksyAPI Class

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

$post_vars = array(
   'action' => 'star_ticket',
   'ticket_id' => 123456
);

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

Un-Star a Ticket

// PHP Example Using the TicksyAPI Class

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

$post_vars = array(
   'action' => 'unstar_ticket',
   'ticket_id' => 123456
);

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

Create a new customer account

// PHP Example Using the TicksyAPI Class

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

$post_vars = array(
  'action' => 'new_customer',
  'first_name' => 'New Customer',
  'email_address' => '[email protected]',
  'password' => 'NewCustomerPwd'
);

$ticksyAPI = new TicksyAPI();
$url = 'https://api.ticksy.com/v1/'.TICKSY_DOMAIN.'/'.TICKSY_KEY.'/';
$result = json_decode($ticksyAPI->ticksy_api_post($url,$post_vars),true);
Manage Cookies
Ticksy
We use cookies to improve your online experience, analyse how our site is performing and offer personalised ads and content.

 

Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they as essential for the working of basic functionalities of the website.

We also use third-party cookies that help us analyze and understand how you use this website, and provide them with content and advertisements that are relevant to you. These cookies will only be stored on your browser with your consent, and you also have the option to opt-out of these cookies below.
Necessary Cookies

Necessary cookies are crucial for the basic functions of the website and the website will not work in its intended way without them. These cookies do not store any personally identifiable data.

Third Party

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.