Choose and implement 2-legged vs 3-legged OAuth for an Autodesk Platform Services (APS) app

domain: aps.autodesk.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Use 2-legged (Client Credentials): POST /authentication/v2/token with grant_type=client_credentials and Basic auth of client_id:client_secret for server-to-server apps with no specific user context
  2. Use 3-legged (Authorization Code, optionally with PKCE): GET /authentication/v2/authorize with client_id, response_type=code, redirect_uri, scope, then POST /authentication/v2/token with grant_type=authorization_code
  3. Request only the minimum scopes needed (data:read, data:write, account:read, etc.); the scope string is capped at 2000 characters / 50 scopes
  4. Refresh 3-legged tokens with grant_type=refresh_token before the 60-minute access token expires; refresh tokens last 15 days
  5. For ACC/BIM 360 endpoints that support impersonation with a 2-legged token, add a User-Id header identifying the acting user (the app must be granted access to that user by an admin)

Known gotchas

Related routes

manage submittal items, specs, and custom identifiers in an autodesk construction cloud project via the acc submittals api
aps.autodesk.com · 6 steps · unrated
Migrate a Tripleseat integration from OAuth 1.0 to OAuth 2.0
api.tripleseat.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans