Misar Docs
MisarMailMisar.BlogMisarReachMisarPostMisar.DevMisar PlatformMisar IdentityMisar Posts API

Central Profile

One centralized user profile — name, email, avatar, gender, date of birth, and phone — shared across every Misar product.

The Profile API is the single source of truth for a user's personal details across the Misar ecosystem. MisarMail, MisarReach, and every other Misar product read profile fields — especially the avatar — live from this centralized store instead of stale local auth metadata. Profile edits happen in one place: www.misar.io/account.

What's included:

Base URL

All Profile endpoints are served under:

https://api.misar.io/io/profile

Fields

FieldTypeEditableNotes
idstring (uuid)Central user id
emailstring❌ read-onlyManaged by auth
usernamestring | nullDerived handle
display_namestring | null1–100 chars
avatar_urlstring | nullvia uploadSee Upload Avatar
genderstring | nullOne of male, female, non_binary, prefer_not_to_say, other
date_of_birthstring | nullYYYY-MM-DD; age 13–120
phonestring | nullOptional; 5–30 chars matching [+()\-\s\d]
profile_completebooleantrue when both gender and date_of_birth are set

Mandatory fields

gender and date_of_birth are mandatory. Until both are set, profile_complete is false and products hard-gate the user to the completion form at www.misar.io/account?complete=1&returnTo=….

Authentication

Three auth modes are supported:

ModeHeaderUse case
SSO bearerAuthorization: Bearer <access_token>First-party misar.io UI
Session cookiefirst-party Supabase cookieSame-origin www.misar.io requests
Service keyx-profile-service-key: <key> + ?user_id=<uuid>Server-to-server (MisarMail, MisarReach)

See Authentication for details.