Prerequisites
- A Neuron domain (
{host}) issued by your operator - An API key and API secret for that Neuron
- Familiarity with HMAC signing
Overview
Step 1: Check the domain (optional)
Before creating an account, you can retrieve human-readable information about the Neuron domain to present to the user:Step 2: Create the account
Account creation uses HMAC-SHA-256 signing. Compute the signature as:If the requested username is already taken, the error response includes alternative name suggestions you can present to the user.
Step 3: Verify the email address
The Neuron sends a verification code to the email address provided. The account cannot be used until it is verified. Submit the code:Step 4: Log in
Once verified, exchange credentials for a JWT using the same HMAC signing pattern:Authorization: Bearer {token} header for all subsequent requests.
Keeping the session alive
Tokens are valid for up to 3600 seconds. Refresh before expiry:Common pitfalls
- The
noncemust be unique for every signing call — never reuse one. - The
hostused in the HMAC signature must exactly match the Neuron domain. - An unverified account returns errors on most endpoints.
Next steps
- Creating cryptographic keys — required before applying for a Legal Identity.
- Applying for a Legal Identity — create a verified digital identity on the account.