cURL
curl --request POST \ --url https://api.ai2fin.com/api/auth/register \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "SecurePass123!", "firstName": "John", "lastName": "Smith", "businessType": "business", "countryCode": "AU" } '
{ "success": true, "token": "<string>", "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "[email protected]", "firstName": "<string>", "lastName": "<string>", "businessType": "business", "countryCode": "AU", "emailVerified": true } }
Create a new user account with email and password
"[email protected]"
8
"SecurePass123!"
"John"
"Smith"
business
individual
company
trust
"AU"
User registered successfully
Show child attributes