{"version": 1, "page": {"id": "login", "url": "/accounts/login/", "agent_url": "/accounts/login/?next=%2Fchat%2F&format=agent"}, "description": "Sign in with an existing account.", "data": {"authenticated": false, "csrf_token": "2K6tXXFBhexhHf1WvCiBDcsTQmqMDj91kEVeW0rBTgsI7nGsZ8nWqosBk9LNbtVp"}, "instructions": ["Use the same session for GET and POST. Send X-CSRFToken using the current csrf_token.", "Encode fields as the declared form content type; JSON request bodies are not accepted.", "Credentials must be supplied securely by the customer, never collected in chat or echoed in results.", "After authentication, fetch the next page to obtain a token for the new authenticated session."], "links": [{"name": "Agent entry point", "description": "Return to account discovery.", "url": "/?format=agent", "representation": "json"}], "actions": [{"name": "login", "method": "POST", "url": "/accounts/login/?next=%2Fchat%2F&format=agent", "encoding": "application/x-www-form-urlencoded", "headers": {"X-CSRFToken": "Use data.csrf_token"}, "fixed_fields": {"next": "/chat/"}, "fields": {"login": {"label": "Email", "required": true, "type": "email"}, "password": {"label": "Password", "required": true, "type": "password", "sensitive": true}, "remember": {"label": "Remember Me", "required": false, "type": "boolean", "true_value": "on", "false_value": ""}}, "retry": "Do not repeat a successful submission. Follow the returned next step."}]}