# PoweredBy API - Authentication 2.0.0

## Overview

Authentication API used by PoweredBy partners to retrieve an access token to access GL PoweredBy APIs and SDK.

## Changelog

### v2.0.0
- Added `AccessTokenRequestBody` entity to track additional parameters for the `partner` grant flow
- Added support to optionally capture client credentials in the `Authorization` header or as body parameters
- Changed all request and response params to follow OAuth2 standard snake case style

## Servers

- https://{env}.{partner}.gl-tech.io/api/v2

## Operations

### Authentication

- [POST /oauth2/token](https://apis.poweredby.partners.gl-tech.io/api/v1/published/Partnerships/GL-POWEREDBY-API/md/v2/Authentication%20API.json/operations/getAccessToken): Get Access Token

## Schemas

- [AccessToken](https://apis.poweredby.partners.gl-tech.io/api/v1/published/Partnerships/GL-POWEREDBY-API/md/v2/Authentication%20API.json/schemas/AccessToken)
- [AccessTokenBody](https://apis.poweredby.partners.gl-tech.io/api/v1/published/Partnerships/GL-POWEREDBY-API/md/v2/Authentication%20API.json/schemas/AccessTokenBody)
- [AccessTokenHeader](https://apis.poweredby.partners.gl-tech.io/api/v1/published/Partnerships/GL-POWEREDBY-API/md/v2/Authentication%20API.json/schemas/AccessTokenHeader)
- [BaseExceptionResponse](https://apis.poweredby.partners.gl-tech.io/api/v1/published/Partnerships/GL-POWEREDBY-API/md/v2/Authentication%20API.json/schemas/BaseExceptionResponse)

Bundled OpenAPI file: https://apis.poweredby.partners.gl-tech.io/api/v1/published/Partnerships/GL-POWEREDBY-API/bundle/v2/Authentication%20API.json
