Skip to main content
POST
Login

Overview

Authenticates a user and returns a JWT. This method is intended for programmatic clients and is an alternative to browser-based login flows.

Authentication

Sign the request using HMAC-SHA256 with the account password as the key. Signature message:

Headers

Referer
string<uri>
required

Your application's HTTPS URL, for example https://app.example.com/. Include this header on every Agent API request, including backend calls, login, and account creation. Browser clients must use a referrer policy that sends the application origin. See /neuron-api/api-basics#required-referer-header.

Body

application/json
userName
string
required
nonce
string
required
signature
string
required
seconds
integer
required

Response

200 - application/json

Success

jwt
string
required
expires
integer
required

Session expiry as a Unix timestamp in seconds.