Generates an authorization token using which you can access fabric APIs. Ensure that you provide valid credentials to get an authorization token.
The x-site-context is a JSON object that must contain date, and channel attributes. eg - {"date":"2020-12-12T08:00:00.000Z","channel":12}
Merchant's 10 character copilot account ID
4781348886
Username or email address of the user who will log in
Password using which you log into fabric copilot UI
"joHn@123456789!"
OK
fabric internal ID
"60c3a2c476f9c21239d836ca"
Copilot account information
List of available roles for the user
Role description, such as administrator, manager, and so on
List of available permissions for the user
Permission description
Refresh token
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVC.eyJpZCI6IjYwYzNhMmM0...."
Access Token. This is the token to consume the copilot APIs.
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVC.eyJpZCI6IjYwYzNhMmM0...."