Authentication

For all requests to our API with Bearer, first add the Bearer word followed by a space

Authorization: Bearer {YOUR_API_KEY}.

Get a paginated list of inboxes for an installation (based on user permissions) example using Curl:

curl -i https://{yourSiteName}.teamwork.com/desk/api/v2/inboxes.json -H "Authorization: Bearer {YOUR_API_KEY}"

In order to use OAuth 2.0, you will need to register your app using our Developer Portal. Here you can generate client ID and secret in order to implement App Login Flow.

Once you successfully implement OAuth 2.0 using the app details from our Developer Portal, you can simply make requests using the Authorization header, but using a bearer token rather than passing in your API key with basic authentication.

Remember to include the token in the Authorization header of your API requests.

For all requests to our API with OAuth 2.0, send the token in the Authorization header;

e.g. Authorization: Bearer {token}.

Get a paginated list of tickets (based on user permissions) example using Curl:

curl -i https://{yourSiteName}.teamwork.com/desk/api/v2/tickets.json -H "Authorization: Bearer {token}"

Feedback

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