Get Authentication Token
DevelopingPOST
/oauth/tokenTo generate an authentication token, you need to send a POST request to our OAuth endpoint. This request will authenticate your credentials and return an access token, which you can use to authorize subsequent API requests. Ensure that your credentials are properly encoded and secure during this process.
Request
Header Params
Content-Type
string
required
Example:
application/x-www-form-urlencoded
Authorization
string
required
Basic Authorization token generated using Base64 encoding {clientId}:{clientSecret}
Example:
Basic ZW5rYXNoLWNsaWVudDplbmthc2gtc2VjcmV0
Body Params application/x-www-form-urlencoded
username
string
required
Registered Email Id
Example:
saquib.n+ins@enkash.com
password
string
required
Password for the user
Example:
Password@123
grant_type
string
required
Default:
password
Example:
password
clientId
string
required
Client Id
Example:
CEKFOWV7UQ
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a month ago