Skip to content
Last updated

Authentication

Every API Request to the Digital Distribution Platform APIs will require OAuth Authentication.

Authentication is granted by an Authentication End Point which will return a bearer token to be used in subsequent API requests. Bearer Tokens will have an expiry time.

Request

Message Body
KeyValue
client_id(will be provided to you)
client_secret(will be provided to you)
grant_typeclient_credentials
scope(will be provided to you)
Sample Request
curl --location '<URL to be Provided>' \ 
--header 'Content-Type: application/x-www-form-urlencoded' \ 
--data-urlencode 'client_id=<replace with client ID>' \ 
--data-urlencode 'client_secret=<replace with client secret>' \ 
--data-urlencode 'grant_type=client_credentials' \ 
--data-urlencode 'scope=<replace with scope>'

Response

KeyValue
token_type“Bearer”
expires_inExpiry time in seconds
ext_expires_inExpiry time of extension in seconds
access_tokenAccess token to be used in subsequent requests.