POST

https://prod01-apigw.{customer_name}.fabric.zone

/
api-identity
/
auth
/
local
/
login

Headers

x-site-context
object
required

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
accountId
number

Merchant's 10 character copilot account ID

username
string

Username or email address of the user who will log in

password
string

Password using which you log into fabric copilot UI

Response

200 - application/json
_id
string

fabric internal ID

account
object

Copilot account information

roles
string[]

List of available roles for the user

permissions
string[]

List of available permissions for the user

refreshToken
object

Refresh token

accessToken
object

Access Token. This is the token to consume the copilot APIs.