Download OpenAPI specification:
User profiles, consent management, device tokens and login audit
Create or update a user (client or therapist) in the Kana platform. This is the core user onboarding endpoint — use it to register clients into Kana when they sign up through your platform. Kana automatically handles consent setup, therapist-client linking, and org membership based on the user's role and invitation status.
Use this when:
POST — Creates (or updates) the user profile. Behavior adapts based on whether the user was invited by a therapist or is self-registering.
Returns: userid (Kana's internal user ID), is_org_admin flag, and signup_time.
| userloginname | string or null <= 255 characters |
| role | string or null <= 255 characters |
| firstName | string or null <= 255 characters |
| lastName | string or null <= 255 characters |
| emailid | string or null <email> <= 255 characters |
| gender | string or null <= 255 characters |
| phoneNumber | string or null <= 20 characters |
| dob | string or null <date> |
| image required | string |
| timezone | string or null <= 155 characters |
required | Array of objects (Address) |
| loginid | string or null <= 255 characters |
| orgid | integer or null |
| npi | string or null <= 128 characters |
| is_org_admin | boolean or null Default: false |
{- "userloginname": "string",
- "role": "string",
- "firstName": "string",
- "lastName": "string",
- "emailid": "user@example.com",
- "gender": "string",
- "phoneNumber": "string",
- "dob": "2019-08-24",
- "image": "string",
- "timezone": "string",
- "address": [
- {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zipcode": "string"
}
], - "loginid": "string",
- "orgid": 0,
- "npi": "string",
- "is_org_admin": false
}{- "userid": 0
}Create or update a user (client or therapist) in the Kana platform. This is the core user onboarding endpoint — use it to register clients into Kana when they sign up through your platform. Kana automatically handles consent setup, therapist-client linking, and org membership based on the user's role and invitation status.
Use this when:
POST — Creates (or updates) the user profile. Behavior adapts based on whether the user was invited by a therapist or is self-registering.
Returns: userid (Kana's internal user ID), is_org_admin flag, and signup_time.
| userid required | integer A unique integer value identifying this users. |
Retrieve a consolidated summary of a client's recent clinical activity — including when they last completed assessments, logged a mood, wrote a journal, and what goals are coming due. Use this as a single "status check" endpoint to understand a client's engagement and trigger follow-up actions.
Use this when:
Response includes:
screen_gad7_logdate / screen_phq9_logdate: Last GAD-7 / PHQ-9 screening datejournal_logdate: Most recent journal entry timestampmood_logdate: Most recent mood log timestampgoaltracking: Incomplete goals due within the last 10 days, grouped by daterecommendation: Latest pending AI recommendations for the clientchat: Start time of the most recent AI conversation sessionGET /{userid}/ — Returns the activity status for the specified client.
Retrieve a consolidated summary of a client's recent clinical activity — including when they last completed assessments, logged a mood, wrote a journal, and what goals are coming due. Use this as a single "status check" endpoint to understand a client's engagement and trigger follow-up actions.
Use this when:
Response includes:
screen_gad7_logdate / screen_phq9_logdate: Last GAD-7 / PHQ-9 screening datejournal_logdate: Most recent journal entry timestampmood_logdate: Most recent mood log timestampgoaltracking: Incomplete goals due within the last 10 days, grouped by daterecommendation: Latest pending AI recommendations for the clientchat: Start time of the most recent AI conversation sessionGET /{userid}/ — Returns the activity status for the specified client.
| id required | string |
Retrieve the full profile for a client or therapist by their Kana user ID. Returns core profile information (name, email, role, demographics) along with their therapist-client relationship status if one exists.
Use this when:
GET /{userid}/ — Returns the user's profile, enriched with therapist relationship fields (is_profile_active, invite_sent).
Retrieve the full profile for a client or therapist by their Kana user ID. Returns core profile information (name, email, role, demographics) along with their therapist-client relationship status if one exists.
Use this when:
GET /{userid}/ — Returns the user's profile, enriched with therapist relationship fields (is_profile_active, invite_sent).
| userid required | integer A unique integer value identifying this users. |