When to Use OAuth
Register a Client
Twenty supports dynamic client registration per RFC 7591. No manual setup needed — register programmatically:Scopes
Request scopes as a space-separated string:
scope=api profile
Authorization Code Flow
Use this flow when your app acts on behalf of a Twenty user.1. Redirect the user to authorize
The user sees a consent screen and approves or denies access.
2. Handle the callback
After authorization, Twenty redirects back to yourredirect_uri:
state matches what you sent.