T

Teamwork.com API

REST discovered

Details
URL
https://{yourSiteName}.teamwork.com/projects/api/v3
Docs
https://apidocs.teamwork.com/docs/teamwork/
Authentication
Teamwork user API key api_key discovered Get key ↗
Authorization: Basic <credential>

In Teamwork.com, click your avatar, choose "Edit my details", open "API & Mobile", click "Show your token", and copy the Key as described in Getting Started with the Teamwork.com API. For Teamwork.com API requests, send it via HTTP Basic as `Authorization: Basic base64(API_KEY:password) per [Authentication](https://apidocs.teamwork.com/guides/teamwork/authentication#basic-authentication). For Desk and Spaces, the docs show the same key used directly as a bearer token in Authorization: Bearer {YOUR_API_KEY}` in Desk authentication and Spaces authentication.

Teamwork OAuth app credentials oauth2 discovered Set up OAuth ↗
Authorization: Bearer <credential>

Create an app in the Teamwork Developer Portal as described in Developer Portal and Create an App. Sign in at https://{yourSiteName}.teamwork.com/developer or developer.teamwork.com, create an app, select at least one product scope, add redirect URL(s), then open the app's Credentials tab to get client_id, client_secret, and configured redirect_uri. Teamwork's detected public OAuth endpoints are authorize https://www.teamwork.com/launchpad/login, token https://www.teamwork.com/launchpad/v1/token.json, and dynamic client registration https://www.teamwork.com/developer/api/v1/apps/register.json. OAuth scopes documented/detected include projects, desk, spaces, and chat.