authentication

Generate a token for usage with authenticating via OAuth2 in subsequent API calls.

Generate a token

post/token

Request

  • Base URL
    https://{tenant_name}.benchling.com/api/v2
  • Auth
    HTTP bearer

Request body

client_idstring

ID of client to request token for. Leave off if client ID and secret are being supplied through Authorization header.

client_secretstring

Leave off if client ID and secret are being supplied through Authorization header.

grant_type'client_credentials' required

Response

Generated token

access_tokenstring
expires_ininteger

Number of seconds that token is valid for

token_type'Bearer'

Changes

No recorded changes to this operation across all 1 revision of this API.