Overview
OAuth API
The OAuth API issues, inspects and revokes the access tokens that every other BetterUp API call carries. Partner integrations authenticate with the OAuth 2.0 client credentials flow, using a client ID and client secret that BetterUp provisions.
How it works
- Exchange the client ID and client secret for a short-lived access token with Request access token.
- Send the token as a bearer token in the
Authorizationheader of every request. - Request a new token when the current one expires. Revoke a token your integration no longer needs.
Introspect token and Token info tell you whether a token is still active, which scopes it carries and when it expires.
The Partner API guides cover where to create credentials, which scopes each resource needs and how to keep the client secret safe.