Service Authentication API
Generate access token using API secret Key
post
Header parameters
X-Api-Secret-KeystringRequired
Provide Api Secret key to get access token
OriginstringOptional
Origin as you set in application cors
Responses
200
AccessToken generated
application/json
access_tokenstringRequiredExample:
accessToken
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6IjRkNjhmMjNmLTcwZjQtNDFhZC1hMGViLTU3MjA4YTZlOTcxMSIsImFwcFNlY3JldCI6IjNjN2NiNTY1LTZmNWQtNGY2MC1hMjQ2LTZhOGFjYWVhMmY0MyIsImdyYW50VHlwZSI6ImNsaWVudF9jcmVkZW50aWFscyIsImlhdCI6MTY3NDAyMDY3NCwiZXhwIjoxNjc0MDM1MDc0fQ.P-AbheTJMxQNGLTkGWOsnct4M0nKCd-7oUFGqMCpIDMtokenTypestringRequiredExample:
Type of token
BearerexpiresInnumberRequiredExample:
Token expiry time
14400400
Error occured at the time of generating access token
application/json
401
Unauthorized
application/json
post
/api/v1/app/oauthLast updated