cURL
curl --request POST \ --url https://commerceos.aiagents.fabric.inc/platform/v1/auth/login \ --header 'Content-Type: application/json' \ --data ' { "username": "Jane.doe@fabric.inc", "password": "StrongPassword123" } '
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "bearer" }
Authenticates a user and returns a JWT access token.
"Jane.doe@fabric.inc"
"StrongPassword123"
Successful authentication
JWT access token used for authenticated requests.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
"bearer"
Was this page helpful?