user

GET /user/list

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

searchstring

Response

stripe_customer_idstring nullable
profitwell_idstring
profitwell_registration_datestring date-time
auth0_idstring
startup_timestring
shutdown_timestring
utc_startup_timestring
utc_shutdown_timestring
break_after_minutesnumber
current_focus_mode_finish_timestring date-time
password_for_settingsstring
is_office_mode_activatedboolean
current_activity_sequence_idstring
current_focus_mode_idstring
current_completing_focus_block_idstring
current_activity_idstring
current_activity_assigned_atstring date-time
last_completed_sequence_idstring
current_completing_sequence_log_idstring
last_completed_sequence_atstring date-time
last_completed_sequence_started_atstring date-time
current_sequence_started_atstring date-time
user_type'STANDARD' | 'ADMIN'
signed_up_via_habit_packstring
signed_up_via_focus_modestring
current_sequence_skipped_activitiesstring[]
timezonestring
iana_timezonestring nullable

The user's explicitly declared IANA zone (for example Australia/Melbourne), or null when unset. Distinct from timezone, which is a device-synced UTC offset continuously overwritten by client settings sync. Written only by PATCH /user/timezone.

has_edited_settingsboolean
cutoff_time_for_non_high_priority_activitiesstring
user_job_detailsstring
user_typical_distractionsstring
habit_themestring nullable

The habit theme chosen during onboarding (e.g. "Elmo"), reused for routine notifications (#2617).

themed_routine_notification_titlesobject nullable

Written once when the theme is saved, so sending a routine notification never calls the AI (#2617).

onboarding_completed_atstring date-time nullable
last_time_stats_updatedstring date-time
last_top_score_refreshed_for_datestring nullable

@brief Last user-local date for which to_do.top_score has been refreshed. @details Stored as a SQL date (no time component) holding the user's local calendar date at the time of the last refresh. The off-thread top-score cron compares this against the user's current local "today" (computed via the stored timezone) and enqueues a recompute job when the local clock has crossed midnight. Updated by the consumer on successful refresh.

last_completed_focus_mode_atstring date-time
morning_routines_streaknumber
evening_routines_streaknumber
focus_modes_streaknumber
micro_breaks_streaknumber
morning_percent_number_day_of_stats_completednumber
evening_percent_number_day_of_stats_completednumber
micro_percent_number_day_of_stats_completednumber
morning_number_days_completednumber
morning_num_days_of_statsnumber
evening_number_days_completednumber
evening_num_days_of_statsnumber
micro_breaks_number_days_completednumber
micro_breaks_num_days_of_statsnumber
focus_modes_number_days_completednumber
focus_modes_num_days_of_statsnumber
num_days_of_statsnumber
number_days_completednumber
has_consented_to_terms_of_serviceboolean
has_consented_to_privacy_policyboolean
long_term_goalsstring[]
verbose_loggingboolean
last_time_user_settings_modifiedstring date-time
usernamestring
has_received_inactivity_warningboolean
languagestring
email_frequency'daily' | 'weekly' | 'monthly' | 'unsubscribed'
feature_flagsstring[]
revenue_cat_statusstring
last_date_revenue_cat_data_syncedstring date-time
last_status_synced_with_profitwellstring
last_date_gave_feedbackstring date-time
is_relax_activity_generatedboolean
is_internal_testerboolean

Set to true when the mobile app reports this install as an internal tester build (see mobile-app#4848). Write-once: only ever flips false -> true so a later production reinstall never demotes a known staff account. Used to keep internal testers out of analytics cohorts even when they use real emails.

internal_tester_source'build_flag' | 'ios_testflight' | 'android_non_play' nullable
sign_up_habit_packUser circular
idstring
created_atstring
updated_atstring

Changes

No recorded changes to this operation across all 1 revision of this API.