First, all requests made from external services will need an API key. To get a key log into your Teamwork Desk site and click your avatar on the bottom left of the app
Choose "My Profile" and on the left you will see a navigation option for "API Keys"
From there you can create a new API key for use in your application. You can add or remove API keys at any time.
Now, open any web browser and browse to https://[your_site]/desk/v1/inboxes.json
Now a dialog should appear asking for your username and password. Paste your API key from step 1 into the username field and hit "OK". (Any password will do). That's it, you will now be looking at the full list of inboxes (that you have permissions to see) in JSON format.
ETags are cool. They save bandwidth and are easy to implement. Most calls back from our API include header named
etag. When you make your next GET call to the API, send this etag up in a Request Header called