oauth
Generate a token
Generate a token for usage with authenticating via OAuth2 in subsequent API calls.
Supports the following grant types:
- client_credentials — exchange client ID and secret for an access token.
- authorization_code — exchange an authorization code (from the OAuth2 authorize flow) for an access token and refresh token. Requires code, redirect_uri, and optionally code_verifier (for PKCE) and state.
- refresh_token — exchange a refresh token for a new access token and refresh token.
Note: This endpoint is available at the absolute URL /oauth/token (not relative to the versioned API base path).
post/oauth/token
Request
- Base URLhttps://{tenant_name}.benchling.com
- AuthHTTP bearer
Request body
Response
Generated token
Changes
No recorded changes to this operation across all 1 revision of this API.