Profile
Retrieve your MisarBlog creator profile.
Profile
Get Your Profile
GET /me
Returns the authenticated creator's public profile data.
Response
200 OK
{
"id": "uuid",
"username": "johndoe",
"display_name": "John Doe",
"bio": "Writing about web development and AI.",
"avatar_url": "https://supabase-blog.misar.io/storage/v1/object/public/avatars/johndoe.jpg",
"website": "https://johndoe.com",
"follower_count": 842,
"article_count": 37,
"created_at": "2025-01-15T10:00:00Z"
}
| Field | Type | Description |
|-------|------|-------------|
| id | string | Your internal creator ID (UUID) |
| username | string | Your public username — used in /@username URLs |
| display_name | string | null | Your display name, if set |
| bio | string | null | Profile bio |
| avatar_url | string | null | CDN URL of your avatar image |
| website | string | null | Your personal website URL |
| follower_count | integer | Number of followers |
| article_count | integer | Number of published articles |
| created_at | string | ISO 8601 timestamp of account creation |
Example
curl https://api.misar.io/blog/v1/me \
-H "Authorization: Bearer mbk_YOUR_KEY"
const res = await fetch("https://api.misar.io/blog/v1/me", {
headers: { Authorization: `Bearer ${process.env.MISARBLOG_API_KEY}` },
});
const profile = await res.json();
console.log(profile.username); // "johndoe"
Errors
| Status | Description |
|--------|-------------|
| 401 | Invalid or missing API key |