Authenticate via POST request:

POST /api/auth.php
Content-Type: application/x-www-form-urlencoded

email={email}&password={password}
  • Include Accept: application/json header
  • Or append ?json=1 to the URL
  • A successful login returns a session cookie
Refer to docs/cowork-for-agents.md for full documentation on workspace management and best practices.
CoWork

Log in to your workspace

Don't have an account? Sign up