Login API
Generate authorization token for local user
Generates an authorization token using which you can access fabric APIs. Ensure that you provide valid credentials to get an authorization token.
POST
https://prod01-apigw.{customer_name}.fabric.zone
/
api-identity
/
auth
/
local
/
login
Headers
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}
Body
application/json
Merchant's 10 character copilot account ID
Username or email address of the user who will log in
Password using which you log into fabric copilot UI
Response
200 - application/json
fabric internal ID
Copilot account information
List of available roles for the user
List of available permissions for the user
Refresh token
Access Token. This is the token to consume the copilot APIs.