Sign In with Email + Password
auth_loginAuthenticate an Unseen account with email and password, or register a new one when register is true, and return a bearer token plus user details for authorized API calls.
Instructions
Authenticate an existing Unseen account using email and password (or create one if register: true), returning { token: 'utok_...', user } for use in Authorization: Bearer <token> or authToken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name when registering. | |
| Yes | The user's email address. | ||
| password | Yes | Account password (min 8 characters). | |
| register | No | Set to true to register a new Email + Password account if it does not exist yet. |