You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Sample API requests using Python
print icon


  1. API doc - Read here

  2. How to get API key and Auth Code - Read here


Read Tickets

url = https://<subdomain>
auth = ('<apli_key>','<auth_code>')
res = requests.get(url,auth=auth)


Create a New ticket

import requests
import json
url = https://<subdomain>
auth = ('<apli_key>','<auth_code>')
headers = {'Content-Type': 'application/json'}
payload = {'subject': 'test subject', 'text': 'This is a test ticket', 'category': 1, 'priority': 2, 'email': '', 'name': 'Test Customer'}
res =,auth=auth,data=json.dumps(payload), headers=headers)

5 out of 6 found this helpful

scroll to top icon