Using AAI-Core
Start with the module guide to see what each OnceCore workspace does. This page covers the account API.
Accounts
POST /api/account/register creates an account from full_name, email, phone, country (ISO code from GET /api/countries) and password. National phone numbers are converted to international format using the country.
POST /api/account/login takes identifier (email or phone), password and, for phone sign-in, country. It returns a bearer token for the Authorization header.
Verification
POST /api/account/verify/email and /phone confirm a code. POST /api/account/verification/resend requests a new one. Codes are delivered only when email or SMS delivery is configured on the server.
Password
Signed-in users change their password with PUT /api/account/profile, sending current_password and password. Other devices are signed out.
Status
GET /health reports service health.
Help
Questions or problems: business@aai-core.com or the support page.