Get My Blogs
Returns all blog posts belonging to the currently authenticated user. Returns an empty array if the user has no blogs.
Authorization
bearerAuth AuthorizationBearer <token>
User-scoped API key. Pass your key as a Bearer token:
Authorization: Bearer <your_api_key>
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://famous-mongoose-363.convex.site/getMyBlogs"{
"data": [
{
"title": "My First Post",
"slug": "my-first-post",
"content": "string",
"description": "A short intro to the post",
"emoji": "🚀",
"coverImage": "https://cdn.example.com/covers/post.jpg",
"group": {
"title": "Engineering",
"slug": "engineering"
},
"status": "published",
"isPinned": false,
"counter": {
"words": 842,
"characters": 4821
},
"createdAt": 1705329000000,
"updatedAt": 1705415400000
}
]
}{
"error": "Missing Authorization header"
}{
"error": "Use a user API key, not the platform key"
}{
"error": "Rate limit exceeded"
}