Profile
Get Profile
Read the full central profile for the acting user.
GET
/io/profileReturns the full profile for the acting user. The user is resolved from the Bearer token, the first-party session cookie, or the ?user_id query param when authenticating with the service key.
Query parameters
user_idstringrequiredThe central user UUID. Required only with service-key auth; ignored for first-party (bearer / cookie) requests, where the user is derived from the session.
The profile_complete flag is computed as Boolean(gender && date_of_birth) — use it to decide whether to hard-gate the user to the completion form.
{
"id": "9f1c2e7a-4b6d-4a8e-9c10-2d3f4a5b6c7d",
"email": "[email protected]",
"username": "alice",
"display_name": "Alice Smith",
"avatar_url": "https://supabase-mail.misar.io/storage/v1/object/public/avatars/9f1c.../avatar.webp",
"gender": "female",
"date_of_birth": "1994-03-21",
"phone": "+1 555 010 2030",
"profile_complete": true
}{
"id": "9f1c2e7a-4b6d-4a8e-9c10-2d3f4a5b6c7d",
"email": "[email protected]",
"username": "bob",
"display_name": "Bob",
"avatar_url": null,
"gender": null,
"date_of_birth": null,
"phone": null,
"profile_complete": false
}{ "error": "Unauthorized" }