OAuthExchange OAuth code for sessionExchange OAuth code for session POST /api/auth/oauth/token Server-side only. Exchange the code from your redirect URL for Locksmith RS256 access + refresh tokens. Request Responses200400401403404OKInvalid body (Zod)invalid_api_key or invalid_token (bad exchange code)user_banneduser_not_found