API Authentication
2 min
access to the tally platform api is granted by calling okta to obtain an access token this endpoint returns an access token that allows access to all tally platform api services this short lived token will expire (valid for 1 hour), and when this happens, a new token will need to be retrieved from the oauth get token endpoint and cached on the server until it expires again to obtain the access token, the client id and client secret values are sent to okta via base authentication these will be sent to your team for connectivity see below for more details on how to call this service okta authenticationrequest curl request post \ \ url https //phaedon oktapreview\ com/oauth2/auscfbbmiefbggozr1d7/v1/token \ \ header 'accept application/json' \ \ header 'authorization basic mg9h g==' \ \ header 'cache control no cache' \ \ header 'content type application/x www form urlencoded' \ data 'grant type=client credentials\&scope=tpags will be set in postman response { "access token" "eyjhbg\[ ]1lq", "token type" "bearer", "expires in" 3600, "scope" "tpags will be set in postman " }