1. Get an account
NKAMA is phone-first. A user signs up by proving a phone number with a one-time code, then setting a password — all pre-authentication:Verify the code
POST /api/v1/registration/otp/{challengeId}/verify with { "code": "123456" } returns a single-use ticket.2. Get an access token
Tokens come from Keycloak, not from NKAMA. Mobile/web clients use the Authorization Code flow with PKCE; see Authentication for the production flow and for how to get a token in scripts.3. Call the API
Send the token as a bearer header:401 means the token is missing/expired; a 403 means the token is valid but lacks the
required role (e.g. listing a property needs the OWNER role — see
Owner onboarding).
Browse every endpoint in the API reference — each operation has a
“Try it” panel that sends the bearer token for you.
