Authentication
Beta uses the OAuth2 client-credentials grant type to authenticate access to secure resources.
Last updated
{
"access_token": "ghjdfknrgkdFGHJBKnlefwkbjvbfmsdfdvsjhdbGCFGHJBK",
"expires_in": 86400,
"token_type": "Bearer",
"refresh_token": "dg4yu53mvyui24nmvdyui248934m245m65o3245657676gdkd",
}{
"ERROR"
}{
"ERROR": "access_denied"
"error_description": "Unauthorized"
}curl -X 'POST' \
'https://live.betaapp.com/v1/auth/token' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"client_id": "7DFGaTDiBailk...Lb7A",
"client_secret": "mM398fj-A9Me9dlkszP...Myd3-eJWQ"
}'{
"access_token":"Mn37fJgGciOiJSm3Isd7kjFnR5cCI6IsdFFkbCIsImtp..."
"expiration":86400
} {
"status": "Success",
} {
"ERROR"
}{
"ERROR": "access_denied"
"error_description": "Unauthorized"
}curl -X 'POST' \
'https://live.betaapp.com/v1/auth/revoke' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"client_id": "7DFGaTDiBailk...Lb7A",
"client_secret": "mM398fj-A9Me9dlkszP...Myd3-eJWQ"
}{
"status": "Success"
}