Onboarding & Account
3 endpoints in this category.
POST
/complete-onboardingComplete Onboarding
Submit onboarding data (discipline, license info, organization preference). Clears the needs_onboarding flag.
Authentication:Required —
Authorization: Bearer <token>Request Body
| Name | Type | Required | Description |
|---|---|---|---|
discipline | string | Yes | Clinical discipline (PT, OT, SLP, RN, etc.) |
license_number | string | No | Professional license number |
license_state | string | No | State of licensure |
organization_uuid | string | No | Organization to join (optional) |
Error Codes
| Status | Meaning |
|---|---|
401 | Invalid or expired token |
422 | Invalid discipline |
Code Examples
curl -X POST 'https://visitnote-api-production.up.railway.app/api/therapist/v1/complete-onboarding' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"discipline": "your_discipline",
"license_number": "your_license_number",
"license_state": "your_license_state",
"organization_uuid": "your_organization_uuid"
}'POST
/delete-accountDelete Account
Permanently delete the authenticated user's account. Requires password confirmation.
Authentication:Required —
Authorization: Bearer <token>Request Body
| Name | Type | Required | Description |
|---|---|---|---|
password | string | Yes | Current password for confirmation |
Error Codes
| Status | Meaning |
|---|---|
401 | Invalid password |
Code Examples
curl -X POST 'https://visitnote-api-production.up.railway.app/api/therapist/v1/delete-account' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"password": "your_password"
}'POST
/logoutLogout
Invalidate the current JWT token on the server.
Authentication:Required —
Authorization: Bearer <token>Error Codes
| Status | Meaning |
|---|---|
401 | Token already expired |
Code Examples
curl -X POST 'https://visitnote-api-production.up.railway.app/api/therapist/v1/logout' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN'Sign in to access API docs
Full API reference is available to VisitNote subscribers.
Don't have an account? Start free trial