Teamwork Desk API

Welcome to the Teamwork Desk API, your gateway to seamless integration with our platform.

Our API provides access to a wide range of resources and functionalities, empowering developers to build innovative applications and unlock new possibilities.

Once your authenticated your all set! You can send GET/POST/PUT/DELETE requests to the API now. The code sample on the right, will allow you to get a paginated list of tickets

Feedback

If you have any feedback or suggestions, feel free to contact us at api@teamwork.com

Get all tickets created after specified date with filter

GET
/desk/api/v2/tickets.json
import http.client

conn = http.client.HTTPSConnection("{yourSiteName}.teamwork.com")
payload = ''
headers = {
  'Authorization': 'Bearer {{APIKEY}}'
}
conn.request("GET", "/desk/api/v2/tickets.json?filter=%7B%22createdAt%22:%20%7B%22$gt%22:%20%222023-01-01%22%7D%7D", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))